Fatal error: Cannot call overloaded function for non-object
-
Fatal error: Cannot call overloaded function for non-object in
public_html/wp-includes/l10n.php on line 92
So i recently installed a multi-site network
http://www.example.eu
games.example.eu
It happen a similar error but after refreshing he disappeared
Yesterday i wanted include one external php file in post. It seems that I’m a little rusty! 🙁 It appear to me this errorfunction get_user_locale( $user_id = 0 ) { $user = false; if ( 0 === $user_id && function_exists( 'wp_get_current_user' ) ) { 92 line--- $user = wp_get_current_user(); } elseif ( $user_id instanceof WP_User ) { $user = $user_id; } elseif ( $user_id && is_numeric( $user_id ) ) { $user = get_user_by( 'id', $user_id ); } if ( ! $user ) { return get_locale(); } $locale = $user->locale; return $locale ? $locale : get_locale(); }______
After a while I could not get into admin section od subdomain site ultimately not in main site to
Now show me this Error : ERR_TOO_MANY_REDIRECTS
I tried everything to solve this problem.
Rename plugin folder,
Delete this post through php admin ,
Check page url in php admin
The topic ‘Fatal error: Cannot call overloaded function for non-object’ is closed to new replies.