• Resolved Herve THOMAS

    (@rvouill)


    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.

    • This topic was modified 10 months, 3 weeks ago by Herve THOMAS.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @rvouill ,

    Thank you for using PublishPress.
    Could you let me know the specific steps that you do to reproduce this error? We need to know the details before we can fix it. Did you make changes on certain parts?

    Thread Starter Herve THOMAS

    (@rvouill)

    Hello @rizaprihananto ,

    Thanks for your feedback.
    We reproduce to bug in the following use case :
    – Website is using Elementor
    – On Post edition within Elementor editor (+ edit content), we click on the save (“Publish”) button and that when the error occurs. (Feedback message is an Error 500 without much more explanation).

    Logs transmitted previously are the most relevant we can get at the moment.

    Hope it will help to fix.

    Let us know.

    Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @rvouill ,

    Thank you for sharing the details.
    I try to install  “PublishPress Future” (4.7.1) and “Polylang”(3.7.3) and edit the post using Elementor then publish it, and the issue is not showing. I also try to translate the post or page where the future is applied and edited using Elementor as well, but still the issue is not showing.

    Could you take a screenshot of the issue on your site?

    Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @rvouill,
    I appreciate you using our plugin.

    We have not heard back from you in a week. So, I will mark this thread as resolved and close it. However, if you would like to follow up, feel free to reply to this thread or open a new one.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Compatibility error with Polylang’ is closed to new replies.