Uncaught TypeError: array_merge() … in plugin.class.php:207

[ad_1]

Hello. After updating from 4.2.8 to 5.0 the site always crashes when showing single posts (pages and archives works fine). If I disable the addon, all works fine. Updating to latest 5.0.1 doesn’t fix it.

Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, bool given in /XXX/web/wp-content/plugins/autodescription/inc/classes/data/plugin.class.php:207

Stack trace:
#0 /XXX/web/wp-content/plugins/autodescription/inc/classes/data/plugin.class.php(207): array_merge(false, Array)
#1 /XXX/web/wp-content/plugins/autodescription/inc/classes/helper/query/exclusion.class.php(127): The_SEO_Framework\Data\Plugin::update_site_cache('excluded_ids', Array)
#2 /XXX/web/wp-content/plugins/autodescription/inc/classes/front/query.class.php(90): The_SEO_Framework\Helper\Query\Exclusion::get_excluded_ids_from_cache()
#3 /XXX/web/wordpress/wp-includes/class-wp-hook.php(324): The_SEO_Framework\Front\Query::alter_archive_query_in(Object(WP_Query)) #4 /XXX/web/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /XXX/web/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#6 /XXX/web/wordpress/wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array)
#7 /XXX/web/wordpress/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /XXX/web/wordpress/wp-includes/post.php(2452): WP_Query->query(Array)
#9 ...
#10 ...
#11 ...
#12 /XXX/web/wordpress/wp-includes/template.php(790): require_once('/XXX...')
#13 /XXX/web/wordpress/wp-includes/template.php(725): load_template('/XXX...', true, Array)
#14 /XXX/web/wordpress/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#15 ...: get_header()
#16 /XXX/web/wordpress/wp-includes/template-loader.php(106): include('/XXX...')
#17 /XXX/web/wordpress/wp-blog-header.php(19): require_once('/XXX...')
#18 /XXX/web/index.php(17): require('/XXX...')
#19 {main} thrown in /XXX/web/wp-content/plugins/autodescription/inc/classes/data/plugin.class.php on line 207

Thank you for any help.

 

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