Moodle

When in reset.php for any course and you click "Select Default" you get: Fatal error: Unsupported operand types in 'moodle location'/corse/reset.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.5
  • Component/s: Course, Usability
  • Labels:
    None
  • Environment:
    Ubuntu Server 8.04 LTS, tested in an LVS load balanced cluster with NFS back end, and on a single install moodle.
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

To recreate the error:

1. Go into any moodle course as an admin and click on reset.
2. Then scroll down to the bottom of the page and click on "Select Default"
3. Then that's when you get the error: Fatal error: Unsupported operand types in /web location of moodle/course/reset_form.php on line 114

I've been able to recreate this issue in our production environment which is 2 servers with LVS as the load balancers going to 2 web servers using NFS as the moodle data share, and also houses the moodle session information, and our single web server test environment with everything local. Both solutions use a seperate SQL server.

Activity

Hide
Helen Foster added a comment -

Shimron, thanks for your report.

I was unable to recreate the error on my 1.9.4+ install or on http://demo.moodle.org/

Reassigning to moodle.com for consideration.

Show
Helen Foster added a comment - Shimron, thanks for your report. I was unable to recreate the error on my 1.9.4+ install or on http://demo.moodle.org/ Reassigning to moodle.com for consideration.
Hide
Petr Škoda (skodak) added a comment -

Most probably you have installed some buggy contrib module, in any case I have made the code more tollerant.
thanks for thereport

Show
Petr Škoda (skodak) added a comment - Most probably you have installed some buggy contrib module, in any case I have made the code more tollerant. thanks for thereport

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: