Voyager: "Undefined variable: allCategories (View: C:\Users\JeuLun\Desktop\E-commerce\resources\views\vendor\voyager\products\edit-add.blade.php)"

Created on 26 Mar 2018  路  3Comments  路  Source: the-control-group/voyager

  • Laravel Version: 5.5
  • Voyager Version: 1.0
  • PHP Version: 7.2.3

Description:
The code associated with the issue:
<?php $__currentLoopData = $allCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

Steps To Reproduce:
Whenever I wanted to add/edit a product.

invalid user error

Most helpful comment

As this is not a Voyager view you have to provide some more information/input like your view-file and what exactly you are trying to do and how
And your exact Voyager version (you can see it in the footer)

All 3 comments

As this is not a Voyager view you have to provide some more information/input like your view-file and what exactly you are trying to do and how
And your exact Voyager version (you can see it in the footer)

Ah very sorry for your time taken, its just me forgotten to insert my controller name for the BREAD info....
Thanks for replying instantly.

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MikadoInfo picture MikadoInfo  路  3Comments

kevinjon27 picture kevinjon27  路  3Comments

Nagendra1421 picture Nagendra1421  路  3Comments

craigb88 picture craigb88  路  3Comments

duongsieu picture duongsieu  路  3Comments