Warning error when using CSS and Javascript compression - Forum | JoomShaper
Solved Helix Framework

Warning error when using CSS and Javascript compression

Asked by Hector 5 years ago Last activity 5 years ago

Hi friends,

When I turned on the option to compress the CSS and Javascript files I got the following error message, at the very bottom of my website:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home3/blongtv/staging.aprendemindfulness.org/plugins/system/helixultimate/core/classes/Minifier.php on line 226

Since my website is going live now, I have turned off CSS and Javescript compression for now.

I would appreciate if you can look into this.

Thank you,
Hector

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

Hola.

I fixed file error.
So now you can use CSS/JS compression again.

BTW

If you want to make site faster, enable "Gzip Page Compression" in Joomla Global Configuration.

8 more replies

Ofi Khan Staff

HelloHector

Please share your administrator access here to check. Use the Hidden Content box to share the credentials. Always take a full site backup before sharing the access. Follow this Akeeba Backup Tutorial

Best regards

Hector Asked this

Thanks Ofi,

I have now added your admin access details =)

I look forward to hearing from you,
Hector

Ofi Khan Staff

I have removed the warning by setting Error Reporting to None. This will not hamper website from functioning.

Hector Asked this

Hola Paul and Ofi,

Wonderful, many thanks!!!

I appreciate your help,
Hector

Paul Frankowski Senior Staff

You're welcome

BTW

JCH_Optimze (Free/Pro) plugin can give you better speed up results than Js/CSS compression from template only.

Hector Asked this

Cool, many thanks Paul for the suggestion! =)

Paul Frankowski Senior Staff

But remember to use ONLY ONE compression, not from template and plugin. Just use from plugin only.

Hector Asked this

Definitely, many thanks Paul! =)

Log in to reply.