PHP 8 compatibility
-
Hi there,
It seems the plugin has some PHP 8 compatibility issues; we got this error (YOP Poll v6.5.24) (I’ve removed some path info due to privacy concerns):
Type E_ERROR on line 49 of file /www/XXXXXX/public/wp-content/plugins/yop-poll/admin/inc/ClassYOPPollWidget.php. Foutmelding: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /www/XXXXXX/public/wp-content/plugins/yop-poll/admin/inc/ClassYOPPollWidget.php:49 Stack trace: #0 /www/XXXXXX/public/wp-content/plugins/siteorigin-panels/inc/admin.php(559): YOP_Poll_Widget->form(Array) #1 /www/XXXXXX/public/wp-includes/class-wp-hook.php(308): SiteOrigin_Panels_Admin->enqueue_admin_scripts('') #2 /www/XXXXXX/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 /www/XXXXXX/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /www/XXXXXX/public/wp-admin/admin-header.php(139): do_action('admin_print_scr...') #5 /www/XXXXXX/public/wp-admin/edit-form-advanced.php(425): require_once('/www/XXXXXX...') #6 /www/XXXXXX/public/wp-admin/post-new.php(75): require('/www/XXXXXX...') #7 {main}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP 8 compatibility’ is closed to new replies.