tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
2.98k stars 976 forks source link

[Bug]: #1000

Closed Kobytoo closed 2 years ago

Kobytoo commented 2 years ago

What happened?

Opened menu items, selected set up button, added column locations.

The menu items listing no longer displays data but throws error 500. The page will only display rows where no menu item has been assigned to a location.

To repair this I had to update my locationables table to remove any rows of _locationabletype menus

What did you expect to happen?

Location values for any menu items assigned to locations should be shown.

Version

3.5.x

What browser are you seeing the problem on?

Chrome, Safari, Microsoft Edge

Relevant log output

ErrorException: Error: Call to a member function pluck() on string
in /var/www/tamarind/public_html/app/admin/traits/Stockable.php:52
ryanmitchell commented 2 years ago

Would you be able to provide a full error trace rather than just the first line?

sampoyigi commented 2 years ago

Fixed in v3.5.3 (https://github.com/tastyigniter/TastyIgniter/commit/5e84a71261f1e42df0561c47efa226b94705b644)