Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #667017

    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?

    #667020

    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

    • This reply was modified 8 years, 3 months ago by Josue.
    #667737

    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

    #668310

    Hi,

    Sorry it was a typo, use:

    add_theme_support('avia_no_session_support');
    

    Best regards,
    Josue

    #669023

    Thank you. No code error this time. Time will tell if the session error is resolved.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Getting a session error’ is closed to new replies.