• Resolved Stephen @ Camp Digital

    (@stephencampdigital)


    Autoptimize is causing a 500 error in Screaming Frog making the site appear to be not indexed. The site above is still loading up fine but every page in Screaming Frog is coming up 500. Is there some way I can share the error so no one else sees it? Even with the plugin updated I’m still seeing the error so I disabled Autoptimize.

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

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

    (@optimizingmatters)

    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?

    Thread Starter Stephen @ Camp Digital

    (@stephencampdigital)

    Can I share the error log securely with you?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

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

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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”?

    Thread Starter Stephen @ Camp Digital

    (@stephencampdigital)

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

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome Stephen, feel free to leave a review of the plugin and support here! 🙂

    have a nice day,
    frank

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Autoptimize error causing 500 in Screaming Frog’ is closed to new replies.