After updating to version 4.0.2, an error occurs in the admin page.
-
Hello.
After updating to 4.0.2 on multiple WordPress sites I manage, an error occurs when I enter the WordPress admin screen.
I have confirmed that it works when I disable the plugin or downgrade to 3.4.4.The error that appears after logging in is as follows:
Warning: Attempt to read property “post_content” on null in /wp-content/plugins/post-expirator/src/Modules/Workflows/Models/WorkflowModel.php on line 254
Warning: Attempt to read property “post_content” on null in /wp-content/plugins/post-expirator/src/Modules/Workflows/Models/WorkflowModel.php on line 254
Warning: Attempt to read property “ID” on null in /wp-content/plugins/post-expirator/src/Modules/Workflows/Models/WorkflowModel.php on line 109
Fatal error: Uncaught TypeError: PublishPress\Future\Modules\Workflows\Models\WorkflowModel::getId(): Return value must be of type int, null returned in /wp-content/plugins/post-expirator/src/Modules/Workflows/Models/WorkflowModel.php:109 Stack trace: 0 /wp-content/plugins/post-expirator/src/Modules/Workflows/Domain/Engine/WorkflowEngine.php(146): PublishPress\Future\Modules\Workflows\Models\WorkflowModel->getId() 1 /wp-content/plugins/post-expirator/src/Modules/Workflows/Module.php(140): PublishPress\Future\Modules\Workflows\Domain\Engine\WorkflowEngine->start() 2 /wp-content/plugins/post-expirator/src/Modules/Workflows/Module.php(95): PublishPress\Future\Modules\Workflows\Module->initializeEngine()… 18 {main} thrown in /wp-content/plugins/post-expirator/src/Modules/Workflows/Models/WorkflowModel.php on line 109
- You must be logged in to reply to this topic.