call_user_func_array error
-
If you get this error when using WP Auto Save Management:
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class '__CLASS_' not found in /var/sites/i/italy-cycling-guide.info/public_html/wp-includes/class-wp-hook.php on line 298
You have to modify this line:
add_action( 'admin_enqueue_scripts', array( __CLASS_, 'dequeue_autosave' ) );
With this:
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'dequeue_autosave' ) );
- The topic ‘call_user_func_array error’ is closed to new replies.