Woocommerce error: Call to undefined function array_replace_recursive()

自闭症网瘾萝莉.ら 提交于 2019-12-24 08:57:20

问题


I have been getting this error since I updated my woocommerce plugin:

Fatal error: Call to undefined function array_replace_recursive()

The errror is on line 586: enter image description here

I have found some solutions in this quote here: Fatal error: Call to undefined function array_replace_recursive() for CI Controller solution

But the problem is that i really do not know what to change in my code or where, in order fot the error to stop popping up. Any help would be greatly appreciated.


回答1:


Check your PHP version. array_replace_recursive only available in PHP >= 5.3.

Reference: array_replace_recursive




回答2:


since I updated my WooCommerce plugin

I suggest you check once by deactivating all plugins except WooCommerce and by activating default WordPress theme. It may be possible that any of your plugin is not compatible with the latest WooCommerce plugin.

Let me know if that doesn't work...



来源:https://stackoverflow.com/questions/43470703/woocommerce-error-call-to-undefined-function-array-replace-recursive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!