So I have had some luck debugging. I was able to get things working (with all my plugins activated) on my test Apache box by:
1.) Deactivating & Uninstalling AdBlade 1.6.3
2.) Reinstalling & Activating AdBlade 1.6.3
3.) In the Admin, navigating to Settings -> AdBlade
4.) Check-box “Attempt to bypass ad blockers”
Following the above, things are working as expected in my Apache test environment. It is worth pointing out one quirk here: if I have the AdBlade Plugin activated, but “Attempt to bypass ad blockers” not checked, then I see errors related to:
/module/js/bootstrap.js
/module/js/main.js
When the “Attempt to bypass ad blockers” setting is not checked in the admin, the above resources return a sort of modified category page (HTML content-type instead of the expected JS content). In this case, Chrome then throws the error:
Uncaught SyntaxError: Unexpected token <
Returning to my original setup (Nginx), there was one additional caveat. I have a rule in my Nginx config that causes nginx to throw a 404 versus passing the .js requests through to WP (where the add_rewrite_rule will kick in). In my test environment, I had to remove ‘js’ from the following rewrite rule:
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { expires max; }
I am tempted to remove this rule altogether, but if I do that then 404’s for static files of the above listed types will be passed thru to the main WP controller, which can potentially result in a lot of additional load on my origin (WP obvs uses a lot more resources to generate a 404 compared to a bare-bones Nginx 404 page).
Please reach out to me over email when you have a chance to follow up.