Unknown tag 'php'

Hi All
since update from 7.13 to 7.14.6
custom modules don’t show content

for some reason it keeps inserting incorrect php tag in
cache/themes/SuiteP/modules/my_custom_module/SearchForm_advanced.tpl

and I have to manually change {php}…{/php} ->to-> <?php....?>
every time cache is rebuild…

(I dont usually touch the code, not a programmer, only using web interface for customisations, but figured it out…)

is there any way to fix this?
thank you

I think that unfortunately we do not have non programming solution for this one.

It has been asked before in this forum. See if you can find easy fix.

Please check if the actual file (themes/SuiteP/modules/my_custom_module/SearchForm_advanced.tpl) has the wrong php tags. If you correct there, the cached file will have the correct php tags after quick repair & rebuild.

The problem is when you have added Created By or Modified By fields in your search view.
Removing these fields from the search view should fix the problem

3 Likes

thank you so much, it helped!