I am suddenly getting error messages for a site that was working perfectly fine.
Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home4/mysmallf/public_html/silas/wp-includes/category.php:1) in /home4/mysmallf/public_html/silas/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home4/mysmallf/public_html/silas/wp-includes/category.php:1) in /home4/mysmallf/public_html/silas/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32
Can you advise on likely causes and how to fix this?
Thanks, Juergen
Hey,
Try adding this code at the end of theme / child theme functions.php:
add_theme_support('avia_no_session_support');
Best regards,
Josue
Hi Josue:
Thanks for this…
As it turns out, on further investigation the hosting provider had changed/upgraded PHP versions and was re-directing to a new PHP handler in the .htaccess file, causing this issue.
Best, Juergen