Error Listing Routes and Displaying Images
-
When I run the command:
php artisan route:listI get the following error:
In ResourceController.php line 47:
Trying to access array offset on value of type nullLooking in the ResourceController.php file, it's trying to access the array of request('_config') which appears to be null.
I found this when trying to troubleshoot why images are not being displayed when trying to edit a product. Image links like:
http://www.example.com/storage/product/43/VY7SVgn5wZhKSemkzbNeA6znKy1IS32gfYaDksoa.png
are returning 404 errors. The file does exist. I was trying to determine the route to see what was happening. Images on the front-end are displaying fine, only not while editing products in the admin section.Thanks
Peter
-
@tomatopi
find the solution here for broken image;
https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions/1 -
The Storage re-linking worked. During install, the artisan link didn't work and I had manually created the link.
php artisan route:list
is still broken.
Peter
-
yes,
php artisan route:list will cause issue, we will update you once this issue fixed -
Thanks.
Great application. Nice work.