Issue with Site Home display

Issue with Site Home display

by Ryan Cauchi -
Number of replies: 0

Moodle Version: 3.8.2

We have 2 servers one for development and the other is the Production server. We are experiencing an issue with the production server when going in Site Admin. First it was throwing an error " Exception - Class 'mod_forum\local\container' not found. We tried to check the development server and all its working fine. See screenshot 1.

Upon installing moodle, the directory mod was backed up in case of an issue with plugins. Found out that container.php was found in this backup so i had copy and paste it accordingly (i pasted it into /var/www/html/moodle/mod/forum/classes/local, note that local directory is not visible in development server and its still works!). Then i got another error in Site home (Screenshot 2) - Exception - Argument 15 passed to mod_forum\local\entities\forum::__construct() must be of the type int, null given, called in [dirroot]/mod/forum/classes/local/factories/entity.php on line 107.

Appreciate any help in order to solve this issue.

Attachment Screeshot 1.JPG
Attachment Screeshot 2.JPG
Average of ratings: -