- UBS Version
- 2.3.11
- XenForo Version
- 2.3.7
- PHP Version
- 8.3.16
- Database & Version
- 10.4.32-MariaDB
- Are there any errors being throw?
- Yes
Hi,
A week or so ago I suddenly had a few pages of server errors, all connected to the UBS add-on. Since then I keep having them every now and again. They look like this. This one is from a few hours ago. Since they keep occurring I thought I'd report it.
A week or so ago I suddenly had a few pages of server errors, all connected to the UBS add-on. Since then I keep having them every now and again. They look like this. This one is from a few hours ago. Since they keep occurring I thought I'd report it.
Code:
• Error: Call to a member function canUploadAndManageCommentAttachments() on null
• src/addons/XenAddons/UBS/Attachment/Comment.php:33
• Generated by: Unknown account
• 6 January 2026 at 17:17
Stack trace
#0 src/XF/Pub/Controller/AttachmentController.php(62): XenAddons\UBS\Attachment\Comment->canManageAttachments(Array, NULL)
#1 src/XF/Mvc/Dispatcher.php(362): XF\Pub\Controller\AttachmentController->actionUpload(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Attachment', 'Upload', Object(XF\Mvc\RouteMatch), Object(OzzModz\AttachmentExifData\XF\Pub\Controller\Attachment), NULL)
#3 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\AttachmentExifData\XF\Pub\Controller\Attachment), NULL)
#4 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#6 src/XF.php(806): XF\App->run()
#7 index.php(23): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(113) "/attachments/upload?type=ubs_comment&%3Bcontext%5Bcategory_id%5D=4&%3Bhash=7fb98caa18d91ad617c96f6ce06df104"
["referrer"] => bool(false)
["_GET"] => array(4) {
["/attachments/upload"] => string(0) ""
["type"] => string(11) "ubs_comment"
["amp;context"] => array(1) {
["category_id"] => string(1) "4"
}
["amp;hash"] => string(32) "7fb98caa18d91ad617c96f6ce06df104"
}
["_POST"] => array(0) {
}
}