Title: PHP Warning in PHP 8
Last modified: November 5, 2021

---

# PHP Warning in PHP 8

 *  [Sarah Lewis](https://wordpress.org/support/users/bookchiq/)
 * (@bookchiq)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-warning-in-php-8/)
 * When I try to use this plugin on a server running PHP 8, I get the following 
   warning:
 * PHP Warning: The magic method WP101\API::__wakeup() must have public visibility
   in /sitename/wp-content/plugins/wp101/includes/class-api.php on line 71
 * Changing the visibility to public does fix it, so I wanted to give you a heads
   up!

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Shawn Hesketh](https://wordpress.org/support/users/shawndh/)
 * (@shawndh)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-warning-in-php-8/#post-15041844)
 * Hi Sarah,
 * Thank you for bringing this to our attention. I’ll open a ticket for this right
   away and we’ll get it resolved ASAP.
 * Appreciate you taking the time to let us know!

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wp101/assets/icon-256x256.jpg?rev=2204738)
 * [WP101 Video Tutorial Plugin](https://wordpress.org/plugins/wp101/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp101/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp101/)
 * [Active Topics](https://wordpress.org/support/plugin/wp101/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp101/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp101/reviews/)

## Tags

 * [php 8](https://wordpress.org/support/topic-tag/php-8/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shawn Hesketh](https://wordpress.org/support/users/shawndh/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/php-warning-in-php-8/#post-15041844)
 * Status: not resolved