Sometimes on various web pages this error appears: “Warning: session_start(): open(/tmp/sess_f2cf96f7da53480b50454d7ee7e0687a, O_RDWR) failed: Permission denied (13) in …wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32”
A temporary fix seems to be to reset all sessions by clicking “Save all changes” in WP admin.
Why is this session error happening? What needs to be done to prevent it from happening again?
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_theme_support('avia_no_session_support');
Cheers!
Josue
Thanks, tried it. Got this fatal error: Call to undefined function add_theme_supports() in /…/wp-content/themes/enfold-child/functions.php on line 8
Hi,
Sorry it was a typo, use:
add_theme_support('avia_no_session_support');
Best regards,
Josue
Thank you. No code error this time. Time will tell if the session error is resolved.