Title: PHP Warning: The magic method
Last modified: January 31, 2023

---

# PHP Warning: The magic method

 *  Resolved [scottmotion](https://wordpress.org/support/users/scottmotion/)
 * (@scottmotion)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-the-magic-method/)
 * I’m finding this warning in my site’s error log:
 * [Mon Jan 30 15:16:24.249506 2023] [fcgid:warn] [pid 294721:tid 3974841063168][
   client ***.**.***.***:*****] mod_fcgid: stderr: PHP Warning:  The magic method
   ForumPermissionsBbpress\\Common\\Traits\\Singleton::__wakeup() must have public
   visibility in /home/****/****.com/wp-content/plugins/forum-permissions-bbpress/
   src/Common/Traits/Singleton.php on line 31, referer: [https://www.****.com/wp-cron.php?doing_wp_cron=1675120580.6185359954833984375000](https://www.****.com/wp-cron.php?doing_wp_cron=1675120580.6185359954833984375000)
 * Several hundred warnings per day. Most of the warnings have wp-cron as the referer
   but some are just pages. I’ll check my cron performance but i’m not getting any
   similar warnings from other plugins, although there have been instances of “scheduled
   event is late”. Unsure if the functionality is affected at this point. BTW server
   is running PHP 8.2.
    -  This topic was modified 3 years, 3 months ago by [scottmotion](https://wordpress.org/support/users/scottmotion/).

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

 *  Anonymous User 3114766
 * (@anonymized-3114766)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-the-magic-method/#post-16426963)
 * I just checked and have the same problem
    -  This reply was modified 3 years, 3 months ago by Anonymous User 3114766.
 *  Plugin Author [Verdant Studio](https://wordpress.org/support/users/verdantstudio/)
 * (@verdantstudio)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-the-magic-method/#post-16427298)
 * This does seem to be related to PHP 8 but thanks for reporting this, I’ve just
   released a new version with a couple of improvements for newer PHP versions, 
   please let me know if this solves the problem.
 *  Thread Starter [scottmotion](https://wordpress.org/support/users/scottmotion/)
 * (@scottmotion)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-the-magic-method/#post-16430262)
 * Thanks, the warning is now gone!
 * For reference I came across a post stating this was upgraded to a Warning in 
   PHP 8.1

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

The topic ‘PHP Warning: The magic method’ is closed to new replies.

 * ![](https://ps.w.org/forum-permissions-bbpress/assets/icon-256x256.png?rev=3502793)
 * [Forum Permissions bbPress](https://wordpress.org/plugins/forum-permissions-bbpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forum-permissions-bbpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forum-permissions-bbpress/)
 * [Active Topics](https://wordpress.org/support/plugin/forum-permissions-bbpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forum-permissions-bbpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forum-permissions-bbpress/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [scottmotion](https://wordpress.org/support/users/scottmotion/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-the-magic-method/#post-16430262)
 * Status: resolved