What's new
[XB] Lessons: Structured & Monetizable Online Courses

[XB] Lessons: Structured & Monetizable Online Courses [Paid] 2.0.9 Patch Level 2

No permission to buy ($55.00)
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'ozzmodz_quiz_category_id' in 'SET' in src/XF/Db/AbstractStatement.php at line 230

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 323
    XF\Db\AbstractAdapter->update() in src/XF/Mvc/Entity/Entity.php at line 1583
    XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1306
    XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 72
    XF\Mvc\FormAction->{closure:XF\Mvc\FormAction::saveEntity():70}() in src/XF/Mvc/FormAction.php at line 190
    XF\Mvc\FormAction->run() in src/addons/OzzModz/Lessons/Admin/Controller/Category.php at line 182
    OzzModz\Lessons\Admin\Controller\Category->actionSave() in src/XF/Mvc/Dispatcher.php at line 362
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2824
    XF\App->run() in src/XF.php at line 806
    XF::runApp() in admin.php at line 15
 
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'ozzmodz_quiz_category_id' in 'SET' in src/XF/Db/AbstractStatement.php at line 230

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 323
    XF\Db\AbstractAdapter->update() in src/XF/Mvc/Entity/Entity.php at line 1583
    XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1306
    XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 72
    XF\Mvc\FormAction->{closure:XF\Mvc\FormAction::saveEntity():70}() in src/XF/Mvc/FormAction.php at line 190
    XF\Mvc\FormAction->run() in src/addons/OzzModz/Lessons/Admin/Controller/Category.php at line 182
    OzzModz\Lessons\Admin\Controller\Category->actionSave() in src/XF/Mvc/Dispatcher.php at line 362
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2824
    XF\App->run() in src/XF.php at line 806
    XF::runApp() in admin.php at line 15
please try the latest quizzes patch
 
.jpg, .jpeg, .jpe, .png, .gif, .pdf, .csv

add-ons active: [XB] Lessons, [XB] Quizzes
I believe this is due to image optimization being enabled and the webp extension not being included in the "Allowed attachment file extensions for lessons & classrooms"

This will be fixed in the next update. Please add it manually and check.
 


I’ve just tested this on a clean installation of XF 2.3.7, and everything works fine.
You only need to manually add WEBP to the list of allowed classroom attachment extensions, or update to Patch Level 2, where it’s added automatically.


PS: The default error when uploading attachment files should appear inline, not in a modal window as shown in your screenshots.
1768258297542.webp


This behavior may be caused by template modifications, JavaScript errors, or possibly a previously disabled add-on that left some changes behind.
 
Back
Top