![]() |
Fatal error: Call to a member function on a non-object in .........
i just upgraded to 3.5.1 and now im getting this error.. wasnt getting it with 3.0.7
the line bold is the one getting called for the error. // --------------------------------------------------- // Start Set PHP Environment // --------------------------------------------------- error_reporting(E_ALL & ~E_NOTICE); // --------------------------------------------------- // End Set PHP Environment // --------------------------------------------------- // --------------------------------------------------- // Start Define Important Constants // --------------------------------------------------- define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'vbchat'); // --------------------------------------------------- // Start Require Globalized Settings // --------------------------------------------------- require_once('./global.php'); require_once('./includes/functions_user.php'); require_once('./includes/functions_bbcodeparse.php'); require_once('./includes/functions_newpost.php'); $DB = $DB_site; // What? Its easier to write ^_^; $chat_page = ""; // Template Variable $Chat_Options = $DB->query_first("select * from ".TABLE_PREFIX."vbchat_datastore where did='1'"); $Group_Perms = unserialize($Chat_Options['d_groupperms']); |
This is a vB3.0 script. By doing the $DB = $DB_site, you will mess up everything.
Please use a real vB3.5 script. |
All times are GMT. The time now is 11:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|