I use SJ_Contact_Ajax extension on my website.
The problem resolved in Joomla 3.7.5 by comment or delete the line
$this->cache->store(serialize($data), $id);
in /home/user/public_html/libraries/joomla/cache/controller/callback.php
but in Joomla 3.8.0 this file was removed.
Working FrontEnd extensions that using ajax and serialize method.
Error 0 Serialization of 'SimpleXMLElement' is not allowed
PHP Version | 7.0.23
Web-server | Apache
Labels |
Added:
?
|
Category | ⇒ | com_cache |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-09-27 05:06:45 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18130
closed as no Core Issue.
Hy,
I located the ominous line here:
0:/public_html/libraries/src/Cache/Controller/CallbackController.php
I changed from:
$this->cache->store(serialize($data), $id);
To:
$this->cache->store($data, $id);
And it works fine.
@creativeideashun Removing or committing $this->cache->store(serialize($data), $id); without adding $this->cache->store($data, $id); will do it, because adding the second line will cause another issue with unserialize() function within the same file
That fix completely disables the cache system on your site, it's not a good fix.
You need to contact the extension developer and ask them to update their extension. They are trying to use the cache and store data with an incompatible object.