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

Fixed Error: Undefined constant "XenAddons\LD\Entity\Item"

Bob

Developer
Staff member
LD Version
2.3.2
XenForo Version
2.3.3
PHP Version
N/A
Database & Version
N/A
Are there any errors being throw?
Yes
  • Error: Undefined constant "XenAddons\LD\Entity\Item"
  • src/addons/XenAddons/LD/Entity/ItemRating.php:852
  • Generated by: Bob
  • Sep 16, 2024 at 8:56 AM

Stack trace​

#0 src/addons/XenAddons/LD/Entity/ItemRating.php(806): XenAddons\LD\Entity\ItemRating->ratingMadeVisible()
#1 src/XF/Mvc/Entity/Entity.php(1324): XenAddons\LD\Entity\ItemRating->_postSave()
#2 src/addons/XenAddons/LD/Service/Item/Rater.php(307): XF\Mvc\Entity\Entity->save(true, false)
#3 src/XF/Service/ValidateAndSavableTrait.php(42): XenAddons\LD\Service\Item\Rater->_save()
#4 src/addons/XenAddons/LD/Pub/Controller/Item.php(1172): XenAddons\LD\Service\Item\Rater->save()
#5 src/XF/Mvc/Dispatcher.php(362): XenAddons\LD\Pub\Controller\Item->actionRate(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('XenAddons\\LD:It...', 'Rate', Object(XF\Mvc\RouteMatch), Object(XenAddons\LD\Pub\Controller\Item), NULL)
#7 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenAddons\LD\Pub\Controller\Item), NULL)
#8 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#10 src/XF.php(806): XF\App->run()
#11 index.php(23): XF::runApp('XF\\Pub\\App')
#12 {main}
 
Back
Top