Jump to content

Contact us form issue


Recommended Posts

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.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...