When I click on the Calculation Tab, the page displays but I get these errors:
Warning: array_shift() expects parameter 1 to be array, object given in /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/component.class.php on line 76
Warning: Invalid argument supplied for foreach() in /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/component.class.php on line 78
When I click on the Add button, the page does not display and I just get an otherwise blank screen that says:
Warning: array_shift() expects parameter 1 to be array, object given in /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/component.class.php on line 76
Warning: Invalid argument supplied for foreach() in /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/component.class.php on line 78
Warning: array_shift() expects parameter 1 to be array, object given in /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/sum/plugin.class.php on line 68
Warning: Invalid argument supplied for foreach() in /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/sum/plugin.class.php on line 70
Warning: Cannot modify header information - headers already sent by (output started at /var/www/moodle2-dev/moodle/blocks/configurable_reports/components/calcs/component.class.php:76) in /var/www/moodle2-dev/moodle/blocks/configurable_reports/editplugin.php on line 203
What do I need to do? I'm using Moodle 2.2.