Hello Bob!
I think i have found a small bug on AMS:
Steps to reproduce: Attach a file on the article, like a image for cover. Write some text. Click on the Preview Button on the Editor and get this error:
Note that i can still post the article, and if i get back to editing, the error is gone if i click Preview again.
- XenForo Version String: XenForo 2.2.2
- Addon Version String: AMS 2.2.4
- Can you reproduce it here? No.
I think i have found a small bug on AMS:
Steps to reproduce: Attach a file on the article, like a image for cover. Write some text. Click on the Preview Button on the Editor and get this error:
Code:
Error: Call to a member function getMaxAllowedAttachmentsPerArticle() on null in src/addons/XenAddons/AMS/Attachment/Article.php at line 57
XenAddons\AMS\Attachment\Article->getConstraints() in src/XF/Repository/Attachment.php at line 21
XF\Repository\Attachment->getEditorData() in src/addons/XenAddons/AMS/Pub/Controller/Category.php at line 448
XenAddons\AMS\Pub\Controller\Category->actionPreview() 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 2300
XF\App->run() in src/XF.php at line 488
XF::runApp() in index.php at line 20
Note that i can still post the article, and if i get back to editing, the error is gone if i click Preview again.