-
Hi @LeonidS
1) This warning appears after logging in (sometimes yes, sometimes no). It also appears when accessing https://tnea.ar/page/explore.
The strange thing is that sometimes, when the page is refreshed (F5), the message disappears.
2) Line 2589:
$aResult['content'] = array_merge($aResult['content'], unserialize($aEvent['content']));
File attached.
I also find it odd that this started happening a few days ago. The only change I made a few days ago was the one you suggested at https://unacms.com/d/get_magic_quotes_gpc-is-deprecated, but I assume that's unrelated.
Thank you for your continued kindness.
-
Try to replace this line with this code:
if(!empty($aEvent['content'])) { $aContent = @unserialize($aEvent['content']); if(!empty($aContent) && is_array($aContent)) $aResult['content'] = array_merge($aResult['content'], $aContent); } -
Hi @LeonidS
The warning is no longer appearing.
I'll test it throughout the day, and if everything goes well, I'll mark this issue as resolved.
Thank you very much.
-