• Resolved tannerm

    (@tannerm)


    Any time I visit a translated version of a page, I am seeing the following console errors & notices:

    (3) /wp-content/plugins/…udes/trp-ajax.php:1 Failed to load resource: the server responded with a status of 403 ()

    (3) trp-translate-dom-changes.js?ver=1.7.3:53 Notice: TranslatePress trp-ajax request uses fall back to admin ajax.

    The link I’m including as an example can be any page under the en_gb url. You can select the original US English version of the site with the selector in the site nav.

    I saw on another thread that for sites on WP Engine a rule to turn off WPE_GOVERNOR can be added but I tried that and it failed. I also turned off all other plugins and the error persists.

    After chatting with WPE for a while, they said “it does not look like there are any deny rules being set by the wpengine server that would be causing this 403 response code.” and they recommended we contact the plugin developer.

    What can be done to fix this error?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thank you for getting in touch!

    Please see if you have a security plugin installed, disable that one, then try again.
    These plugins compress all JS files into one file, but this process can create errors when you load a page.

    Tell me if it worked and if you need further help with this!

    Best Regards,

    Thread Starter tannerm

    (@tannerm)

    The security plugin we have was and continues to be deactivated and the errors are persisting. Any other ideas?

    Thread Starter tannerm

    (@tannerm)

    I noticed that when I unenqueue certain scripts in the screenshot below, that the number of 403 errors go down. For example, commenting out lazyload and the line for localizing the audit data, I only get 3 403 errors instead of 5.

    Is there maybe some kind of order conflict with these scripts?

    https://www.dropbox.com/s/k3f99s78gjr9nid/hxl2zlbj.png?raw=1

    Thread Starter tannerm

    (@tannerm)

    Disabling dynamic translation fixed the 403 errors across the site and other conflicts with a Vue template I was having on a specific template.

    https://www.dropbox.com/s/r9zehkvmr4ivp3m/3ny8dak6.png?raw=1

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘403 Error – trp-ajax’ is closed to new replies.