Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-3510

invalid argument and fatal error related to blocks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
      None
    • Environment:
      All
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      I just upgraded to 1.5. When I change course settings, and save them, I suddenly get the following messages (the url displayed is http://www.glyphdoctors.com/course/edit.php):

      Warning: Invalid argument supplied for foreach() in /home/mine/public_html/lib/blocklib.php on line 168

      Fatal error: Cannot break/continue 1 level in /home/mine/public_html/lib/blocklib.php on line 188

      My changes are saved, but I don't know what to make of these messages. I haven't made any hacks to blocks or the blocklib.php file.

      I'm using Moodle latest downloaded today.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: