• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Help tracking down error

LPH

Well-known member
#1
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

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.
 

LPH

Well-known member
#3
Thank you. I was fairly certain this is the XenScripts bridge but wanted some tactics to track the error down.