0 Serialization Of 'Closure' is Not Allowed - Question | JoomShaper

0 Serialization Of 'Closure' is Not Allowed

Karen Dunne

Karen Dunne

Helix Framework 1 year ago

Hi,

This J4 site running on PHP 8.0 with Helix 2.0.11: https://mavendesignstudio-demo.com/choice/ has all menu items working except for this category blog: https://mavendesignstudio-demo.com/choice/resources

The error says, "0 Serialization of 'Closure' is not allowed"

A screenshot shows the front end and the console: https://monosnap.com/file/OfiqYMSrRzH0CTswTY9CJAT4ReOEIw

In the console, it says, "Refused to apply style from 'https://mavendesignstudio-demo.com/choice/templates/shaper_helixultimate/css/presets/%7B' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled."

When cache is disabled, the page loads correctly. But, the site cannot have cache disabled as a solution.

What should be done to fix this?

Thanks,

Karen

P.S. The J3 site on PHP 8.0 and Helix 2.0.12 of the same category blog is here: https://choicebuildersgroup.com/resources

1
9 Answers
Karen Dunne
Karen Dunne
Accepted Answer
1 year ago #104173

Is anyone available to look at this question? It seems to have something to do with a Helix preset, but it's not being used on this site.

It's the only issue keeping this site from going live.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #104562

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #104577

If I may....

do you have this error on all blog view or only that one, what is unusual about these articles, did you use any plugins?

And yes, we need access to try to solve it somehow.

BTW Karen, on both sites you have Helix 2.0.11, not Helix 2.0.12 (that premiere day will be on Monday)


I use with my friends Helix for so long , but that error I saw first time ;p

0
Karen Dunne
Karen Dunne
Accepted Answer
1 year ago #104740

Hi Toufiq,

The login credentials are included.

Hi Paul,

There isn't anything unusual about the articles and there aren't any plugins that relate to them. It's the only category blog on the site. I'll look for Helix 2.0.12 next week. Thank you for the heads up.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #104744

Thanks Karen, Fixed by now...

info_347_2023.jpg

With disabled "System Cache" - no error anymore.

So it's now OK.

info_348_2023.jpg


We have to make small investigation next week to discover why it happends.

0
Karen Dunne
Karen Dunne
Accepted Answer
1 year ago #104745

Hi Paul, Yes, disabling cache is what I mentioned in my description. Unfortunately, I can't run the site without enabling cache. Thanks for the update about investigating.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #104746

By now you have to use caching from extra .htaccess rules -- they are also good and useful. Those same from WordPress/Drupal will work also in Joomla - simple life hack.

OR extra extension for caching, but who wants to spend extra $...

0
Karen Dunne
Karen Dunne
Accepted Answer
1 year ago #105574

Hi Toufiq,

Can you help with this error, please?

Thanks,

Karen

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #106576

Sorry, we don't have solution for that yet.

I hope it will be fixed soon, in HU 2.0.13 update. Please use other methods/extensions for Joomla cache, also contact with hosting support if they offer LiteSpeed Cache or similar hosting software.

0