Title: PHP Error on activation
Last modified: December 21, 2016

---

# PHP Error on activation

 *  Resolved [Curtis](https://wordpress.org/support/users/salsafire/)
 * (@salsafire)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-error-on-activation-5/)
 * Hello. Thank you for your plugin development.
 * I am currently running PHP 7 on my site. Activation of your plugin triggers this
   PHP Warning:
 * call_user_func_array() expects parameter 1 to be a valid callback, class ‘PAnD’
   not found in …public_html/wp-includes/class-wp-hook.php on line 298
 * Curt

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

 *  Plugin Author [Scott Farrell](https://wordpress.org/support/users/sfarrell5123/)
 * (@sfarrell5123)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-error-on-activation-5/#post-8599736)
 * are you sure that’s my plugin – there is another similarly named
 *  [Mellco](https://wordpress.org/support/users/mellco/)
 * (@mellco)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-error-on-activation-5/#post-8610838)
 * Hi
    Would like to use your plugin but it is firing off this error
 * [02-Jan-2017 13:25:48] PHP Warning: call_user_func_array() expects parameter 
   1 to be a valid callback, class ‘PAnD’ not found in /xxx/public_html/wp-includes/
   class-wp-hook.php on line 298
 *  Plugin Author [Scott Farrell](https://wordpress.org/support/users/sfarrell5123/)
 * (@sfarrell5123)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-activation-5/#post-8658833)
 * not my plugin
 *  [Stanley Wang](https://wordpress.org/support/users/bluestan/)
 * (@bluestan)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-error-on-activation-5/#post-9036423)
 * I have the same problem.
 * The error came from persist-admin-notices-dismissal.php which is included in 
   this plugin.
 * [https://gyazo.com/924f4e2bac4db30c40b8c7cbc214555c](https://gyazo.com/924f4e2bac4db30c40b8c7cbc214555c)

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

The topic ‘PHP Error on activation’ 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/)

 * 4 replies
 * 4 participants
 * Last reply from: [Stanley Wang](https://wordpress.org/support/users/bluestan/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-error-on-activation-5/#post-9036423)
 * Status: resolved