• Resolved Eric

    (@ekyle)


    WordPress 6.4.2
    PHP 8.0.22
    MySQL 8.0.16

    Twenty Sixteen 3.1

    PublishPress Statuses 1.0.6.4
    The Events Calendar 6.3.1
    The Events Calendar Pro 6.3.1

    When creating/editing a post/page it is problematic to Publish/Update due to JavaScript errors related to jQuery.

    Uncaught TypeError: $ is not a function
        <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.4:12
        setInterval handler* https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.4:12
    custom-status-block.js:12:1425
    Uncaught TypeError: $ is not a function
    https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.4:12
    setInterval handler* https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.4:12
    custom-status-block.js:12:1425

    The error repeats itself in a loop and tends to bog down the browser likely causing the issues with the Publish/Update process.

    Several themes were tested and the problem was isolated to this combination of plugins. Any assistance you can provide would be greatly appreciated.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @ekyle

    Thanks for using our plugin.

    Could you confirm if this issue also happens on the free version of The Events Calendar? Or this issue only happens on Pro version?

    Thanks,

    Plugin Author Kevin Behrens

    (@kevinb)

    @ekyle Thanks for reporting the TEC conflict. Can you confirm that today’s Statuses 1.0.6.5 release fixes it on your installation?

    Thread Starter Eric

    (@ekyle)

    Sure thing. I updated to Statuses 1.0.6.5 and unfortunately the problem remains. The console error repeats roughly 2 to 3 times per second.

    Uncaught TypeError: $ is not a function
        sideEffectL10nManipulation https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.5:10
        <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.5:12
    35 custom-status-block.js:10:50
    Plugin Author Kevin Behrens

    (@kevinb)

    @ekyle Can you let me know if the “Development version” I just committed gives you a different result? There are no other changes from the 1.0.6.5 release.

    Thread Starter Eric

    (@ekyle)

    The result is different though there is still an error reported.

    Uncaught TypeError: $ is not a function
        querySelectableStatuses https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:2
        jQuery 9
        querySelectableStatuses https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:2
        refreshSelectableStatuses https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:5
        sideEffectL10nManipulation https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:11
        jQuery 10
        sideEffectL10nManipulation https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:9
        <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:12
        setInterval handler* https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:12
        jQuery 13
    custom-status-block.js:2:1594
    Plugin Author Kevin Behrens

    (@kevinb)

    @ekyle Can you let me know if Statuses 1.0.6.6-rc2 clears it up?

    Thread Starter Eric

    (@ekyle)

    An error no longer appears when editing or creating a new page until the Update or Workflow > Pitch(Next Status) button is clicked in which case the following errors occur:

    Appears 1 time:

    Uncaught TypeError: $ is not a function
        ppEnablePostUpdate https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc2:30
        ppPostSavingDone https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:21
        redirectCheckSaveDoneInterval https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
        setInterval handler*ppPostSaveCheck https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
        <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:27
        jQuery 10
        <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
        <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
    custom-status-block.js:30:604

    Repeats multiple times:

    Uncaught TypeError: $ is not a function
        intRestoreToggle https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc2:30
        setInterval handler*ppEnablePostUpdate https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc2:30
        ppPostSavingDone https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:21
        redirectCheckSaveDoneInterval https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
        setInterval handler*ppPostSaveCheck https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
        <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:27
        jQuery 10
        <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
        <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
    393 custom-status-block.js:30:104
    Plugin Author Kevin Behrens

    (@kevinb)

    @ekyle Statuses 1.0.6.7-rc is available as the “Development Version” with a further fix.

    Thread Starter Eric

    (@ekyle)

    The previous errors are not appearing anymore, only this one. I followed the same procedure and received the following:

    Uncaught TypeError: $ is not a function
        PPCS_RecaptionOnDisplay https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.7-rc:7
        ppPostSavingDone https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:22
        setTimeout handler*ppPostSavingDone/< https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:22
        setTimeout handler*ppPostSavingDone https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:22
        redirectCheckSaveDoneInterval https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:26
        setInterval handler*ppPostSaveCheck https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:26
        redirectCheckSaveInterval https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:27
        setInterval handler* https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:27
        jQuery 13
    custom-status-block.js:7:48
    Plugin Author Kevin Behrens

    (@kevinb)

    @ekyle Okay, the “Development Version” is updated to 1.0.6.7-rc2 with two additional jQuery ready wrappers.

    Thread Starter Eric

    (@ekyle)

    No errors appear through the entire workflow now. Thank you for your diligence and timeliness in getting these resolved!

    Plugin Author Kevin Behrens

    (@kevinb)

    @ekyle Hallelujah! Thanks for your patience through these iterations. Hopefully next time I’ll be able to replicate the use case and trap all the bugs before they escape the lab.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Incompatibility with The Events Calendar Pro’ is closed to new replies.