Dannymh
Active member
I have some things that operate off of custom fields. I changed a custom thread field from numeric and made as whole number to unchecking that box and started getting this error. I can't seem to find where or what might be causing it. I changed the thread field back by rechecking the box and the error is still there.
Any ideas?
Any ideas?
Code:
[LIST]
[*]InvalidArgumentException: The error value must be a string or an object which can be cast to a string
[*]src/XF/Mvc/Reply/Error.php:79
[*]Generated by: Dan
[*]May 9, 2025 at 6:04 PM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/XF/Mvc/Reply/Error.php(45): XF\Mvc\Reply\Error->validateErrorValue(NULL)
#1 src/XF/Mvc/Reply/Error.php(20): XF\Mvc\Reply\Error->setErrors(Array, false)
#2 src/XF/Mvc/Dispatcher.php(367): XF\Mvc\Reply\Error->__construct(Array)
#3 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Otbsave', Object(XF\Mvc\RouteMatch), Object(OntheBox\Auction\Pub\Controller\Thread\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OntheBox\Auction\Pub\Controller\Thread\Thread), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2513): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')