Dashboard toolset-notice not dismissable
-
Problem:
After upgrading from Types v2.2.8 to v2.2.9, a new admin notice appears at the top of the WordPress Dashboard. When I click on the ‘x’ to dismiss it, nothing happens.More info:
Looking in my network tools, I see a 500 response from the ajax call to admin-ajax.php
The request params are:{ "action": "toolset_admin_notices_manager", "toolset-admin-notice-nonce": "<10-digit code here>", "toolset-admin-notice-action": "toolset-dismissible", "notice-id": "how-to-design-with-toolset" }
In the apache log, I see an error:
AH01071: Got error 'PHP message: PHP Warning: Illegal string offset 'dismissed-notices' in /var/www/test/web/app/plugins/types/library/toolset/toolset-common/utility/admin/notices/manager.php on line 265 PHP message: PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /var/www/test/web/app/plugins/types/library/toolset/toolset-common/utility/admin/notices/manager.php:265 Stack trace: #0 /var/www/test/web/app/plugins/types/library/toolset/toolset-common/utility/admin/notices/manager.php(144): Toolset_Admin_Notices_Manager::dismiss_notice_by_id('how-to-design-w...', false) #1 /var/www/test/web/wp/wp-includes/class-wp-hook.php(298): Toolset_Admin_Notices_Manager::ajax('') #2 /var/www/test/web/wp/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #3 /var/www/test/web/wp/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /var/www/test/web/wp/wp-admin/admin-ajax.php(91): do_action('wp_ajax_toolset...') #5 {main} thrown in /var/www/test/web/app/plugins/types/library/toolset/toolset-common/utility/admin/notices/manager.php on line 265 ', referer: https://test.dev/wp/wp-admin/index.php
This is on Apache 2.4, PHP 7.1
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Dashboard toolset-notice not dismissable’ is closed to new replies.