[ad_1]
Starting friday, the Yoast SEO and Yoast SEO plugin caused a critical error on our site. The error logging was the following. We were able to fix it by disabling and enabling both plugins, however, after a few hours, the error comes again. How could we fix it?
[Tue Apr 18 17:13:31.452078 2023] [proxy_fcgi:error] [pid 747992:tid 140405928568576] [cli
ent 64.252.137.107:22642] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Type
Error: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /bitn
ami/wordpress/wp-content/plugins/wordpress-seo/src/helpers/pagination-helper.php:72\nStack
trace:\n#0 /bitnami/wordpress/wp-content/plugins/wordpress-seo/src/presentations/archive-
adjacent-trait.php(72): Yoast\\WP\\SEO\\Helpers\\Pagination_Helper->get_paginated_url()\n#
1 /bitnami/wordpress/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentat
ion.php(66): Yoast\\WP\\SEO\\Presentations\\Indexable_Home_Page_Presentation->generate_rel
_next()\n#2 /bitnami/wordpress/wp-content/plugins/wordpress-seo/src/presenters/rel-next-pr
esenter.php(71): Yoast\\WP\\SEO\\Presentations\\Abstract_Presentation->__get()\n#3 /bitnam
i/wordpress/wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-tag-present
er.php(37): Yoast\\WP\\SEO\\Presenters\\Rel_Next_Presenter->get()\n#4 /bitnami/wordpress/w
p-content/plugins/wordpress-seo/src/presenters/rel-next-presenter.php(39): Yoast\\WP\\SEO\
\Presenters...'
