• 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.

Undefined variable $attachmentRepo

thomas1

New Member
AMS Premium
CAS Premium
EMS Early Adopter
IMS Premium
KBS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
LD Version
2.3.10
XenForo Version
2.3.7
PHP Version
8.4.11
Database & Version
MySQL 10.6.23 (10.6.23-MariaDB-log)
Are there any errors being throw?
Yes
Ever since upgrading to LD 2.3.10, we have received a lot of these:

Code:
ErrorException: [E_WARNING] Undefined variable $attachmentRepo src/addons/XenAddons/LD/Pub/Controller/Item.php:448
Generated by: Unknown account 5 Sep 2025 at 07:30

Stack trace

#0 src/addons/XenAddons/LD/Pub/Controller/Item.php(448): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/xxxxxx/d...', 448)
#1 src/XF/Mvc/Dispatcher.php(362): XenAddons\LD\Pub\Controller\Item->actionView(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XenAddons\\LD\\Pu...', 'View', Object(XF\Mvc\RouteMatch), Object(XenAddons\LD\Pub\Controller\Item), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenAddons\LD\Pub\Controller\Item), Object(XF\Mvc\Reply\Reroute))
#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(62) "/dir/society-for-the-preservation-of-japanese-art-swords.6594/"
  ["referrer"] => string(199) "https://www.google.com/url?q=https://xxxxx/dir/society-for-the-preservation-of-japanese-art-swords.6594/&sa=U&sqi=2&ved=2ahUKEwjGpoL-lMCPAxW0EUQIHWJeEUEQFnoECFcQAQ&usg=AOvVaw05-DoxJDjB8JwQlKxg9BEm"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top