Error configurable reports - moodle 2.7: Undefined property: stdClass::$remote

Error configurable reports - moodle 2.7: Undefined property: stdClass::$remote

by Dennys Patricio Villacrés Jiménez -
Number of replies: 0

Hello everybody.

I work in Moodle 2.7.2. I have a cluster with 1 balance load (nginx), 2 moodles 2.7 and one remote database server with mariadb.

Everything is working fine, but the reports are giving me this mistake (in developer mode):

Notice: Undefined property: stdClass::$remote in /var/www/html/moodle/blocks/configurable_reports/report.class.php on line 57

The line 57 is the next:

 if (!empty($remotedbhost) and !empty($remotedbname) and !empty($remotedbuser) and !empty($remotedbpass) and $this->config->remote) {

I have checked the configuration of this block and its fine. Actually i receive information from the report, but just in graphic mode, when I download the report in excel it is damaged. The only message that appears in excel is: Undefined property: stdClass::$remote in /var/www/html/moodle/blocks/configurable_reports/report.class.php on line 57


Could you help me please?


Thanks a lot.

Average of ratings: -