Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Critical Server Error after update, pretty new to grav

Started by ChuckOrsi 3 years ago · 1 replies · 411 views
3 years ago

Updated Grav from older version (v1.0.10) to latest and now the site doesn't work. Cannot access front or backend.

php version in use after server update: 8.1.7

Please help!

Here's the info about the error:

Server Error

Sorry, something went terribly wrong!

0 - abs(): Argument #1 ($num) must be of type int|float, string given

For further details please review your logs/ folder, or enable displaying of errors in your system configuration.
3 years ago

@chukster1000, A flawless upgrade from Grav 1.0.10 to 1.7.41.1 could hardly be expected :-)

Also the issue may be one of the plugins, or the theme. They are probably as old as Grav 1.0.10 is...

  • Did you upgrade the themes/plugins using the command prompt?
  • What does the log file tell you?
    The stacktrace will give some hints as of where the error has been thrown.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 166 1 week ago
Support · by nwhitfield, 1 week ago
2 143 1 week ago
Support · by stell, 3 weeks ago
5 376 2 weeks ago
Support · by gravinator, 1 month ago
5 570 2 weeks ago
Support · by Gravver, 3 weeks ago
6 355 3 weeks ago