Fixed Get an error when trying to move resources item to another category

Affected version
2.3 RC4
I get this when I try to move resource items to another category

PHP:
InvalidArgumentException: Attempted to convert NULL to integer [content_container_id] in src/XF/Mvc/Entity/Entity.php at line 802
XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 756
XF\Mvc\Entity\Entity->setAsSaved() in src/XF/Mvc/Entity/Entity.php at line 1395
XF\Mvc\Entity\Entity->fastUpdate() in src/addons/XFRM/Service/ResourceItem/Move.php at line 128
XFRM\Service\ResourceItem\Move->move() in src/addons/XFRM/InlineMod/ResourceItem/Move.php at line 130
XFRM\InlineMod\ResourceItem\Move->applyToEntity() in src/XF/InlineMod/AbstractAction.php at line 175
XF\InlineMod\AbstractAction->applyInternal() in src/addons/XFRM/InlineMod/ResourceItem/Move.php at line 101
XFRM\InlineMod\ResourceItem\Move->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 161
XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineModController.php at line 133
XF\Pub\Controller\InlineModController->actionPerform() in src/XF/Mvc/Dispatcher.php at line 358
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2702
XF\App->run() in src/XF.php at line 795
XF::runApp() in index.php at line 23
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFRM release (2.3.0 RC 5).

Change log:
Fix not being able to move resources between categories
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom