LPH
Well-known member
Hi,
I've upgraded to XenForo 1.2.3 this evening and now get tons of error messages in my error log. I'm fairly sure this is NOT XenForo related but due to a plugin. I'm shaky on the meaning of the error message and where to look in xmlrpc.php
Can someone please suggest the best way to track down this error?
line 730:
The full function is :
Thank you for any guidance.
I've upgraded to XenForo 1.2.3 this evening and now get tons of error messages in my error log. I'm fairly sure this is NOT XenForo related but due to a plugin. I'm shaky on the meaning of the error message and where to look in xmlrpc.php
Code:
Error Info
ErrorException: Fatal Error: Call to a member function exists() on a non-object - /path-to-wordpress/wp-includes/pluggable.php:730
Generated By: Unknown Account, 10 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(44) "http://www.tuxreports.com/tablets/xmlrpc.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Can someone please suggest the best way to track down this error?
line 730:
Code:
if ( ! $user->exists() )
The full function is :
Code:
if ( !function_exists('is_user_logged_in') ) :
/**
* Checks if the current visitor is a logged in user.
*
* @since 2.0.0
*
* @return bool True if user is logged in, false if not logged in.
*/
function is_user_logged_in() {
$user = wp_get_current_user();
if ( ! $user->exists() )
return false;
return true;
}
endif;
Thank you for any guidance.