Hummingbird REST API route errors
-
Hello. I am creating a new thread following this one – https://ww.wp.xz.cn/support/topic/hummingbird-errors/.
I am getting the follow PHP errors on my site. Its a dev site so I have error display enabled. It’s also using the hostings temp url until it does live. That might not be relevant but thought I would mention. Eg Domain is similar to http://101.0.111.1/~mydomain/. Not it is not using https whilst in testing mode.
I am using WordPress 5.5.1 on a PHP 7.4.10 LiteSpeed setup. I have tried changing themes and deactivating plugins but no luck there. The only thing that stops the errors is using Classic Editor. When I enable classic editor the error stops.
Plugins used are Advanced Custom Fields, Classic Editor (to prevent this error), Hummingbird 2.5.1, Smush, a custom plugin that simply sets up a custom post type and Yoast. All plugins up to date.
As a side note, I was also getting errors with Gutenberg saving posts with a “the response is not a valid JSON response” error. Again, might not be the issue but thought it was worth mentioning.
Notice: register_rest_route was called incorrectly. The REST API route definition for hummingbird/v1/status/(?P[\w-]+) 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 /home/mydomain/public_html/wp-includes/functions.php on line 5225 Notice: register_rest_route was called incorrectly. The REST API route definition for hummingbird/v1/clear_cache/(?P[\w-]+) 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 /home/mydomain/public_html/wp-includes/functions.php on line 5225 Notice: register_rest_route was called incorrectly. The REST API route definition for hummingbird/v1/test 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 /home/mydomain/public_html/wp-includes/functions.php on line 5225 Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/public_html/wp-includes/functions.php:5225) in /home/mydomain/public_html/wp-admin/admin-header.php on line 9
The topic ‘Hummingbird REST API route errors’ is closed to new replies.