Autoptimize error causing 500 in Screaming Frog

[ad_1]

Not sure what Screaming Frog is, but in case of a 500 error you might be able to find relevant information in the PHP errorlog?

Can I share the error log securely with you?

you send it to futtta-at-gmail-dot-com 🙂

OK, based on that error the JS minifier that is part of AO stumbles over this piece of JS code;

<script>
WebChat.loadChat({
"initialMessage":"Welcome to McQuillan Home Services! Can I answer a question or
book your appointment?",
"initialResponses":[],
"logoUrl":"https://mcquillanbros.com/wp-content/uploads/2023/07/cropped-McQuillan-14
0th-Logo.webp",

specifically the line-break in the “initialMessage” string (it is possible that the linebreak in logoUrl will cause similar issues). can you somehow remove those linebreaks OR disable “aggregate inline JS” and/ or “also minify inline CSS/ JS”?

That was the issue. We are fixing this issue in our code. Thanks for your help. Consider this resolved.

 

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