Title: PHP 8 Error
Last modified: June 22, 2021

---

# PHP 8 Error

 *  Resolved [321abc](https://wordpress.org/support/users/deraxia/)
 * (@deraxia)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-error-6/)
 * Great plugin!
 * Getting these errors in PHP 8 premium and free version:
 *     ```
       [Mon Jun 21 14:35:39.505363 2021] [php:warn] [pid 7744:tid 1864] [client ::1:59081] PHP Warning:  The magic method WSAL_Utilities_DateTimeFormatter::__sleep() must have public visibility in C:\\xampp\\htdocs\\wp-content\\plugins\\wp-security-audit-log-premium\\classes\\Utilities\\DateTimeFormatter.php on line 163, referer: http://localhost/wp-admin/
       [Mon Jun 21 14:35:39.505363 2021] [php:warn] [pid 7744:tid 1864] [client ::1:59081] PHP Warning:  The magic method WSAL_Utilities_DateTimeFormatter::__wakeup() must have public visibility in C:\\xampp\\htdocs\\wp-content\\plugins\\wp-security-audit-log-premium\\classes\\Utilities\\DateTimeFormatter.php on line 169, referer: http://localhost/wp-admin/
       ```
   
 * Possibly also related:
    `[Mon Jun 21 14:33:56.402717 2021] [php:warn] [pid 7744:
   tid 1892] [client ::1:59536] PHP Warning: Undefined property: stdClass::$plugin
   in C:\\xampp\\htdocs\\wp-admin\\includes\\class-wp-automatic-updater.php on line
   170, referer: http://localhost/wp-cron.php?doing_wp_cron=1624304035.0601580142974853515625`
    -  This topic was modified 4 years, 11 months ago by [321abc](https://wordpress.org/support/users/deraxia/).

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

 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-error-6/#post-14586107)
 * Thank you for using our plugin and for posting this [@deraxia](https://wordpress.org/support/users/deraxia/)
 * Just for the records, these are not errors but warning. Can you please confirm
   that the plugin is working properly?
 * We will look into these warnings and address them in the next update.
 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-error-6/#post-14588505)
 * Hello [@deraxia](https://wordpress.org/support/users/deraxia/)
 * I can confirm that we have a fix ready for this and it will be available in the
   next plugin update, which should be released within the next few weeks.
 * I hope this helps. Should you need any further information please do not hesitate
   to ask.
 * Have a great day.

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

The topic ‘PHP 8 Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-error-6/#post-14588505)
 * Status: resolved