Title: Using PHP Compatibility Checker, got these errors
Last modified: November 28, 2018

---

# Using PHP Compatibility Checker, got these errors

 *  Resolved [wwwcre8r](https://wordpress.org/support/users/wwwcre8r/)
 * (@wwwcre8r)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/using-php-compatibility-checker-got-these-errors/)
 * Using PHP Compatibility Checker, got these errors, will there be a release to
   fix this?
 * ———————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————–
   1845 | ERROR | Visibility for magic method __sleep must be public. Found: private———————————————————————————–
 * FILE: /wp-content/plugins/wp-reset/libs/dumper.php
    ————————————————————————————————————
   FOUND 10 ERRORS AFFECTING 10 LINES ———————————————————————————————————— 395 |
   ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 
   7.0; Use mysqli instead

Viewing 1 replies (of 1 total)

 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/using-php-compatibility-checker-got-these-errors/#post-10927701)
 * Hi,
    Due to the fact that we use a singleton pattern __sleep() magic method has
   to be private, so nobody can serialize our instance. I’ll double-check with my
   colleagues on this but I’m 99.9% that’s the reason.
 * As for the mysql methods – you’re right, we should update those. Unless it gets
   overly complicated I don’t see a reason why we can’t have it fixed in the next
   release 🙂

Viewing 1 replies (of 1 total)

The topic ‘Using PHP Compatibility Checker, got these errors’ is closed to new replies.

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

## Tags

 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)

 * 1 reply
 * 2 participants
 * Last reply from: [WebFactory](https://wordpress.org/support/users/webfactory/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/using-php-compatibility-checker-got-these-errors/#post-10927701)
 * Status: resolved