Thanks for the answers. I have further investigated the error.
Code: Select all
PHP Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in xxx/storage/modification/system/engine/action.php on line 65
I have checked server error logs and it seems that OpenCart's googleshopping extension is causing the problem. Error occurs each time where there is some fetching from feed/gshopping ("GET /index.php?route=extension/feed/gshopping HTTP/1.1" 404 123636 "-" "google-xrawler").
Each day I have about two action.php errors which occurs exactly in the same time when gshopping feed is being checked. In previous post there was a notice that this can be caused by some null values in database oc_googleshopping_product table used by the built in Google Shopping Extension.
I have uninstalled Google Shopping extension and I hope it will fix the error. For those which will use gshopping maybe there can be a check for $value being null before line 65 in action.php?