• Resolved roundmom

    (@roundmom)


    I just installed Ad Inserter 2.2.3 and when I opened the settings, I saw the PAGE BLOCKED heading. I opened the Javascript console and searched for “async” in the code. I found “async” a few times.

    The troubleshooting guide says that “async” is a problem, but it doesn’t say what to do to fix it? I don’t want to completely redesign my website by changing the theme; is there something else I can do to get Ad Inserter working? Is there a way to change parts of the theme’s code? I am using the Solon theme.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Spacetime

    (@spacetime)

    There are many possible reasons for this warning.
    https://adinserter.pro/documentation#page-blocked

    Some themes modify the code generated from other plugins.
    This prevents the plugin (more exactly your browser) to load right (updated) files.

    Also make sure you are not using ad blockers.

    Does the page load normally?

    Thread Starter roundmom

    (@roundmom)

    I know that there are many reasons why the page might not load. I read the documentation that lists the possible reasons. There wasn’t any instructions on what to do if I encounter those problems.

    The page does not load properly. I have a “page blocked” message at the top, and the Blocks below are all greyed out. I followed the link in the PAGE BLOCKED message to the troubleshooting document.

    The troubleshooting document says “First thing to check is Javascript console.” So I opened the Javascript console and just did a basic search for “async.” It appears multiple times in the Javascript console.

    I went back to the document to see what I should do next. It only says “Make sure your theme does not add async or defer tags to javascript files.” How can I do that? There are no steps for making sure my theme doesn’t do this.

    Plugin Author Spacetime

    (@spacetime)

    For this you would need to be familiar with PHP and WP theme files.

    Please create a ticket and refer to this thread.

    Thread Starter roundmom

    (@roundmom)

    I am familiar with php and WP theme files; I have a degree in Computer Science. I just don’t want to have to spend forever going through every file trying to figure out where the contradictions lie. I was hoping you might be able to say, “it’s in this file, roughly this place” or something.

    Plugin Author Spacetime

    (@spacetime)

    Well, you need to figure out what is preventing the website from loading CSS, Javascript or image files from the plugin.

    If the plugin detects that either CSS or Javascript files are not loaded, have wrong version or some image was not loaded properly, the warning is displayed.

    Plugin Author Spacetime

    (@spacetime)

    Fixed, blocking detection was a false positive.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Theme adds async – how do I fix that?’ is closed to new replies.