Question Threads

Question Threads 2.1.2

No permission to download
I tried to install the add-in but encountered this error
Code:
ErrorException: [E_NOTICE] Trying to access array offset on value of type null in src\addons\CMTV\QuestionThreads\Setup.php at line 28

    XF::handlePhpError() in src\addons\CMTV\QuestionThreads\Setup.php at line 28
    CMTV\QuestionThreads\Setup->installStep1() in src\XF\AddOn\StepRunnerInstallTrait.php at line 60
    CMTV\QuestionThreads\Setup->installStepRunner() in src\XF\AddOn\StepRunnerInstallTrait.php at line 27
    CMTV\QuestionThreads\Setup->install() in src\XF\Admin\Controller\AddOn.php at line 398
    XF\Admin\Controller\AddOn->actionInstall() in src\XF\Mvc\Dispatcher.php at line 350
    XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line 257
    XF\Mvc\Dispatcher->dispatchFromMatch() in src\XF\Mvc\Dispatcher.php at line 113
    XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line 55
    XF\Mvc\Dispatcher->run() in src\XF\App.php at line 2190
    XF\App->run() in src\XF.php at line 391
    XF::runApp() in admin.php at line 13
 
Server error log
Code:
    ErrorException: [E_NOTICE] Trying to access array offset on value of type null src\addons\CMTV\QuestionThreads\Setup.php:28

    Generated by: MesterPerfect Jun 17, 2020 at 5:35 AM

Stack trace

#0 src\addons\CMTV\QuestionThreads\Setup.php(28): XF::handlePhpError(8, '[E_NOTICE] Tryi...', 'E:\\xampp\\htdocs...', 28, Array)
#1 src\XF\AddOn\StepRunnerInstallTrait.php(60): CMTV\QuestionThreads\Setup->installStep1(Array)
#2 src\XF\AddOn\StepRunnerInstallTrait.php(27): CMTV\QuestionThreads\Setup->installStepRunner(1, Array)
#3 src\XF\Admin\Controller\AddOn.php(398): CMTV\QuestionThreads\Setup->install(Array)
#4 src\XF\Mvc\Dispatcher.php(350): XF\Admin\Controller\AddOn->actionInstall(Object(XF\Mvc\ParameterBag))
#5 src\XF\Mvc\Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Install', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#6 src\XF\Mvc\Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#7 src\XF\Mvc\Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src\XF\App.php(2190): XF\Mvc\Dispatcher->run()
#9 src\XF.php(391): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')

Request state
Code:
Request state

array(4) {
  ["url"] => string(53) "/xf2.1/admin.php?add-ons/CMTV-QuestionThreads/install"
  ["referrer"] => string(69) "http://localhost/xf2.1/admin.php?add-ons/CMTV-QuestionThreads/install"
  ["_GET"] => array(1) {
    ["add-ons/CMTV-QuestionThreads/install"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["_xfProcessing"] => string(1) "1"
    ["continue"] => string(1) "1"
    ["confirm"] => string(1) "1"
    ["params"] => string(2) "[]"
    ["count"] => string(1) "1"
    ["finished"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
  }
}
 
I do plan to update my forums to 2.2 so I am about to write an article about transfering data from Question Threads to XF 2.2 questions system.

But right now I don't have time to do this (have to finish important job) so I plan to start working on this next week (close to the end).

Generally I don't think it will be hard to transfer data but I am not sure since I have not seen the database structure of XF 2.2 yet.
 
Can this add-on be used to replace the built-in Question and Answer forum type in 2.2? I like it aesthetically.
 
@gogo When making converter I used Question Threads on 2.2. It seems to be working just fine though I did not test all of the functions. So I guess you can use this addon on 2.2 but I would not recommend doing so as there will be no updates/fixes in the future.
 
Top Bottom