Problem: When I try to edit a Content Template in the block editor I see a PHP notice and a PHP fatal error:
Notice: register_rest_route was called incorrectly. The REST API route definition for toolset-dynamic-sources/dynamic-sources is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /path/to/site/wp-includes/functions.php on line 5313 Fatal error: Uncaught Error: Call to undefined method WPV_Settings::has_ct_assigned_to_cpt_archive() in /path/to/site/wp-content/plugins/types/vendor/toolset/toolset-common/user-editors/editor/screen/gutenberg/backend.php:753 Stack trace: #0 /path/to/site/wp-content/plugins/types/vendor/toolset/toolset-common/user-editors/editor/screen/gutenberg/backend.php(380): Toolset_User_Editors_Editor_Screen_Gutenberg_Backend->has_cpt_usage() #1 /path/to/site/wp-content/plugins/types/vendor/toolset/toolset-common/user-editors/editor/screen/gutenberg/backend.php(280): Toolset_User_Editors_Editor_Screen_Gutenberg_Backend->add_metaboxes() #2 /path/to/site/wp-includes/class-wp-hook.php(292): Toolset_User_Editors_Editor_Screen_Gutenberg_Backend->register_metaboxes_for_gutenberg_compatibility('') #3 /path/to/site/learn in /path/to/site/wp-content/plugins/types/vendor/toolset/toolset-common/user-editors/editor/screen/gutenberg/backend.php on line 753
Solution: This site had a beta version of Toolset Blocks installed. Update to the latest stable versions of all Toolset plugins to resolve these issues.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 3 years, 6 months ago.
Assisted by: Christian Cox.