Thanks for all the responses guys. I raised a support ticket with Siteground and there’s now an updated version of their plugin available which fixes the problem.
OK thanks Nikko, I’ll raise the question with them.
HI Nikko
Sorry about that. I forgot that I’d put an IP ban in my .htaccess for all IPs except my own – I’ve removed it now. The site is running PHP 7.1 but the option for 7.1.7 isn’t available for me.
No problem, thanks for the update
Apologies, I thought i had included it
OK thanks
Hi Victoria
Thanks for your quick reply. Sorry it’s taken me a while to respond as I was away for a few days. I had a look at the file and have picked line 510 which is:
$f = preg_replace("'(?<![a-zA-Z0-9_\$])for\neach\('", 'for each(', $f);
I understand Enfold is compatible with PHP7 so I don’t understand why it’s throwing this error. Could it be because the original template I downloaded and used was one of your older demos/designs (Construction demo)?