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

de_utf8/admin.php There is an error with the `curlcache` string that is causing notices

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.9.5
    • 2.0
    • Language
    • None
    • MOODLE_20_STABLE
    • MOODLE_19_STABLE

      When testing changes I was making to the auth language files I found that the `curlcache` string in de_utf8/admin.php is causing multiple notices to be shown.

      Notice: Trying to get property of non-object in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 117
      Notice: Trying to get property of non-object in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 118
      Notice: Undefined variable: CFG in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 378
      Notice: Trying to get property of non-object in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 378
      + several more (note the CFG one)

      The error can be replicated by simply logging in, changing your language to `de` and then browsing to the admin section.

      The error is (I believe) caused because $a is used several time throughout the string sometimes as an object, sometime just '$a'. I'm not too sure what $a is meant to be and as I don't speak that language I really have no clue what is going on. If someone who understands de this could please check it and make a decision about what it should be a fix it that would be fantastic

            koen Koen Roggemans
            samhemelryk Sam Hemelryk
            Helen Foster Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.