• I added a code in functions.php file for rendering javascript. But rather than that, it showed up an ugly error text at the top of the site https://www.benzlimousine.com/. I removed that code at the same moment but error still pops up at the top of the site

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/benzlimousine/public_html/wp-content/themes/limoking-v1-01/functions.php:162) in /home/benzlimousine/public_html/wp-content/plugins/global-content-blocks/global-content-blocks.php on line 302

    And yes there is no white space on the line 162. Infact the last line in the code is 129.
    I dont know what went wrong after I put that code. Code isn’t even there now.

    Character encoding is UTF-8 without BOM.

    Desperately looking for a solution.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m not getting the error when I visit the site. Clear your browser cache and see if that makes any difference.

    Moderator t-p

    (@t-p)

    Your “limoking-v1-01” theme seems to be the error.

    To confirm, try switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    Thread Starter sameersarkar92

    (@sameersarkar92)

    I renamed twentyfifteen as limoking-v1-01 and the current one as limoking-v1-01-old then refreshed the site on the browser. But nothing changed in the site. Then I renamed them back to what they were. Still the same.

    @clayton I did clear my browser cache and removed the site’s cache as well from .htaccess which I put before adding the code to functions.php but still nothing happened.

    I cannot duplicate the error in Firefox, Chrome, Edge, or IE11. This is where you’re seeing the error message, correct? https://www.benzlimousine.com

    Thread Starter sameersarkar92

    (@sameersarkar92)

    @clayton .. yes correct

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning: session_start(): Cannot send session cache limiter’ is closed to new replies.