Fixed Each breadcrumb provide a 'value' key

Affected version
2.0 Beta 2


Active member
These errors that appear to be related to the Approval Queue have appeared in the Server Error Logs:

ErrorException: Template error: Each breadcrumb provide a 'value' key src/XF/Template/Templater.php:1304

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Each breadcrumb...', '/home/afellows/...', 1304, Array)
#1 /home/afellows/domains/ trigger_error('Each breadcrumb...', 512)
#2 /home/afellows/domains/ XF\Template\Templater->breadcrumbs(Array)
#3 /home/afellows/domains/ XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#4 /home/afellows/domains/ XF\Template\Templater->renderTemplate('xfrm_resource_w...', Array, false)
#5 /home/afellows/domains/ XF\Template\Templater->applyWrappedTemplate('\n\n\n\n\n\n\t\n\t\n\t\n\t\t\n...')
#6 /home/afellows/domains/ XF\Template\Templater->renderTemplate('public:xfrm_res...', Array)
#7 /home/afellows/domains/ XF\Template\Template->render()
#8 /home/afellows/domains/ XF\Mvc\Renderer\Html->renderView('XFRM:ResourceIt...', 'public:xfrm_res...', Array)
#9 /home/afellows/domains/ XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 /home/afellows/domains/ XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 /home/afellows/domains/ XF\Mvc\Dispatcher->run()
#12 /home/afellows/domains/ XF\App->run()
#13 /home/afellows/domains/ XF::runApp('XF\\Pub\\App')
#14 {main}

Request State:
array(4) {
  ["url"] => string(59) "/files/goahead-diamond-bus-repaint-for-dennis-dart-mpd.826/"
  ["referrer"] => string(45) ""
  ["_GET"] => array(0) {
  ["_POST"] => array(0) {

Chris D

XenForo developer
Staff member
Actually seems to be related to the RM (the URL being accessed is presumably from the RM, the referrer is the approval queue).

Could you identify which category this resource is from?


And then run this query and let us know the results?
SELECT breadcrumb_data
FROM xf_rm_category
WHERE category_id = 1234
Where 1234 is the category_id.

Chris D

XenForo developer
Staff member
The workaround for now is to go and edit the category in the Admin CP and edit the display order of the category and save, this should rebuild the information for that category. You may need to do it on any other categories that trigger the same problem.

Some of the content within the breadcrumb_data field has a different name and specifically this is what is causing the value field to be blank for some of the crumbs.


XenForo developer
Staff member
This should be fixed for future upgrades to XFRM2. If you have this issue now, you can use the instructions above to force a cache rebuild (which is all that's needed).