Error communication with server

Error communication with server

by Eric W -
Number of replies: 4

Hello,

We have an error message since the migration when we start Moodle : "en error occurred communicating with the server"

If we close the popup, the connexion is ok. But the popup appear often. It's very unpleasant.

Before migration we have not this problem.

We have migrated moodle from 3.5.1 to 3.7

We have migrated php 7.0 to 7.2

Have you an idea ?


Attachment error.png
Average of ratings: -
In reply to Eric W

Re: Error communication with server

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Switch on Debugging.
Switch on your web browser's Javascript console.
Reproduce the error
Does the console show any (red) error messages?
Is anything logged in your web server's error log?
In reply to Howard Miller

Re: Error communication with server

by Eric W -
Une erreur est survenue lors de la communication avec le serveur
File: ...classes/session/manager.php
Line: 92
Stack trace:

Error code: Une erreur est survenue lors de la communication avec le serveur
$a contents:
* line 92 of /lib/classes/session/manager.php: core\session\exception thrown
* line 794 of /lib/setup.php: call to core\session\manager::start()
* line 32 of /config.php: call to require_once()
* line 32 of /lib/ajax/service.php: call to require_once()