• Resolved USATC

    (@usatc)


    When the Bible Reading Plans plugin is activated, the Blocking page on Wordfence doesn’t display the current blocks and you can’t add blocks, and you can’t export Wordfence settings. This used to work with both plugins active.

    Wordfence Admin in Chrome F12 Debugging Console shows the following:

    JQMIGRATE: Migrate is installed, version 3.3.2
    admin.php?page=WordfenceWAF:409 Uncaught TypeError: $(...).wfCircularProgress is not a function
        at admin.php?page=WordfenceWAF:409
        at admin.php?page=WordfenceWAF:416
    (anonymous) @ admin.php?page=WordfenceWAF:409
    (anonymous) @ admin.php?page=WordfenceWAF:416
    admin.php?page=WordfenceWAF:453 Uncaught TypeError: $(...).wfCircularProgress is not a function
        at admin.php?page=WordfenceWAF:453
        at admin.php?page=WordfenceWAF:460
    (anonymous) @ admin.php?page=WordfenceWAF:453
    (anonymous) @ admin.php?page=WordfenceWAF:460
    admin.php?page=WordfenceWAF:493 Uncaught TypeError: $(...).wfCircularProgress is not a function
        at admin.php?page=WordfenceWAF:493
        at admin.php?page=WordfenceWAF:500
    (anonymous) @ admin.php?page=WordfenceWAF:493
    (anonymous) @ admin.php?page=WordfenceWAF:500
    admin.php?page=WordfenceWAF:533 Uncaught TypeError: $(...).wfCircularProgress is not a function
        at admin.php?page=WordfenceWAF:533
        at admin.php?page=WordfenceWAF:540
    (anonymous) @ admin.php?page=WordfenceWAF:533
    (anonymous) @ admin.php?page=WordfenceWAF:540
    jquery.js?ver=5.7:4046 jQuery.Deferred exception: $(...).tmpl is not a function TypeError: $(...).tmpl is not a function
        at https://covenantmessenger.org/wp-admin/admin.php?page=WordfenceWAF:2345:48
        at dispatch (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:5429:27)
        at elemData.handle (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:5233:28)
        at Object.trigger (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:8715:12)
        at https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:8793:17
        at Function.each (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:381:19)
        at jQuery.fn.init.each (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:203:17)
        at jQuery.fn.init.trigger (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:8792:15)
        at HTMLDocument.<anonymous> (https://covenantmessenger.org/wp-admin/admin.php?page=WordfenceWAF:2569:14)
        at mightThrow (https://covenantmessenger.org/wp-includes/js/jquery/jquery.js?ver=5.7:3762:29) undefined
    jQuery.Deferred.exceptionHook @ jquery.js?ver=5.7:4046
    process @ jquery.js?ver=5.7:3834
    setTimeout (async)
    (anonymous) @ jquery.js?ver=5.7:3868
    fire @ jquery.js?ver=5.7:3496
    fireWith @ jquery.js?ver=5.7:3626
    fire @ jquery.js?ver=5.7:3634
    fire @ jquery.js?ver=5.7:3496
    fireWith @ jquery.js?ver=5.7:3626
    ready @ jquery.js?ver=5.7:4106
    completed @ jquery.js?ver=5.7:4116
    jquery.js?ver=5.7:4055 Uncaught TypeError: $(...).tmpl is not a function
        at admin.php?page=WordfenceWAF:2345
        at dispatch (jquery.js?ver=5.7:5429)
        at elemData.handle (jquery.js?ver=5.7:5233)
        at Object.trigger (jquery.js?ver=5.7:8715)
        at jquery.js?ver=5.7:8793
        at Function.each (jquery.js?ver=5.7:381)
        at jQuery.fn.init.each (jquery.js?ver=5.7:203)
        at jQuery.fn.init.trigger (jquery.js?ver=5.7:8792)
        at HTMLDocument.<anonymous> (admin.php?page=WordfenceWAF:2569)
        at mightThrow (jquery.js?ver=5.7:3762)
    (anonymous) @ admin.php?page=WordfenceWAF:2345
    dispatch @ jquery.js?ver=5.7:5429
    elemData.handle @ jquery.js?ver=5.7:5233
    trigger @ jquery.js?ver=5.7:8715
    (anonymous) @ jquery.js?ver=5.7:8793
    each @ jquery.js?ver=5.7:381
    each @ jquery.js?ver=5.7:203
    trigger @ jquery.js?ver=5.7:8792
    (anonymous) @ admin.php?page=WordfenceWAF:2569
    mightThrow @ jquery.js?ver=5.7:3762
    process @ jquery.js?ver=5.7:3830
    setTimeout (async)
    jQuery.readyException @ jquery.js?ver=5.7:4054
    (anonymous) @ jquery.js?ver=5.7:4074
    mightThrow @ jquery.js?ver=5.7:3762
    process @ jquery.js?ver=5.7:3830
    setTimeout (async)
    (anonymous) @ jquery.js?ver=5.7:3868
    fire @ jquery.js?ver=5.7:3496
    fireWith @ jquery.js?ver=5.7:3626
    fire @ jquery.js?ver=5.7:3634
    fire @ jquery.js?ver=5.7:3496
    fireWith @ jquery.js?ver=5.7:3626
    process @ jquery.js?ver=5.7:3850
    setTimeout (async)
    (anonymous) @ jquery.js?ver=5.7:3868
    fire @ jquery.js?ver=5.7:3496
    fireWith @ jquery.js?ver=5.7:3626
    fire @ jquery.js?ver=5.7:3634
    fire @ jquery.js?ver=5.7:3496
    fireWith @ jquery.js?ver=5.7:3626
    ready @ jquery.js?ver=5.7:4106
    completed @ jquery.js?ver=5.7:4116

    When the Bible Reading Plans plugin is disabled, all Console errors go away and Wordfence Admin Blocking page works correctly. Issue also opened with other plugin vendor, but errors only show in Wordfence Admin Debugging Console.

    Versions:
    Bible Reading Plans Version Version 1.0.1
    Wordfence Security Version 7.5.2
    WordPress Version 5.7
    Sydney Theme Version 1.76

Viewing 10 replies - 31 through 40 (of 40 total)
  • Thread Starter USATC

    (@usatc)

    Updated info:
    Problem occurs with these 3 plugins enabled at the same time: Yoast SEO, Wordfence Security, Bible Reading Plans.

    Cleared Browser Cache and all History (Chrome) – problem still occurs.
    Set theme to Twenty Twenty-One, cleared cache/history – same problems (i.e. not user modified theme functions file).

    Disabled all plugins except Wordfence Security and Bible Reading Plans, no problems.

    Re-enabled plugins one by one, problem occurs with Yoast SEO plugin enabled with Wordfence Security and Bible Reading Plans plugins enabled.

    No problems with Sydney Child Theme or Twenty Twenty-One Theme and all plugins enabled when Yoast SEO plugin is disabled.

    No problems with Sydney Child Theme or Twenty Twenty-One Theme and all plugins enabled when Bible Reading Plans plugin is disabled.

    Problem occurs with Sydney Child Theme and Twenty Twenty-One Theme with Yoast SEO and Wordfence Security and Bible Readings Plans plugins enabled at same time. No problems with either Theme with all plugins enabled so long as Yoast SEO is disabled (with Wordfence Security and Bible Reading Plans enabled).

    Problem occurs with these 3 plugins enabled at the same time: Yoast SEO, Wordfence Security, Bible Reading Plans.

    No problems with Wordfence Security and Bible Reading Plans only, no problems with Wordfence and Yoast SEO only. All 3 plugins must be enabled at same time.

    • This reply was modified 4 years ago by USATC.
    • This reply was modified 4 years ago by USATC.
    Plugin Support WFAdam

    (@wfadam)

    I can actually reproduce this issue now!

    I see in bible-reading-plans-class.inc.php, the function addCSSAndScripts() is loading another copy of jquery, jquery-ui, and some other jquery-ui scripts. Some of them are loaded from code.jquery.com, which isn’t allowed by wordpress.org’s rules for plugins. If I comment those out, Wordfence works again. There shouldn’t be two copies of jQuery and jquery-ui loaded on the same page. I’m not sure exactly what part of this is causing the issue, but it isn’t normal for WP plugins to load multiple copies of jQuery and jquery-ui on admin pages.

    The plugin author should use the ones bundled with WP to avoid issues. Ideally, they also shouldn’t load their scripts on other plugins’ pages, unless they have content that may appear on all admin pages.

    I would reach out to the devs with Bible Reading Plan with the information I have provided and they should be able to understand how to resolve it or being to fix it.

    Let me know what happens from here!

    Thanks again!

    Thread Starter USATC

    (@usatc)

    Thank you WFAdam!

    Also I just found the following: with Wordfence Security and Bible Reading Plans and Enable jQuery Migrate Helper enabled with Yoast SEO disabled, then Wordfence Tools Export and Blocking pages still don’t work (not as many red messages in F12, but Wordfence still has problems with Bible Reading Plans and Enable jQuery Migrate Helper enabled).

    I will contact the Bible Reading Plans developer.

    • This reply was modified 4 years ago by USATC.
    Thread Starter USATC

    (@usatc)

    P.S.:

    Plugin Load Filter plugin is used to limit loading of the following specific plugins to specific pages:
    Contact Form 7 and Honeypot for Contact Form 7 plugins (only load on Contact page).
    Bible Reading Plans plugin (only load on Daily Bible Reading Plan page).

    The above 3 plugins were loading on every page even when their functions were not used, so for performance reasons I limited where they load via the Plugin Load Filter plugin (plugin-load-filter) that you mentioned.

    This Plugin Load Filter plugin doesn’t limit loading to specific Admin pages.

    • This reply was modified 4 years ago by USATC.
    • This reply was modified 4 years ago by USATC.
    • This reply was modified 4 years ago by USATC.
    Plugin Support WFAdam

    (@wfadam)

    How did the plugin developer respond to our feedback?

    Thanks again!

    Thread Starter USATC

    (@usatc)

    He responded with: Thanks, I’ll take a look.

    • This reply was modified 4 years ago by USATC.
    • This reply was modified 4 years ago by USATC.
    Plugin Support WFAdam

    (@wfadam)

    Well, that’s progress. At least we know what the issue is and hopefully, they will be able to resolve it!

    Thanks again!

    Thread Starter USATC

    (@usatc)

    Thank you! Thank you for isolating the root cause and suggestions to fix it!

    The Developer of the Bible Reading Plans plugin is usually very responsive and get’s things fixed.

    Thread Starter USATC

    (@usatc)

    Testing a fix now from the Bible Reading Plans Developer. It fixed the Wordfence issues. Waiting on another modification from the developer to test it again before it gets added to the plugin updates.

    Thanks again!

    Thread Starter USATC

    (@usatc)

    The fix from the Bible Reading Plans Developer is working. It will be incorporated into the next plugin update.

    Thank you again WFAdam!

    Thank you drmikegreen (@drmikegreen)! (Bible Reading Plans Plugin Developer)

Viewing 10 replies - 31 through 40 (of 40 total)
  • The topic ‘Wordfence with Bible Reading Plans issue’ is closed to new replies.