• Resolved fredjensen

    (@fredjensen)


    Just upgraded to latest WordPress. Calendar shows error as “JSON.parsit is not a function”

    Any ideas, or do I have to downgrade?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @fredjensen. Thank you for using the calendar. I’m sorry you’re having trouble with it. The calendar works well with WordPress 6.1.1. You can see it running on our test blog here:

    https://www.zackgrossbart.com/extras/sandbox/wp-admin/edit.php?page=cal

    The error that you’re seeing normally comes when the JavaScript in the calendar has a conflict with another plugin or theme on your site. Did you upgrade anything else when you upgraded WordPress?

    Thread Starter fredjensen

    (@fredjensen)

    Thanks. I didn’t upgrade anything else – Just WordPress. I’ll hunt some more – maybe try disabling plugins as required…

    Thread Starter fredjensen

    (@fredjensen)

    I’ve got a different error now….

    [Log] JQMIGRATE: Migrate is installed, version 3.3.2 (load-scripts.php, line 5)
    [Error] ReferenceError: Can’t find variable: wpColorPickerL10n
    (anonymous function) (wp-color-picker-alpha.min.js:11:487)
    Global Code (wp-color-picker-alpha.min.js:11:6624)
    [Error] TypeError: undefined is not an object (evaluating ‘a.browser.version’)
    (anonymous function) (edcallib.min.js:29:467)
    Global Code (edcallib.min.js:29:576)
    [Log] Error loading calendar: TypeError: jQuery(“#edcal_scrollable”).scrollable is not a function. (In ‘jQuery(“#edcal_scrollable”).scrollable({vertical:!0,size:edcal.weeksPref,keyboard:!1,keyboardSteps:1,speed:100,easing:”linear”})’, ‘jQuery(“#edcal_scrollable”).scrollable’ is undefined) (edit.php, line 1448)
    [Error] undefined
    showFatalError (edit.php:1449)
    (anonymous function) (edit.php:1450:125)
    e (load-scripts.php:2:30044)
    (anonymous function) (load-scripts.php:2:30342)

    I’ve seen an error like this one before. The calendar depends on a jQuery plugin to provide scrolling ability in the calendar. This error happens when another plugin or theme has loaded JavaScript into the admin console that conflicts with the scrollable plugin.

    Thread Starter fredjensen

    (@fredjensen)

    Thanks for the info. I’ve been busy deactivating plugins but haven’t found the culprit yet

    Plugin Author Mej de Castro

    (@mej)

    Hi @fredjensen ,

    It’s been a while. I was wondering if you have found the culprit?

    Thanks,
    Mej

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘JSON.parsit error’ is closed to new replies.