When attempting to access an admin edit page, the following error appears (and has been showing up off and on for the last 2.5 years across several different sites).
2024/09/19 15:32:44 [error] 42303#42303: *52930 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /srv/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Help/Help.php:73
Stack trace:
#0 /srv/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Help/Help.php(73): json_decode(Array, true)
#1 /srv/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Traits/Helpers/Vue.php(229): AIOSEO\Plugin\Common\Help\Help->getDocs()
#2 /srv/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Traits/Helpers/Vue.php(67): AIOSEO\Plugin\Common\Utils\Helpers->setInitialData()
#3 /srv/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Traits/Helpers/Vue.php(63): AIOSEO\Plugin\Common\Utils\Helpers->getVueData(NULL, NULL, NULL)
#4 /srv/www/wp-content/plugi" while reading response header from upstream, client: *.*.*.*, server: ***, request: "GET /wp-admin/post.php?post=199&action=edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm-wordpress.sock:", host: "***", referrer: "https://***"
Much like my original post, it occurs when WP_DEBUG
is enabled and WP_ENVIRONMENT_TYPE
set to either local
or staging
PHP 8.2.23
AIOSEO Pro 4.7.1.1