• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Server errors

Levina

New Member
UBS Premium
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.


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&amp%3Bcontext%5Bcategory_id%5D=4&amp%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) {
  }
}
 
Back
Top