Title: Error&#8217;s when saving page
Last modified: March 20, 2017

---

# Error’s when saving page

 *  Resolved [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/errors-when-saving-page/)
 * When I try to save a page when BP Simple Events is loaded, I’m getting several
   instances of the following error:
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   pp_hide_events_meta_fields’ not found or invalid function name in /wp-includes/
   class-wp-hook.php on line 300
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   pp_hide_events_meta_fields’ not found or invalid function name in /wp-includes/
   class-wp-hook.php on line 300

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

 *  Plugin Author [shanebp](https://wordpress.org/support/users/shanebp/)
 * (@shanebp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/errors-when-saving-page/#post-8938773)
 * Thanks for this report.
    It happens when saving Posts or Pages. It is caused 
   by an incorrect function name in a filter hook.
 * The solution…
 * In this file: `buddypress-simple-events\inc\pp-events-functions.php`
    Change:`
   add_filter( 'is_protected_meta', 'pp_hide_events_meta_fields', 10, 2 );` To: `
   add_filter( 'is_protected_meta', 'pp_events_hide_meta_fields', 10, 2 );`
 * I will push up a new release with this fix later today.
 *  Thread Starter [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/errors-when-saving-page/#post-8938782)
 * Thanks, I’ll give it a go.
 *  Thread Starter [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/errors-when-saving-page/#post-8938810)
 * Yep that worked, thanks again for the quick response.

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

The topic ‘Error’s when saving page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-simple-events.svg)
 * [BuddyPress Simple Events](https://wordpress.org/plugins/buddypress-simple-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-simple-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-simple-events/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-simple-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-simple-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-simple-events/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Venutius](https://wordpress.org/support/users/venutius/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/errors-when-saving-page/#post-8938810)
 * Status: resolved