Template errors
Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[1] (src/XF/Mvc/Entity/Entity.php:199)
Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[2] (src/XF/Mvc/Entity/Entity.php:199)
Oops! We ran into some problems.
The requested page could not be found. (Code: invalid_action, controller: XenConcept\QuizManager:Category, action: PrefixHelp)
Code:Template errors Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[1] (src/XF/Mvc/Entity/Entity.php:199) Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[2] (src/XF/Mvc/Entity/Entity.php:199)
Thank you for you reply.I wish you can add another type of question where the user can input the answer as text (via text editor).
An option to choose the type of the question answer.
Thank you so much @XenConcept for the awesome add-on.
Sure...Hello,
Can send the full error please ?
Server error log
InvalidArgumentException: Accessed unknown getter 'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[2] src/XF/Mvc/Entity/Entity.php:203
Generated by: ***** Feb 25, 2024 at 5:49 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(115): XF\Mvc\Entity\Entity->get('ozzmodz_tpftt_d...')
#1 internal_data/code_cache/templates/l1/s3/public/prefix_input.php(139): XF\Mvc\Entity\Entity->offsetGet('ozzmodz_tpftt_d...')
#2 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#3 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('prefix_input', Array, true, NULL)
#4 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:prefix_i...', Array, true, NULL)
#5 src/XF/Template/Templater.php(6363): MaZ\AUN\XF\Template\Templater->renderTemplate('public:prefix_i...', Array)
#6 src/addons/OzzModz/ThreadPrefixRequiredHint/XF/Template/Templater.php(13): XF\Template\Templater->formPrefixInput(Array, Array)
#7 src/XF/Template/Templater.php(6382): OzzModz\ThreadPrefixRequiredHint\XF\Template\Templater->formPrefixInput(Array, Array)
#8 internal_data/code_cache/templates/l1/s3/public/xc_quiz_manager_quiz_edit_macros.php(21): XF\Template\Templater->formPrefixInputRow(Array, Array, Array)
#9 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#10 src/addons/MaZ/AMP/XF/Template/Templater.php(152): XF\Template\Templater->callMacro('xc_quiz_manager...', 'title', Array, Array, Object(XF\Template\MacroState))
#11 internal_data/code_cache/templates/l1/s3/public/xc_quiz_manager_category_add_quiz.php(94): MaZ\AMP\XF\Template\TemplaterAbstract->callMacro('xc_quiz_manager...', 'title', Array, Array)
#12 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#13 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('xc_quiz_manager...', Array, true, NULL)
#14 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:xc_quiz_...', Array, true, NULL)
#15 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:xc_quiz_...', Array)
#16 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XenConcept\\Quiz...', 'public:xc_quiz_...', Array)
#18 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#22 src/XF.php(512): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
Request state
array(4) {
["url"] => string(31) "/forum/quizzes/categories/2/add"
["referrer"] => string(54) "https://www.e-dewan.com/forum/quizzes/categories/2/add"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
New release 2.1.1
Fix:
- Fix phrase typo
- Fix prefix group phrase
- Fix error
The requested page could not be found. (Code: invalid_action, controller: XenConcept\QuizManager:Category, action: PrefixHelp)
- Fix error
No news feed handler for 'xc_quiz_manager_quiz'
Change:
Fix:
- Change
xc_quiz_manager_x_question
add{total}
for display the question count of this quiz in progress bar.
- Fix approve/unapprove function
- Fix permission edit own quiz
- Fix missing template
xc_quiz_manager_quiz_tags_list
Add
- Add a missing phrases for a moderator log action
Fix
- Fix error
Call to a member function delete() on null
- Fix error
Accessed unknown getter 'message'
/src/vendor/composer/../../../src/addons/XFRM/ControllerPlugin/CategoryPermission.php): Failed to open stream: No such file or directory in src/vendor/composer/ClassLoader .php at line<br>576<br> <br>/composer/ClassLoader.php at line 427<br>Composer\Autoload\ClassLoader->loadClass() in src/XF/Mvc/Controller.php at line 782<br>XF\Mvc\Controller->plugin() in src/addons/XenConcept/QuizManager /Admin/Controller/Category.php at line<br>143<br>Controller\Category->actionPermissions() in src/XF/Mvc/Dispatcher.php at<br>line<br>352 >dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at<br>line<br>115 in src/XF/App.php at line<br>2487
Fix:
- Fix categories can't be deleted
- Fix categories permissions
- Fix action move quiz
- Fix number of the correct and wrong answers after terminate quiz
- Fix quizzes are on pending but not showing it approval queue.
I had a project in mind but I would like to resolve some questions about the addon.
Is it possible to create questions based on a category instead of a quiz? For example, a category called Excel that grouped all multiple choice questions about this software, another called Word, etc.
Would it be possible for any registered user to create new questions for that category? I would like it to be a collaborative website and not for the administrator to not bear all the work.
Would it be possible for the end user to generate a test with questions from a specific category and choose how many questions? The idea would be that the user could choose on each attempt how long the test would be based on the study time available.
Thx
We use essential cookies to make this site work, and optional cookies to enhance your experience.