Static site errors | WordPress.org

[ad_1]

Hi Frank,

First of all, let me thank you for a great plugin.

I’m not able to find out how to get rid of these two errors on my website. And I’m honestly also not sure if they are related to your plugin or the Simply Static plugin because it’s happening just on a static website, a website with a live WP is errorless.

First one: [Error] SyntaxError: Invalid regular expression: unmatched parentheses (anonymous function) — Invalid regular expression: unmatched parentheses

aop_around(head,"appendChild")

Second one: [Error] ReferenceError: Can’t find variable: aop_around; Global Code — Can’t find variable: aop_around

aop_around(document.body, 'appendChild');

Plugin settings:

  • JavaScript not optimized
  • CSS Code optimized
  • HTML Code optimized
  • yes/checked – Save aggregated script/css as static files?
  • yes/checked – Minify excluded CSS and JS files?

Let me know with any suggestions you might have or which details you need to know while identifying the problem.

Thank you in advance for your help.

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer