This problem occurs when your PHP.INI file has session.autostart turned on. You’ll need to turn this off by:

  1. Editing your PHP.INI file and setting it to off — or contacting your web hosting provider to do this for you
  2. Placing a .htaccess file in the root of your web directory with the following value: php_flag session.auto_start 0
  3. If you session_start twice in your code that will rise an warning to suppress it you can use