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

"Coding Error Detected" message saving Page resources when Description box empty


    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Resource
    • Labels:
    • Affected Branches:
    • Fixed Branches:


      The error message is this and only happens on some resources. It seems to occur when editing an existing Page resource.... On saving the Page this is logged (and the page doesn't save)

      Default exception handler: Coding error detected, it must be fixed by a programmer: Url parameters values can not be arrays! Debug: \n

      • line 393 of /lib/weblib.php: coding_exception thrown
        \n* line 446 of /lib/weblib.php: call to moodle_url->params()\n
      • line 3402 of /lib/navigationlib.php: call to moodle_url->param()\n
      • line 3211 of /lib/navigationlib.php: call to settings_navigation->generate_user_settings()\n
      • line 2579 of /lib/navigationlib.php: call to settings_navigation->load_user_settings()\n
      • line 583 of /lib/pagelib.php: call to settings_navigation->initialise()\n
      • line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()\n
      • line 134 of /blocks/settings/block_settings.php: call to moodle_page->__get()\n
      • line 279 of /blocks/moodleblock.class.php: call to block_settings->get_content()\n
      • line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()\n
      • line 882 of /lib/blocklib.php: call to block_base->get_content_for_output()\n
      • line 934 of /lib/blocklib.php: call to block_manager->create_block_contents()\n
      • line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()\n
      • line 6 of /theme/formfactor/layout/general.php: call to block_manager->region_has_content()\n
      • line 627 of /lib/outputrenderers.php: call to include()\n
      • line 585 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()\n
      • line 587 of /course/modedit.php: call to core_renderer->header()\n, referer: http://my.moodle.site/course/modedit.php?update=4&return=1&sesskey=eHkDwqXdYZ

      I can reproduce this and will continue to investigate but someone might have some ideas or things to check

        Gliffy Diagrams


            Issue Links



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


                  • Created:
                    Fix Release Date: