Title: PHP Deprecated error in debug.log
Last modified: February 1, 2024

---

# PHP Deprecated error in debug.log

 *  Resolved [hastibe](https://wordpress.org/support/users/hastibe/)
 * (@hastibe)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-deprecated-error-in-debug-log/)
 * We’re getting a lot of the following error (on Google Site Kit 1.119.0, PHP 8.1
   and WordPress 6.4.3) in our debug.log — could this be fixed (or could you let
   us know if there’s something we need to do)?
 *     ```wp-block-code
       [01-Feb-2024 21:36:58 UTC] PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in .../wp-content/plugins/google-site-kit/includes/Modules/Analytics_4/Report.php on line 112
       ```
   
 * Thanks so much!
    -  This topic was modified 2 years, 4 months ago by [hastibe](https://wordpress.org/support/users/hastibe/).
      Reason: added Google Site Kit plugin version #

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

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-deprecated-error-in-debug-log/#post-17392738)
 * Hello @hastibe thank you for getting in touch and sharing the PHP error you have
   been alerted to. The first thing I’d like to check with you is do any of these
   seem to impact the performance or overall functionality of Site Kit or does the
   plugin still work as expected?
 * If you are seeing issues with the plugin then please could I ask you to share
   your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   to share privately if preferred. I can then check your setup to see if anything
   else stands out here.
 * PHP 8 error warnings are not uncommon and something we are aware of. You can 
   see more on this from our [sticky post](https://wordpress.org/support/topic/php-8-error-log-warnings/)
   on the subject. I will however flag this to the team to ensure there isn’t anything
   of concern and if there is we will rest assured, get these addressed.
 * Please let me know if you have any further questions.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-deprecated-error-in-debug-log/#post-17412112)
 * As we didn’t receive a response I’ll mark this as resolved. Feel free to [open a new support topic](https://wordpress.org/support/plugin/google-site-kit/#new-post)
   if you continue to encounter issues, or reopen this topic and we’d be happy to
   assist.

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

The topic ‘PHP Deprecated error in debug.log’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

## Tags

 * [depreciated](https://wordpress.org/support/topic-tag/depreciated/)
 * [log](https://wordpress.org/support/topic-tag/log/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/php-deprecated-error-in-debug-log/#post-17412112)
 * Status: resolved