Critical error after upgrading to 4.13.1
-
Hi,
We upgraded from 4.10.1 to 4.13.1 and this took the site down with:PHP Fatal error: Uncaught Give\Framework\Exceptions\Primitives\InvalidArgumentException: The method __invoke does not exist on Give\Donations\Actions\RegisterDonationEntity in /home/user/example.com/htdocs/wp-content/plugins/give/src/Helpers/Hooks.php:27\nStack trace:\n#0 /home/user/example.com/htdocs/wp-content/plugins/give/src/Donations/ServiceProvider.php(157): Give\Helpers\Hooks::addAction()\n#1 /home/user/example.com/htdocs/wp-content/plugins/give/src/Donations/ServiceProvider.php(59): Give\Donations\ServiceProvider->registerDonationEntity()\n#2 /home/user/example.com/htdocs/wp-content/plugins/give/give.php(385): Give\Donations\ServiceProvider->boot()\n#3 /home/user/example.com/htdocs/wp-content/plugins/give/give.php(298): Give->loadServiceProviders()\n#4 /home/user/example.com/htdocs/wp-includes/class-wp-hook.php(324): Give->init()\n#5 /home/user/example.com/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#6 /…'
This didn’t happen on our staging site which suggests its data-related.
I’ve downgraded to 4.10.1 so that the live site can continue working.
Any help much appreciated.
Thanks.
You must be logged in to reply to this topic.