Guys I need little bit help with PHP Fatal error. Whenever a new session is getting created a PHP Fatal error occurs. This error never happens throughout the session apart from when session first starts. The error is:
Uncaught exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is not allowed' in /var/www/downloadanymp3.com/index.php:240 Stack trace: #0 /var/www/downloadanymp3.com/index.php(240): session_commit() #1 {main} Next exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is not allowed' in /var/www/downloadanymp3.com/index.php:240 Stack trace: #0 /var/www/downloadanymp3.com/index.php(0): session_commit() #1 {main} thrown in /var/www/downloadanymp3.com/index.php on line 240, referer: http://dev.downloadanymp3.com/index.php?searchType=VIDEOTITLE
And one more thing, on index.php the very last line is session_commit();