Giter Site home page Giter Site logo

cmtv / xf2a-questionthreads Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 4.0 392 KB

This addon allows users to create questions, mark them solved/unsolved and select best answers

Home Page: https://xenforo.com/community/resources/question-threads.5767/

License: GNU Lesser General Public License v3.0

PHP 66.36% CSS 12.40% HTML 21.24%

xf2a-questionthreads's People

Contributors

cmtv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

xf2a-questionthreads's Issues

Error after deletion

Your plugin was not working well, so i just decided to delete it.

But after deletion i have this:

Server error log

    Exception: Could not get runner for job CMTV\QuestionThreads:RemapBestAnswers (unique: ). Skipping. src/XF/Job/Manager.php:239 

    Generated by: sTiKyt May 26, 2020 at 5:08 PM 

Stack trace

#0 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#1 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#2 src/XF/Admin/Controller/Tools.php(139): XF\Job\Manager->runQueue(true, 8)
#3 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#8 src/XF.php(391): XF\App->run()
#9 admin.php(13): XF::runApp('XF\\Admin\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(30) "/forum/admin.php?tools/run-job"
  ["referrer"] => string(59) "https://dark-sec-official.com/forum/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(16) "/forum/admin.php"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(0) ""
  }
}

`

Question Threads

Hey, i'm receiving an error when using this addon with another addon (Uservoice)

"ErrorException: Fatal Error: Access level to QuestionThreads\XF\Pub\Controller\Thread::setupThreadEdit() must be public (as in class ServerDev\UserVoice\XF\Pub\Controller\Thread) src/addons/QuestionThreads/XF/Pub/Controller/Thread.php:114"

Link to addon: https://xenforo.gen.tr/xenforo-kaynaklari/uservoice.506/

Error on installation

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'DarkSecForumDB.xf_cmtv_qt_best_answer' doesn't exist in src/XF/Db/AbstractStatement.php at line 228

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 170
    XF\Db\AbstractAdapter->fetchAllColumn() in src/addons/CMTV/QuestionThreads/Job/RemapBestAnswers.php at line 22
    CMTV\QuestionThreads\Job\RemapBestAnswers->getNextIds() in src/XF/Job/AbstractRebuildJob.php at line 30
    XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 253
    XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
    XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 111
    XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
    XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 350
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
    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 2184
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in admin.php at line 13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.