Same here
[11-Oct-2021 11:59:57 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/www/xxx/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php:284
Stack trace:
#0 /home/www/xxx/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php(284): in_array('5.5', '')
#1 /home/www/xxx/wp-includes/class-wp-hook.php(303): wpcf7_welcome_panel_screen_settings('', Object(WP_Screen))
#2 /home/www/xxx/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
#3 /home/www/xxx/wp-admin/includes/class-wp-screen.php(1019): apply_filters('screen_settings', '', Object(WP_Screen))
#4 /home/www/xxx/wp-admin/includes/class-wp-screen.php(956): WP_Screen->show_screen_options()
#5 /home/www/xxx/wp-admin/admin-header.php(265): WP_Screen->render_screen_meta()
#6 /home/www/xxx/wp-admin/admin.php(239): require_once('/home/www/xxx...')
#7 {main}
thrown in /home/www/xxx/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php on line 284
Yes, I have same issue too this morning with 5.5:
[11-Oct-2021 11:54:09 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/site/public_html/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php:284
-
This reply was modified 4 years, 7 months ago by
grindlay.
Yes, same here. My site went down. I turned back to the previous version and now it is working fine.
For clarification, the forms themselves are working okay, the bug is in the back-end wp-admin. The page for managing CF7 5.5 is returning nothing (unless you have WP_DEBUG set to on)
-
This reply was modified 4 years, 7 months ago by
grindlay.
Grindlay, yes i agree.
So i stay on 5.5 but dont go to the welcome screen of cf7 until its patched
Same here:
:Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in C:\xampp\htdocs\xxx\wp-content\plugins\contact-form-7\admin\includes\welcome-panel.php:284
I only get these errors on my xampp installations which run on PHP 8, on our business site which is on 7.4 (and online) the update worked fine.
Yes, we are on PHP 8.0.11.
I’ve confirmed that setting the account to use PHP 7.4 fixes this issue.
-
This reply was modified 4 years, 7 months ago by
grindlay.