spamtrawler Posted January 22, 2012 Share Posted January 22, 2012 After upgrading php to 5.3.9 we ran into the following issue: "Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is not allowed' in" The error is found in: "/modules/admin/vb_link/includes/class_vbulletin_api.php" line 112 You will find the following code: // Assign the built-in XML object if one isn't specified if (!$command_array) { $command_array = $this->query_array; } Relace with: // Assign the built-in XML object if one isn't specified if (!$command_array) { $command_array = $this->query_array; //fix unserialization bug on login/logout if(isset($command_array["query_xml"])) { unset($command_array["query_xml"]); } } This also fixes a bug where the logout from VBulletin is not processed properly. Hope this is helpful for somebody. Note: You need the "Developer Edition" of this mod in order to have access to the Source Code... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.