Warning Error When Using CSS And Javascript Compression - Question | JoomShaper

Warning Error When Using CSS And Javascript Compression

H

Hector

Helix Framework 3 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

0
9 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #5965

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.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #5862

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

0
H
Hector
Accepted Answer
3 years ago #5914

Thanks Ofi,

I have now added your admin access details =)

I look forward to hearing from you, Hector

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #5957

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

0
H
Hector
Accepted Answer
3 years ago #6100

Hola Paul and Ofi,

Wonderful, many thanks!!!

I appreciate your help, Hector

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #6181

You're welcome

BTW

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

0
H
Hector
Accepted Answer
3 years ago #6285

Cool, many thanks Paul for the suggestion! =)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #6344

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

0
H
Hector
Accepted Answer
3 years ago #6459

Definitely, many thanks Paul! =)

0