• Resolved chcw

    (@chcw)


    Hi,

    From time to time, WP Job Manager will show errors when loading job listings. The error is

    404 /jm-ajax/get_listings/ not found.

    But I cannot find a file or a post with that URL. So what is it and where is it?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter chcw

    (@chcw)

    Hi, @mikeyarce

    I can send you the PHP Error Log. How to reach you via a private method?

    As for disabling the plugins one by one, it is not very feasible as the site is in production.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @chcw,

    I can send you the PHP Error Log. How to reach you via a private method?

    You’re welcome to use this contact form and mention this forum thread; we’ll make sure to handle the message accordingly and pass it on to Mikey.

    Thanks!

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    We followed up via email and the error logs didn’t show errors related to WP Job Manager.

    As a result, we’re marking this thread as resolved.

    Thread Starter chcw

    (@chcw)

    Hi,

    I contacted WP Rocket support and they wonder “whether WP Job Manager are doing some kind of authentication or something which relies on PHP. This would fail on a cached page and it would be broken until the next cache clear.”

    Will that be a clue to help solve this issue?

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @chcw!

    WP Job Manager adds some rewrite rules which might get removed by WP Rocket or another plugin, causing 404 errors. However, in order to dig deeper on such cases, we’d need to get a clean installation where this happens to debug further, and this is pretty outside of scope — we could stretch on this on very specific case involving paying users.

    That said, we still think we owe you a brief explanation of how this works:

    • WPJM adds rewrite rules for URLs that contain jm-ajax
    • We then use AJAX requests to this URL to retrieve the jobs. These requests fail for them which means that the endpoint is somehow blocked by another plugin.
    • They can look into?WP_Job_Manager_Ajax?class for more information and methods?add_endpoint?and?get_endpoint?for more details

    Hope that helps! I am afraid we can’t go further than that ??

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Where is the /jm-ajax/get_listings/ post/file?’ is closed to new replies.