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

theme_boost: coding error while editing url activity

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 3.2
    • None
    • Resource, Themes
    • None
    • MOODLE_32_STABLE

    Description

      While editing existing url activity, coding error is detected:

      Debug info: Object of class action_link could not be converted to string
      Error code: codingerror
      Stack trace:
      line 426 of /lib/setuplib.php: coding_exception thrown
      line 79 of /var/www/vhosts/qa.moodle.net/data_2/localcache/mustache/1478233696/boost/__Mustache_b5e34ba17965bb955d9bdbe8c4c90ffe.php: call to default_error_handler()
      line 125 of /var/www/vhosts/qa.moodle.net/data_2/localcache/mustache/1478233696/boost/__Mustache_b5e34ba17965bb955d9bdbe8c4c90ffe.php: call to __Mustache_b5e34ba17965bb955d9bdbe8c4c90ffe->section19e68e16e76be53d73bd2aa359398959()
      line 17 of /var/www/vhosts/qa.moodle.net/data_2/localcache/mustache/1478233696/boost/__Mustache_b5e34ba17965bb955d9bdbe8c4c90ffe.php: call to __Mustache_b5e34ba17965bb955d9bdbe8c4c90ffe->section5eb2459d2fb07f26ec1c98d56267fb4d()
      line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_b5e34ba17965bb955d9bdbe8c4c90ffe->renderInternal()
      line 172 of /lib/outputrenderers.php: call to Mustache_Template->render()
      line 119 of /theme/boost/classes/output/core_renderer.php: call to renderer_base->render_from_template()
      line 83 of /theme/boost/classes/output/core_renderer.php: call to theme_boost\output\core_renderer->navbar()
      line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_boost\output\core_renderer->full_header()
      line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
      line 71 of /var/www/vhosts/qa.moodle.net/data_2/localcache/mustache/1478233696/boost/__Mustache_ff545986d490be28761be38b21b62d6e.php: call to Mustache_Context->findDot()
      line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_ff545986d490be28761be38b21b62d6e->renderInternal()
      line 172 of /lib/outputrenderers.php: call to Mustache_Template->render()
      line 55 of /theme/boost/layout/columns2.php: call to renderer_base->render_from_template()
      line 1102 of /lib/outputrenderers.php: call to include()
      line 1032 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 197 of /course/modedit.php: call to core_renderer->header()
      

      Steps to reproduce:

      1. Go to a course with existing url resource (if not one create it)
      2. Try edit and you will observe above coding error.

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              rajeshtaneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: