• Resolved K3on

    (@0xk3on)


    [Fri Jun 21 19:51:31.695037 2024] [proxy_fcgi:error] [pid 695883:tid 140155016951552] [client 0.0.0.0:42798] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to PublishPress\Future\Modules\Expirator\Models\ActionArgsModel::loadByPostId() must be of the type int, null given, called in /home/domain.com/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php on line 157 and defined in /home/domain.com/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ActionArgsModel.php:140\nStack trace:\n#0 /home/domain.com/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php(157): PublishPress\Future\Modules\Expirator\Models\ActionArgsModel->loadByPostId()\n#1 /home/domain.com/public_html/wp-content/plugins/post-expirator/services.php(417): PublishPress\Future\Modules\Expirator\Models\ExpirablePostModel->_construct()\n#2 /home/domain.com/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Controllers/ShortcodeController.php(40): {closure}()\n#3 /home/domain.com/public…’, referer: edit.php?post_status=private&post_type=post

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

    (@rizaardiyanto)

    Hi @0xk3on

    Thanks for your report.

    We have create a GitHub issue on this one, so our developer can fix this in the future release: https://github.com/publishpress/PublishPress-Future/issues/814

    stephenlee

    (@stephenlee)

    I too am getting this which is causing issues on my website:

    WordPress version 6.5.5
    Active theme: Neve (version 3.8.7)
    Current plugin: PublishPress Future (version 3.4.0.1)
    PHP version 8.2.20

    Error Details
    =============
    An error of type E_ERROR was caused in line 140 of the file /home/ceremony/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ActionArgsModel.php. Error message: Uncaught TypeError: PublishPress\Future\Modules\Expirator\Models\ActionArgsModel::loadByPostId(): Argument #1 ($postId) must be of type int, null given, called in /home/ceremony/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php on line 157 and defined in /home/ceremony/public_html/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ActionArgsModel.php:140

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @stephenlee Thanks for your report. This issue will be fixed in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.