• Resolved Kevin J

    (@iamkevinjohnson)


    Any idea why this might show?
    
    PHP Fatal error:  Uncaught TypeError: gmdate(): Argument #2 ($timestamp) must be of type ?int, string given in /home/site/wp-content/plugins/post-expirator/src/Views/expire-column.php:54
    
    AND
    
     PHP Warning:  Undefined array key "terms" in /home/site/wp-content/plugins/plugins/post-expirator/src/Views/classic-metabox.php on line 143
    • This topic was modified 2 years ago by Kevin J.
    • This topic was modified 2 years ago by Kevin J.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @iamkevinjohnson

    Where does this error show? Is it shown in specific admin page?

    Thread Starter Kevin J

    (@iamkevinjohnson)

    These are logged to the error log when attempting to edit a post. -Thanks

    • This reply was modified 2 years ago by Kevin J.
    buzzboldjeremy

    (@buzzboldjeremy)

    Hi @rizaardiyanto,


    We also were experiencing this, which was causing a critical site error. Here is what we found:

    Line 106 of /post-expirator/src/Modules/Expirator/ExpirationScheduler.php is $this->datetime->getWpDate(‘r’, $timestamp), but this is passing a string to the function that only accepts a number. We commented out the problem line, and this resolved our issue. However, we are concerned we may have re-comment out this line each time the plugin updates.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @iamkevinjohnson @buzzboldjeremy

    Thanks for the details. We will fix this issue in the next release of PublishPress Future. Thanks for your report.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Errors’ is closed to new replies.