Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #987514

    It seems that Enfold is using a PHP session cookie that is not allowing Varnish to cache on the server. From checking the domain at https://isvarnishworking.uk/ it shows there is a cookie started, and this shows even with all plugins disabled.

    The support thread at https://kriesi.at/support/topic/phpsessid-errors/#post-244994 says to remove a line of code in two files but those files are located in different locations than in that thread (in subfolders for the referenced locations) so I didn’t want to make that change without know for sure it would work.

    Is there another way to fix this without deleting lines of code in the theme, as those would need to be done every time the theme is updated?

    Domain and support login in the private content section.

    #987568

    Hey bulldog232,

    Yes – add this code to the child theme functions.php

    
    add_theme_support('avia_no_session_support');
    

    The portfolio breadcrumb on single pages will not work as expected though because it requires session cookies to work properly.

    Best regards,
    Dude

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.