Is there a PHP Interpreter in PineGrow?

I have an issue with the pinegrow editor when editing my site’s pages.
The developer placed the head tags in a PHP include file and Pinegrow throws an error because it doesn’t find de HTML tag at the beginning of the file. (see included image)

What do you suggest I do?


Hi @gaftenie,
I don’t have a lot of experience working with PHP files in this way, so someone might have a better workflow or trick. Pinegrow does not have a PHP interpreter. With the ‘PHP,ASP,ERB’ manager server-side code turned on it will ignore certain types of code. However, it needs a minimal head to properly interpret the page.

I think what you will have to do is paste a minimal head in front of the includes while working on the page.

<!DOCTYPE html>
<html lang="en">

This can then be removed from the production page.
Hope this helps,