J4.x

Serialization is not allowed: Difference between revisions

From Joomla! Documentation

No edit summary
No edit summary
 
Line 15: Line 15:
<translate>
<translate>
{{tip|This pertains only to Joomla! version(s): '''4.2.0'''|title=General Information}}</translate> <!-- add the version(s) you need -->
{{tip|This pertains only to Joomla! version(s): '''4.2.0'''|title=General Information}}</translate> <!-- add the version(s) you need -->


<translate>
<translate>

Latest revision as of 13:49, 17 August 2022


When Smart Search is used and the Gather Statistics is enabled an error may appear with the text "Serialization of X is not allowed." where X can be different like Closure or PDO or something else.

Errors reported

The error has been reported in issue https://github.com/joomla/joomla-cms/issues/38370

Versions affected

General Information

This pertains only to Joomla! version(s): 4.2.0

What is the cause

The cause lies in the serialization of the data where the data contains classes that cannot be serialized.

How to fix

The workaround for now is to turn off Gather Statistics in Smart Search