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

SyntaxError: Unexpected token С in JSON at position 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7 regressions
    • Fix Version/s: None
    • Component/s: Blocks, Calendar

      Description

      Hello!
      Please help me!

      When displaying the home page with timelime and calendar blocks, the following error occurs: SyntaxError: unexpected C token in JSON at position 10.

      My version of Moodle 3.7.2 (Build: 20190909), my theme is New Learning

      The error occurred after updating from moodle 3.5

      I attach a callstack from JS-console browser:

      at JSON.parse (<anonymous>)
      at z.stringHelper (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:3:3242)
      at z.<anonymous> (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:3:4152)
      at n.renderSection (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:4789)
      at n.renderTokens (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:4043)
      at n.renderPartial (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:5113)
      at n.renderTokens (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:4120)
      at n.renderSection (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:4523)
      at n.renderTokens (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:4043)
      at n.renderPartial (https://elearn.ido.net.ru/lib/requirejs.php/1589297732/core/first.js:32:5113) undefined

      Sincerely, Nikolay Filippov

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nikolay.al.filippov Nikolay Filippov
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: