Error while Updating Settings

BollyHolic

Network license
V3 Beta tester
▶ Reproduction steps
  1. Updated to Latest Beta.
  2. Trying to Enable & Disable some settings after a long time.
  3. Don't know Latest update cause this issue or not.
  4. My PHP Version- PHP 7.4 (cPanel)
😢 Unexpected result

The website responds with a 500 error.
Screenshot_793.jpg

📃 Error log message

[22-Apr-2021 17:48:56 America/Toronto]
Aw, snap! Internal Server Error [debug @ error_log] - https://v3-docs.chevereto.com/setup/troubleshoot/debug.html

> ErrorException [0]: Invalid argument supplied for foreach()
At /app/routes/route.dashboard.php:1022

Stack trace:
#0 /app/routes/route.dashboard.php(1022): G\errorsAsExceptions(2, 'Invalid argument supplied for foreach()', '/app/routes/route.dashboard.php', 1022, Array)
#1 /lib/G/classes/class.handler.php(230): G\Handler->{closure}(G\Handler)
#2 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#3 /app/web.php(466): G\Handler->__construct(Array)
#4 /app/loader.php(238): require_once('/app/web.php')
#5 /index.php(20): include_once('/app/loader.php')
 

lovedigit

Network license
V3 Beta tester
Big Chevereto
Yes, it is a bug, but not everyone is facing it. It usually happens (only on v3.20.0.beta.1) when you try to update logo, or other website attribute.
Once this error is hit, the error message will be shown for all subsequent requests that requires route.dashboard
 
Last edited:

lovedigit

Network license
V3 Beta tester
Big Chevereto
It will be fixed in next v3 beta update.
See "Pending release" label on this post title/subject.
 
Last edited:
Top