Status
Not open for further replies.

Blue6995

Customer
After I set the questions for the latest quiz and clicked the Activate Quiz option, the following error message was displayed:


Fatal error: Registry object is not an object in [path]/includes/class_dm.php on line 205
#0 vb_error_handler(256, Registry object is not an object, /home/rwfforum/public_html/vBulletin/includes/class_dm.php, 205, Array ([this] => vB_DataManager_Thread_FirstPost Object ([validfields] => Array ([firstpostid] => Array ([0] => 3,[1] => 2),[lastpost] => Array ([0] => 3,[1] => 2),[forumid] => Array ([0] => 3,[1] => 1),[pollid] => Array ([0] => 3,[1] => 0),[open] => Array ([0] => 3,[1] => 2,[2] => _-_mEtHoD_-_),[replycount] => Array ([0] => 3,[1] => 2),[hiddencount] => Array ([0] => 3,[1] => 2),[deletedcount] => Array ([0] => 3,[1] => 2),[lastposter] => Array ([0] => 7,[1] => 2),[lastposterid] => Array ([0] => 3,[1] => 2),[lastpostid] => Array ([0] => 3,[1] => 2),[views] => Array ([0] => 3,[1] => 0),[notes] => Array ([0] => 7,[1] => 0),[sticky] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[votenum] => Array ([0] => 3,[1] => 0),[votetotal] => Array ([0] => 3,[1] => 0),[similar] => Array ([0] => 7,[1] => 2),[prefixid] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[taglist] => Array ([0] => 7,[1] => 0),[keywords] => Array ([0] => 7,[1] => 0),[threadid] => Array ([0] => 3,[1] => 3),[title] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_),[username] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[userid] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[dateline] => Array ([0] => 3,[1] => 2),[iconid] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[visible] => Array ([0] => 1,[1] => 0),
 
It's a problem with the thread creation, I have it fixed in the next version. If you want to fix it for now

Open dbtech/vbquiz/includes/common_functions.php

Find
PHP:
function CreateQuizThread($id, $thread_type = 'active')
{
    $threaddm =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_ARRAY, 'threadpost');

and replace with

PHP:
function CreateQuizThread($id, $thread_type = 'active')
{
    global $vbulletin, $vbphrase, $config;

    $threaddm =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_ARRAY, 'threadpost');
 
I just posted 1.2.2 release which will fix this error and also another thread creation problem.
 
Status
Not open for further replies.

Legacy vBQuiz

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
435
Customer rating
0.00 star(s) 0 ratings
Back
Top