Automattic / Co-Authors-Plus

Multiple bylines and Guest Authors for WordPress
https://wordpress.org/plugins/co-authors-plus/
GNU General Public License v2.0
291 stars 204 forks source link

PHP Fatal error: Uncaught Error: Call to undefined function CoAuthors\API\use_block_editor_for_post() in /wp-content/plugins/co-authors-plus/php/class-coauthors-endpoint.php:292 #842

Closed bransinanderson closed 2 years ago

bransinanderson commented 2 years ago

Wordpress version 5.9.2 Co-Author-Plus version 3.5

When editing a page entry, located in the sidebar under "Page Attributes". Modifying the value of the pages parent we are receiving Error 500 with xhr request: /wp-json/wp/v2/pages?context=edit&per_page=100&exclude=12345&parent_exclude=12345&orderby=menu_order&order=asc&_fields=id%2Ctitle%2Cparent&_locale=user

Error log PHP Fatal error: Uncaught Error: Call to undefined function CoAuthors\API\use_block_editor_for_post() in /wp-content/plugins/co-authors-plus/php/class-coauthors-endpoint.php:292

Appears to be a name space issue

sebastian-serfe commented 2 years ago

The same here. Thanks

rebeccahum commented 2 years ago

Thanks for reporting. We'll get this fixed out ASAP.