Aleksa Camilovic
Aleksa Camilovic

Reputation: 33

Woocommerce error: Call to undefined function array_replace_recursive()

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.

Upvotes: 1

Views: 1512

Answers (2)

WildProgrammers
WildProgrammers

Reputation: 368

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...

Upvotes: 0

aagjalpankaj
aagjalpankaj

Reputation: 1180

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

Reference: array_replace_recursive

Upvotes: 2

Related Questions