error/generalexceptionmessage on the website

error/generalexceptionmessage on the website

by Mariia Honnen -
Number of replies: 2

Dear community,

when i wanted to open my moodle today, suddenly i got this error "error/generalexceptionmessage". I can not get into the moodle and i can not get more information about the problem.  I just have this error on my screen.

i didn't do update and i didn't install / update plugins lately. I tried to look into debugging, but without success..

Moodle 3.9.2 (Build: 20200914)

How can i solve this error?


I would be very thankful for your help.

Mariia

Average of ratings: -
In reply to Mariia Honnen

Re: error/generalexceptionmessage on the website

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Enable debugging by inserting the following lines to config.php:

@error_reporting(E_ALL | E_STRICT);
@ini_set('display_errors', '1');
$CFG->debug = (E_ALL | E_STRICT);
$CFG->debugdisplay = 1;

Put these before the require_once(__DIR__ . '/lib/setup.php'); line. This should show more details with the error.

If there are still no details, check the error log on the web server for any messages that might be related to this problem.

Average of ratings: Useful (1)
In reply to Leon Stringer

Re: error/generalexceptionmessage on the website

by Mariia Honnen -
Thank you very much for the help! After the adding your lines, system was reanimated... The error wasn't shown any more.
In the system log i could see the task, that was repeated every minute and every day. I think, it stopped the system (maybe cache was full).
The problem is solved! Thank you!