Error with WordPress 5.9
-
Hello,
I’m getting this PHP error with WordPress 5.9 and PHP 8.0
An error of type E_ERROR was caused in line 96 of the file /public/wp-content/plugins/image-sizes/vendor/codexpert/plugin/src/Feature.php. Error message: Uncaught TypeError: array_unshift(): Argument #1 ($array) must be of type array, null given in /public/wp-content/plugins/image-sizes/vendor/codexpert/plugin/src/Feature.php:96
Stack trace:
#0 /public/wp-content/plugins/image-sizes/vendor/codexpert/plugin/src/Feature.php(96): array_unshift()
#1 /public/wp-content/plugins/image-sizes/vendor/codexpert/plugin/src/Feature.php(72): Codexpert\Plugin\Feature->add_to_list()
#2 /public/wp-includes/class-wp-hook.php(307): Codexpert\Plugin\Feature->alter_api_result()
#3 /public/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#4 /web/public/wp-admin/includes/plugin-install.php(234): apply_filters()
#5 /public/wp-admin/includes/ajax-actions.php(4365): plugins_api()
#6 /public/wp-includes/class-wp-hook.php(307): wp_ajax_install_plugin()
#7 /public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#8 /public/wp-includes/plugin.php(474): WP_Hook->do_action()
#9 /public/wp-admin/admin-ajax.php(187): do_action()
#10 {main}
thrown
- The topic ‘Error with WordPress 5.9’ is closed to new replies.