• Resolved sx1001

    (@sx1001)


    Hi all,

    it seems the ajax request to /jm-ajax/get_listings/ is not always fired whenever I load the page where I use [jobs].

    The Console in Chrome does not show ANY js-related error whatsoever – so I’m stuck at debugging as to why the AJAX request is simply not sent (XHR requests in Chrome = empty).

    Whenever I’m hitting F5 to reload the page, I’d say on average the AJAX request is made in 1 of 4 cases – the rest, the XHR tab is empty.

    Any idea on how to debug?

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    Hey @sx1001

    Can you tell us which versions of WP Job Manager and WordPress are you using?

    Thread Starter sx1001

    (@sx1001)

    Hi @bindlegirl ,

    WP Jobs Version 1.34.4
    Wordpress 5.6

    If I can somehow debug it manually, please let me know.

    Thanks so much!!!

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    @sx1001

    There seems to be a problem with jQuery since WordPress was upgraded to 5.6.
    As a first step, can you try installing the jQuery Migrate Helper plugin and set it up so it loads the legacy jQuery library instead of the WordPress one?

    Let us know if this helped.

    Thread Starter sx1001

    (@sx1001)

    @bindlegirl
    From the sourcecode (HTML) of the page I see:

    <script type=’text/javascript’ src=’https://test2.thenewearth.ch/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2&#8242; id=’jquery-migrate-js’></script>

    So without the plugin mentioned by you it seems, the migrate jquery library is already installed.
    Do you really think I still need the plugin?

    Thanks

    Thread Starter sx1001

    (@sx1001)

    I activated “Legacy 1.12.4-wp” through the plugin and it seems the Listing is displayed correctly everytime I refresh the page.

    The strange thing is that the previous reported issue ONLY happens very sporadically, so sometimes the listing loads, sometimes not. how can that be? It’s not fully broken…

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    The strange thing is that the previous reported issue ONLY happens very sporadically, so sometimes the listing loads, sometimes not. how can that be? It’s not fully broken…

    Yeah, I’ve noticed that too. ??

    Anyway, I’m happy you got it working now. I’ll ping you here once the fix for this issue is ready.

    Thread Starter sx1001

    (@sx1001)

    Thanks so much ?? So that means you are working on the plugin to make it 100% compatible with the new WP 5.6?
    Thanks ??

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    Hey @sx1001 ! WP Job Manager 1.34.5 was just released and this issue should be resolved now.

    Please let us know if you are still experiencing problems.

    Thread Starter sx1001

    (@sx1001)

    I tested just right now while deactivating the Migrate Plugin, it seems to work fine ??

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    Great news! I will mark this topic as resolved then ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘AJAX Request not firing’ is closed to new replies.