• Resolved cscweb

    (@cscweb)


    I am getting tons of errors in WP_Debug_log, the most numerous being the last entry (PHP Warning):

    [06-Mar-2025 22:44:12 UTC] PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/ic/mywebsite.org/wp-content/plugins/business-directory-plugin/includes/models/class-listing.php on line 968

    [08-Mar-2025 11:59:12 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/ic/mywebsite.org/wp-content/plugins/business-directory-plugin/includes/class-dispatcher.php on line 204

    [08-Mar-2025 17:04:50 UTC] PHP Warning: Attempt to read property “name” on null in /var/www/html/ic/mywebsite.org/wp-content/plugins/business-directory-plugin/includes/compatibility/class-cpt-compat-mode.php on line 166

    What do I need to do to fix the errors?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Garret L

    (@garret1996)

    Hi @cscweb

    Thank you for reaching out to us.

    I will have to share these with our developer to look into. In the meantime, could you please let me know which version of PHP you are using?

    Please let me know!

    Best regards,

    Thread Starter cscweb

    (@cscweb)

    PHP Version 8.2.27

    Thread Starter cscweb

    (@cscweb)

    I see that you have marked this as resolved. I’m sorry but I missed the solution. I am still getting tons of these errors (along with others). Can you post the solution again? Now the facebook follow and twitter follow (now X) have stopped working. Thank you.

    Plugin Support Garret L

    (@garret1996)

    Hi @cscweb

    Thanks for following up here.

    A solution for this will be in the next update. We marked this as resolved so our team knows that a bug report was created and our developer is aware of the issue.

    If you are having a new issue, please create a new ticket for that with a link to a listing with the issue.

    Best regards,

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

The topic ‘PHP Deprecated’ is closed to new replies.