Uncaught TypeError
-
My webhost recently deactivated PHP 7.4 and upgraded to PHP 8.0 or 8.1 (to chose from).
Since then I get the following error with Yoast SEO when it’s activated and I can’t access the plugin control in the backend, the dashboard main site and so on.Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, bool given in /is/htdocs/wp12367075_08C5KTZMZM/www/wp-content/plugins/wordpress-seo-premium/src/actions/indexation/indexable-post-type-archive-indexation-action.php:154 Stack trace: #0 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-content/plugins/wordpress-seo-premium/src/actions/indexation/indexable-post-type-archive-indexation-action.php(154): array_map(Object(Closure), false) #1 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-content/plugins/wordpress-seo-premium/src/actions/indexation/indexable-post-type-archive-indexation-action.php(110): Yoast\WP\SEO\Actions\Indexation\Indexable_Post_Type_Archive_Indexation_Action->get_indexed_post_type_archives() #2 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-content/plugins/wordpress-seo-premium/src/actions/indexation/indexable-post-type-archive-indexation-action.php(64): Yoast\WP\SEO\Actions\Indexation\Indexable_Post_Type_Archive_Indexation_Action->get_unindexed_post_type_archives(false) #3 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/indexation-integration.php(246): Yoast\WP\SEO\Actions\Indexation\Indexable_Post_Type_Archive_Indexation_Action->get_total_unindexed() #4 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/indexation-integration.php(132): Yoast\WP\SEO\Integrations\Admin\Indexation_Integration->get_total_unindexed() #5 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Admin\Indexation_Integration->enqueue_scripts('index.php') #6 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #7 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'index.php') #9 /is/htdocs/wp12367075_08C5KTZMZM/www/wp-admin/index.php(137): require_once('/is/htdocs/wp12...') #10 {main} thrown
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Uncaught TypeError’ is closed to new replies.