Start a conversation

What does it mean if I get a '[Notice]: unserialize() [function.unserialize]' error?

We're actively rewriting our user guide, so check back for improved coverage.

Issue:

[Notice]: unserialize() [function.unserialize]: Error at offset 5 of 41 bytes (includes/functions.php:82)
UNSERIALIZE FAILED: a:1:{s:15:\"templategroupid\";s:1:\"1\";}
[Warning]: Cannot modify header information - headers already sent by (output started at /xxx/__swift/library/Exception/class.SWIFT_Exception.php:178) (Cookie/class.SWIFT_Cookie.php:157)

Resolution:

 For the installation of Kayako 4 help desk, the value of 'magic_quotes_gpc' should be '0' or 'Off'. You may encounter the error even when the help desk is installed.  It generally appear when a custom php.ini is being used on the server. The custom php.ini is used to to override the default settings of PHP. In general, when a custom php.ini is placed in the main directory (document root of website hosting the help desk), those settings should also apply for subdirectories. However, in some cases, you may be required to copy the custom php.ini to all directories and sub-directroies related to help desk installation files. 

The usage and setup of custom php.ini depend on the server/control panel setup. If the server is properly setup, the error will not appear after the installation.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Jitender Kumar

  2. Posted
  3. Updated