{"id":18733199,"date":"2025-11-26T11:32:36","date_gmt":"2025-11-26T11:32:36","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/critical-error-after-upgrading-to-4-13-1\/"},"modified":"2025-11-26T11:32:36","modified_gmt":"2025-11-26T11:32:36","slug":"critical-error-after-upgrading-to-4-13-1","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/critical-error-after-upgrading-to-4-13-1\/","title":{"rendered":"Critical error after upgrading to 4.13.1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<br \/>We upgraded from 4.10.1 to 4.13.1 and this took the site down with:<br \/><code>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-&gt;registerDonationEntity()\\n#2 \/home\/user\/example.com\/htdocs\/wp-content\/plugins\/give\/give.php(385): Give\\Donations\\ServiceProvider-&gt;boot()\\n#3 \/home\/user\/example.com\/htdocs\/wp-content\/plugins\/give\/give.php(298): Give-&gt;loadServiceProviders()\\n#4 \/home\/user\/example.com\/htdocs\/wp-includes\/class-wp-hook.php(324): Give-&gt;init()\\n#5 \/home\/user\/example.com\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook-&gt;apply_filters()\\n#6 \/\u2026'<\/code><br \/><br \/>This didn&#8217;t happen on our staging site which suggests its data-related.<br \/>I&#8217;ve downgraded to 4.10.1 so that the live site can continue working.<br \/>Any help much appreciated.<br \/>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-18733199","topic","type-topic","status-publish","hentry","topic-tag-critical-error","topic-tag-fatal-error","topic-tag-uncaught-exception"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18733199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18733199\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18733199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}