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]: upgrade to v3.5.4 from v3.4.1 error #1013

Closed BlueRayNL closed 1 year ago

BlueRayNL commented 2 years ago

What happened?

after running update from V3.4.1 to V3.5.4 getting this error on opening the admin panel ->

ArgumentCountError: Too few arguments to function Admin\Classes\UserPanel::listLocations(), 0 passed in /home/domain/hygwhttxda/public_html/storage/framework/views/fdcb1db46172a61f37bbe493ea9e35e4733a6f45.php on line 29 and exactly 3 expected in /home/domain/hygwhttxda/public_html/app/admin/classes/UserPanel.php:91 Stack trace:

0 /home/domain/hygwhttxda/public_html/storage/framework/views/fdcb1db46172a61f37bbe493ea9e35e4733a6f45.php(29): Admin\Classes\UserPanel::listLocations()

1 /home/domain/hygwhttxda/public_html/app/system/traits/ViewMaker.php(225): include('/home/domain...')

2 /home/domain/hygwhttxda/public_html/app/system/traits/ViewMaker.php(187): Admin\Classes\BaseWidget->makeFileContent()

What did you expect to happen?

upgrade not running succesfully.

Version

3.5.x

What browser are you seeing the problem on?

Chrome

Relevant log output

ArgumentCountError: Too few arguments to function Admin\Classes\UserPanel::listLocations(), 0 passed in /home/domain/hygwhttxda/public_html/storage/framework/views/fdcb1db46172a61f37bbe493ea9e35e4733a6f45.php on line 29 and exactly 3 expected in /home/domain/hygwhttxda/public_html/app/admin/classes/UserPanel.php:91
Stack trace:
#0 /home/domain/hygwhttxda/public_html/storage/framework/views/fdcb1db46172a61f37bbe493ea9e35e4733a6f45.php(29): Admin\Classes\UserPanel::listLocations()
#1 /home/domain/hygwhttxda/public_html/app/system/traits/ViewMaker.php(225): include('/home/domain...')
#2 /home/domain/hygwhttxda/public_html/app/system/traits/ViewMaker.php(187): Admin\Classes\BaseWidget->makeFileContent()
BlueRayNL commented 1 year ago

any updates ??

BlueRayNL commented 1 year ago

found it cache issue