Resolved

Many Errors in Firfox-Console

Polestar Theme started by darkglow Mar 12, 2021 6 replies
darkglow Mar 12, 2021 · 12:11 am #15455

Hello, I use your polestar theme. Unfortunately, I only noticed after completing a page that the firefox console displayed an incredible number of errors.

I’m not sure what to make of it right now.

look here, on this test-site: beispiel6.webdesign-sn.de
I have the same on other sites that I made with this theme.

what is the problem?

Andrew Misplon Puro Mar 12, 2021 · 9:49 am #15462

Hi, thanks for reaching out.

On the home page, there is a single error in the console. The error is being produced by JavaScript that has been inserted into the content of the page. Here are a few screenshots to assist https://imgur.com/a/faFAjO8.

Andrew Misplon Puro Mar 12, 2021 · 9:52 am #15463

On a separate note. Polestar uses a minified stylesheet by default. The method you’re using to enqueue the parent stylesheet is causing the stylesheet to be enqueued twice. If you have a moment, perhaps take a look at how the child theme is set up in the Polestar starter child theme here https://purothemes.com/documentation/ultra-theme/child-theme-library/. You can also check on GitHub https://github.com/purothemes/polestar-child/blob/master/functions.php.

darkglow Mar 13, 2021 · 8:14 am #15464

Thank you for the fast answer! I’ll deal with the child theme in a moment! Many Thanks!

Andrew Misplon Puro Mar 13, 2021 · 9:56 am #15465

Sure, no problem. Hopefully, you’re making progress. A quick reminder that you can add ?ao_noptimize=1 to any URL while troubleshooting to view the non-AO version.

darkglow Mar 15, 2021 · 11:13 am #15468

I will try it.

Thank you very much for your good support.

Stay healthy & best wishes!

Andrew Misplon Puro Mar 15, 2021 · 2:07 pm #15469

Thanks for your kind feedback. If you have any follow-up questions, please, let me know.

Cheers for now 🙂

7 posts