• Resolved marcusjwilson

    (@marcusjwilson)


    Since we updated to v3.3.1 of your plugin, we are seeing this Fatal Error triggered every so often on our website:

    An error of type E_ERROR was caused in line 44 of the file /home/customer/www/XXXXX/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/PostTypeDefaultDataModelFactory.php. Error message: Uncaught Error: Undefined constant PublishPress\Future\Modules\Expirator\ExpirationActionsAbstract::CHANGE_POST_STATUS in /home/customer/www/XXXXX/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/PostTypeDefaultDataModelFactory.php:44

    Is there a known issue with the update? We’re running latest version of WP.

    Best wishes
    Marcus

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @marcusjwilson

    The constant that is reported as undefined, actually exists. It is defined. The problem is probably caused by the constant being called before it is defined (or the file that contains it is loaded after it is invoked), so at the time it is called, it doesn’t exists yet.

    The question right now, is when that happens? We weren’t able to find a clear reason for that yet. Could you find out a pattern on that behavior?

    • Does it happens when a post is created?
    • Does it happens when a post expires?
    • Maybe when expiration is scheduled?

    Thanks,

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved. If you have any further questions, please reply again here, or you can start a new thread.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error triggered since 3.3.1 update’ is closed to new replies.