fatal error after latest update

[ad_1]

Hi there.

I’m running:

WordPress version 6.4.3
Current theme: Betheme Child (version 2.0)
Current plugin: All in One SEO Pro (version 4.5.9)
PHP version 8.2.16

After attempting to update AIOSEO–which WP tells me is 8 hours overdue–from version 4.5.7.2 to 4.5.9 my site immediately crashes. Not even WP recovery mode is accessible. I’ve managed to restore my site via an older back-up using my host. But any attempts to update to the new version, using PHP 8.1 or 8.2 causes immediate fatal error. Please see error message below:

Error Details
=============
An error of type E_ERROR was caused in line 1672 of the file
/var/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Main/Updates.php.
Error message: Uncaught Error: Call to a member function has() on null
in /var/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Main/Updates.php:1672
Stack trace:
#0 /var/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Main/Updates.php(214):
AIOSEO\Plugin\Common\Main\Updates->deprecateNoPaginationForCanonicalUrlsSetting()
#1 /var/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Main/Updates.php(69):
AIOSEO\Plugin\Common\Main\Updates->runUpdates()
#2 /var/www/wp-includes/class-wp-hook.php(324):
AIOSEO\Plugin\Pro\Main\Updates->runUpdates('')
#3 /var/www/wp-includes/class-wp-hook.php(348):
WP_Hook->apply_filters(NULL, Array)
#4 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /var/www/wp-settings.php(643): do_action('init')
#6 /var/www/wp-config.php(90): require_once('/var/www/wp-set...')
#7 /var/www/wp-load.php(50): require_once('/var/www/wp-con...')
#8 /var/www/wp-admin/admin.php(34): require_once('/var/www/wp-loa...')
#9 /var/www/wp-admin/index.php(10): require_once('/var/www/wp-adm...')
#10 {main}
  thrown

WordPress version 6.4.3
Current theme: Betheme Child (version 2.0)
Current plugin: All in One SEO Pro (version 4.5.9)
PHP version 8.2.16

I’m not sure what any of the error messages mean but I can see that “wp-admin” is listed. Which I should note I removed about two months, and replaced the URL with something private, in my attempt to thwart spam login-attempts via /wp-admin. I’m not sure if this makes a difference, but I’m never had any other issues with AIOSEO in the past. Please advise, thank you.

E.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer