Fatal Error Since updating WordPress
-
Hi, I’m getting the following error when trying to view the dashboard of my site since updating to the latest version. Would be grateful for any advice…
Fatal error: Call to a member function add_filter() on array in /home/swanchri/public_html/wp-includes/plugin.php on line 111
The code at that section of plugin.php is as follows:
function add_filter( $tag, $function_to_add, $priority = 10, $accepted_args = 1 ) {
global $wp_filter;
if ( ! isset( $wp_filter[ $tag ] ) ) {
$wp_filter[ $tag ] = new WP_Hook();
}
$wp_filter[ $tag ]->add_filter( $tag, $function_to_add, $priority, $accepted_args );
return true;
}
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Fatal Error Since updating WordPress’ is closed to new replies.