I am working on a shop for my brother. I have a clean install but I have an error in my error log and I am not understanding what I need to type to fix it.
I have disabled all extensions.
Open cart version 1.5.6.4
Vqmod version 2.2.1
Error:
PHP Unknown: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/nebraska/public_html/shop/vqmod/vqmod.php on line 313
Here is what is on that line:
$modFilePath = preg_replace('/([^*]+)/e', 'preg_quote("$1", "~")', $modFilePath);
Thank you for any assistance.
Trisha
read this:
http://code.google.com/p/vqmod/issues/detail?id=97
http://translate.google.ch/translate?hl ... eprecated/
http://forum.opencart.com/viewtopic.php?f=22&t=101238
it looks like you need to update your VqMod Version!
Ernie
openshop.li
http://code.google.com/p/vqmod/issues/detail?id=97
http://translate.google.ch/translate?hl ... eprecated/
http://forum.opencart.com/viewtopic.php?f=22&t=101238
it looks like you need to update your VqMod Version!
Ernie
openshop.li
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you so much. I just went ahead and replaced the above code with:
$modFilePath = preg_replace_callback('/([^*]+)/', function ($m) { return preg_quote($m[1], "~"); }, $modFilePath);
And it worked. I had done a search on the error and could not find it. Thanks again. I really appreciate it.
$modFilePath = preg_replace_callback('/([^*]+)/', function ($m) { return preg_quote($m[1], "~"); }, $modFilePath);
And it worked. I had done a search on the error and could not find it. Thanks again. I really appreciate it.
Who is online
Users browsing this forum: No registered users and 1 guest