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.
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