Compatibility error with Polylang
-
Hello PublishPress,
We faced an error while updating post with “PublishPress Futur” (4.7.1) and “Polylang”(3.7.3).
I seems that the load function require an Integer, but a String is given due to language suffix added by polylang.
Here are the log relative to this error :[Mon 2025-06-23 06:58:13 AM] [client 82.64.239.207] Uncaught TypeError: PublishPress\Future\Modules\Workflows\Models\WorkflowModel::load(): Argument #1 ($id) must be of type int, string given, called in /public_html/wp-content/plugins/post-expirator/src/Modules/Workflows/Controllers/WorkflowsList.php on line 723 and defined in /public_html/wp-content/plugins/post-expirator/src/Modules/Workflows/Models/WorkflowModel.php:93
Stack trace:
#0 /public_html/wp-content/plugins/post-expirator/src/Modules/Workflows/Controllers/WorkflowsList.php(723): PublishPress\Future\Modules\Workflows\Models\WorkflowModel->load(‘26460-fr’)
Hope this could be fixed in a next release.
Feel free to kept us in touch about this issue.
Thanks for you help.
The topic ‘Compatibility error with Polylang’ is closed to new replies.