Cannot redeclare class TemplateText

Hi all,

I got issue on SuiteCRM menu, when I click menu admin, the screen is only white and no icon in content.

I check log file /var/log/apache/error.log , I got this:

FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: PHP message: PHP Fatal error: Cannot redeclare class TemplateText in /var/www/html/suitecrm/modules/DynamicFields/templates/Fields/TemplateText.php on line 42,

Any body can help me ?

Thank you

witch version ?
have you this folder :custom/modules/DynamicFields/
if yes, delete it. (make backup first)


I’m using SuiteCRM 7.5.3

In custom only consist

ls custom/modules/:
Accounts/ Emails/ Opportunities/ Prospects/ Calls/ Leads/ Project/ Users/ Cases/ logic_hooks.php Projects/
Contacts/ Meetings/ ProjectTask/

no DynamicFields,

Hi, maybe php version issue.
Copy from github this folder and replace in your instance.
As i see, some patch are applied to this for be compatible with php7


I’m using php version 5, must I to change php version, from php5 to php7 ?

I’m confused about that?

Any solution ?

no update php… SuiteCRM 8 will be ready php7
Sorry, no other solution.

Thank you,

I’ll found another solution first, if still not get maybe your solution I 'll do