[email protected] Posted August 7, 2023 Share Posted August 7, 2023 I have recently reinstalled cubecart through a new hosting service. Issue is that the "Contact us" always gives the following error : The following errors were detected: There was an error sending your message, please try again. the only error I am getting is the following : [07-Aug-2023 02:27:41 Europe/London] PHP Warning: preg_match() [<a href='http://docs.php.net/manual/en/function.preg-match.php'>function.preg-match.php</a>]: The /e modifier is no longer supported, use preg_replace_callback instead in /home/vol19_1/infinityfree.com/if0_34516567/htdocs/classes/seo.class.php on line 637 I am a bit lost with seo.class.php, it has ; if (preg_match('#^(.*/)?[\w]+.[a-z]+\?_a\=([\w]+)(?:\&(amp;)?([\w\[\]]+)\=([\w\-\_]+)([^"\']*))$#ieS', $path, $match)) { if (in_array($match[2], $this->_static_sections)) { if (!empty($match[4]) && !empty($match[5])) { $match[6] = $match[6].'&'.$match[4].'='.$match[5]; } I am not too sure about any of this really. Thank you for any guidance. Regards, Rick Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 7, 2023 Share Posted August 7, 2023 This issue was fixed in CubeCart 6.2.7 a few years ago. Please see: https://github.com/cubecart/v6/commit/b54b241d2445d927c24682feb35aa7375e01c1a7 Quote Link to comment Share on other sites More sharing options...
[email protected] Posted August 7, 2023 Author Share Posted August 7, 2023 thank you, I remember now. I had some old codes still. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.