• Resolved Jerry

    (@gerard749)


    Hi,

    I am not having any problems with my website or the function of your plugin but the warnings below are in the php.error_log in cpanel.

    [04-Mar-2014 08:15:02 UTC] PHP Warning: session_start() [function.session-start]: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and ‘-,’ in /home/pagesqua/public_html/wp-content/plugins/device-theme-switcher/inc/class.switcher.php on line 112

    [04-Mar-2014 08:15:02 UTC] PHP Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/pagesqua/public_html/wp-content/plugins/device-theme-switcher/inc/class.switcher.php:112) in /home/pagesqua/public_html/wp-content/plugins/device-theme-switcher/inc/class.switcher.php on line 112

    [04-Mar-2014 08:15:02 UTC] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/pagesqua/public_html/wp-content/plugins/device-theme-switcher/inc/class.switcher.php:112) in /home/pagesqua/public_html/wp-content/plugins/device-theme-switcher/inc/class.switcher.php on line 112

    Of note – line 112 is;
    if (session_id() == ”) session_start();

    Thank you for your help
    Jerry

    https://wordpress.org/plugins/device-theme-switcher/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning’ is closed to new replies.