Title: Plugin generating PHP Warnings
Last modified: February 12, 2019

---

# Plugin generating PHP Warnings

 *  [zimbo000](https://wordpress.org/support/users/zimbo000/)
 * (@zimbo000)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-generating-php-warnings/)
 * PHP error log is showing the warnings below every few seconds:
 * Class ‘wphpc_PAnD’ is defined in persist-admin-notices-dismissal.php of the plugin.
   Deactivate the plugin and the warnings stop.
 * > [12-Feb-2019 12:56:12 UTC] PHP Warning: call_user_func_array() expects parameter
   > 1 to be a valid callback, class ‘wphpc_PAnD’ not found in /www1/f6a/www.henleyherald.
   > com/web/wp-includes/class-wp-hook.php on line 286
   > [12-Feb-2019 12:56:23 UTC] PHP Warning: call_user_func_array() expects parameter
   > 1 to be a valid callback, class ‘wphpc_PAnD’ not found in /www1/f6a/www.henleyherald.
   > com/web/wp-includes/class-wp-hook.php on line 286
   > [12-Feb-2019 12:56:38 UTC] PHP Warning: call_user_func_array() expects parameter
   > 1 to be a valid callback, class ‘wphpc_PAnD’ not found in /www1/f6a/www.henleyherald.
   > com/web/wp-includes/class-wp-hook.php on line 286
   > [12-Feb-2019 12:56:54 UTC] PHP Warning: call_user_func_array() expects parameter
   > 1 to be a valid callback, class ‘wphpc_PAnD’ not found in /www1/f6a/www.henleyherald.
   > com/web/wp-includes/class-wp-hook.php on line 286
   > [12-Feb-2019 12:57:08 UTC] PHP Warning: call_user_func_array() expects parameter
   > 1 to be a valid callback, class ‘wphpc_PAnD’ not found in /www1/f6a/www.henleyherald.
   > com/web/wp-includes/class-wp-hook.php on line 286
   > [12-Feb-2019 12:57:27 UTC] PHP Warning: call_user_func_array() expects parameter
   > 1 to be a valid callback, class ‘wphpc_PAnD’ not found in /www1/f6a/www.henleyherald.
   > com/web/wp-includes/class-wp-hook.php on line 286
 * I’ve had to turn PHP logging off because the log file became so large.

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

 *  Plugin Author [Scott Farrell](https://wordpress.org/support/users/sfarrell5123/)
 * (@sfarrell5123)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-generating-php-warnings/#post-11205204)
 * I’ll take a look
 *  [repley](https://wordpress.org/support/users/repley/)
 * (@repley)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-generating-php-warnings/#post-11307784)
 * same error for me
 *  [taidgh](https://wordpress.org/support/users/taidgh/)
 * (@taidgh)
 * [7 years ago](https://wordpress.org/support/topic/plugin-generating-php-warnings/#post-11578865)
 * 50gb on /dev/sda1 filled with error warnings.
    Site is now offline. `PHP Warning:
   call_user_func_array() expects parameter 1 to be a valid callback, class ‘wphpc_PAnD’
   not found in /var/www/html/wp-includes/class-wp-hook.php on line 286′ Deleted
   logs and site is back online. Checked logs and new logs are created with the 
   same error. Deleted plugin and the logs stop.

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

The topic ‘Plugin generating PHP Warnings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-hosting-performance-check_ffc8a4.
   svg)
 * [wp Hosting Performance Check](https://wordpress.org/plugins/wp-hosting-performance-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hosting-performance-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hosting-performance-check/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hosting-performance-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hosting-performance-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hosting-performance-check/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [taidgh](https://wordpress.org/support/users/taidgh/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/plugin-generating-php-warnings/#post-11578865)
 * Status: not resolved