WPtouch incompatible with PHP 8.1
-
After upgrading to PHP 8.1 I can no longer access the WPtouch settings page ./wp-admin/admin.php?page=wptouch-admin-general-settings and this E_ERROR is thrown:
Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wordpress/wp-content/plugins/wptouch/core/class-array-iterator.php:12 Stack trace: #0 /wordpress/wp-content/plugins/wptouch/core/admin-custom-icons.php(18): WPtouchArrayIterator->__construct(NULL) #1 /wordpress/wp-content/plugins/wptouch/admin/settings/html/custom_icon_management.php(2): wptouch_have_custom_icons() #2 /wordpress/wp-content/plugins/wptouch/core/admin-load.php(224): include('/homepages/34/d...') #3 /wordpress/wp-content/plugins/wptouch/core/admin-load.php(180): wptouch_admin_render_special_setting(Object(stdClass)) #4 /wordpress/wp-content/plugins/wptouch/core/admin-render.php(171): wptouch_admin_render_setting(Object(stdClass)) #5 /wordpress/wp-content/plugins/wptouch/core/admin-load.php(173): include('/homepages/34/d...') #6 /wordpress/wp-includes/class-wp-hook.php(307): wptouch_admin_render_menu('') #7 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #8 /wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #9 /wordpress/wp-admin/admin.php(259): do_action('toplevel_page_w...') #10 {main} thrownThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘WPtouch incompatible with PHP 8.1’ is closed to new replies.