Today I have almost died when this error popped up from Akeeba Admin Tools and thought that I have been hacked.
I wanted to debug language files to locate strings to add and translate in JomSocial but on JomSocial page I have got this error:
Something on your site, most likely a highly insecure JoomlaShine template, is broken and tries to save the plugin state in the cache. This is a major security issue and will cause your site to not work properly. Go to your site's backend, Global Configuration and set Caching to OFF as a temporary solution. If you are using a JoomlaShine template contact them and ask for a full refund. They are aware of this major security issue since May 2017 and refuse to fix it. The only solution in this case is using a template from a different provider, preferably one who knows how to write secure code - unlike JoomlaShine.
Zdravo Goran.
Thank you for contacting us.
I see this issue for the first time. Indeed it happens only on JomSocial pages.... so probably apply to plugin used there.
Could you try to disable ALL plugins (leave only those crucial like JomSocial User and Joomla! user) and check if anything changes.
Zdravo Michal, sorry this took me some time.
This is what I did:
1 method: disabled all plugins except debug plugin, admin tools and jomsocial and then activated them one by one Result same warning all the time...
2 method: changed template and repeated steps from method 1 same warning
3. uninstalled all components, all modules, all non system plugins except admin tools and jomsocial and templates same result
4. Reseted httacces file same result...
I dont know what to do anymore....
Also I have started to receive
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemForceAvatar has a deprecated constructor in /plugins/system/forceavatar/forceavatar.php on line 13
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemForceFields has a deprecated constructor in /plugins/system/forcefields/forcefields.php on line 12
Little progress I have started to recieve this error : Serialization of 'Closure' is not allowed
Instead of warning
Hope I will be able find culprit but it is definitely in JomSocial unfortunately :(
Update: I have changed database coalition to utf-8 and now error displayed on JomSocial pages is: Serialization of 'JXMLElement' is not allowed
Hope this clues will help you Michal.
New update: I have uninstalled Akeeba Admin tools to see if this error gonna appear to make sure it is not Akeeba doing, activated language debug first and got this error:
Serialization of 'JXMLElement' is not allowed
deactivated lang debug and activated system debug and got the same error.
I have also disabled sef urls and rewriting but all the same...
This is related to JomSocial definitely.
There are no more options to explore for me.
Michal it is up to you now . :)
HI, Goran.
I'm passing this to our developer.
He'll contact you ASAP.
Hello Dimas and thank you. I have updated JomSocial and Joomla and error is there again.
I am getting this error now:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 107791776 bytes) in /home3/p7c2d9v1/public_html/plugins/system/debug/debug.php on line 1225
Serialization of 'Closure' is not allowed
Hi Goran,
to fix this
- Please you increase memory_limit on php configuration
- Open this file components/com_community/libraries/activities.php, find this code :
$cache = CFactory::getFastCache();
$cacheid = __FILE__ . __LINE__ . serialize(func_get_args());
if ($data = $cache->get($cacheid)) {
return $data;
}
try{
$cache = CFactory::getFastCache();
$cacheid = __FILE__ . __LINE__ . serialize(func_get_args());
if ($data = $cache->get($cacheid)) {
return $data;
}
}
catch(exception $e)
{
//
}
Hello Dimas and thank you again for your help. I have one question in that file I see several same lines with same code:
$cache = CFactory::getFastCache();
$cacheid = __FILE__ . __LINE__ . serialize(func_get_args());
if ($data = $cache->get($cacheid)) {
return $data;
}