Hi @paul0ardmore ,
Could you specify the steps to reproduce the error? What is the version of PublishPress Future that you installed on your site?
Hi Riza,
The error happened when creating a new post/page or custom post type.
Click ‘Add new’ post, page and cpt. Add in content as normal.
The issue happened when clicking ‘Publish’.
Plugin Version is: 4.8.2
Hi,
I’m also experiencing the same issue on my site since I updated PublishPress Future to Version 4.8.2.
> PUBLISHPRESS FUTURE – Post is null or ID is not set, cannot enqueue block editor scripts.
Uncaught TypeError: PublishPress\Future\Modules\Workflows\Rest\RestApiV1::__construct(): Argument #1 ($hooks) must be of type PublishPress\Future\Core\HookableInterface, PublishPress\Future\Modules\Settings\SettingsFacade given, called in wp-content/plugins/post-expirator/src/Modules/Workflows/Rest/RestApiManager.php on line 25 and defined in wp-content/plugins/post-expirator/src/Modules/Workflows/Rest/RestApiV1.php:35
It happens when I open the Customizer or try to edit a post/page.
Environment:
– WordPress 6.7.2
– PHP 8.2
– PublishPress Future version: 4.8.2
Best regards
Bettina
Hi @bettinamaria ,
Thank you for sharing the details of the environment. Since I still cannot replicate the issue on the fresh site, could you list the active plugins other than PublishPress Future?
Hi @bettinamaria ,
Since we have not heard back from you in a week, let me mark this issue as resolved. If you would like to continue the discussion, you can always reply or create a new thread.
Thanks,