There is a bug here: the software interface has a large number of warning code prompts

When I open some interfaces, I find a lot of code prompts:

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/SuiteCRM/SuiteCRM-7.14.1/cache/smarty/templates_c/f4f29d7356413e278007b13070a511c85a9b68d9_0.file.SearchForm_popup_query_form.tpl.php on line 65

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/SuiteCRM/SuiteCRM-7.14.1/cache/smarty/templates_c/f4f29d7356413e278007b13070a511c85a9b68d9_0.file.SearchForm_popup_query_form.tpl.php on line 96

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/SuiteCRM/SuiteCRM-7.14.1/cache/smarty/templates_c/f4f29d7356413e278007b13070a511c85a9b68d9_0.file.SearchForm_popup_query_form.tpl.php on line 127

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/SuiteCRM/SuiteCRM-7.14.1/cache/smarty/templates_c/f4f29d7356413e278007b13070a511c85a9b68d9_0.file.SearchForm_popup_query_form.tpl.php on line 225

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/SuiteCRM/SuiteCRM-7.14.1/cache/smarty/templates_c/f4f29d7356413e278007b13070a511c85a9b68d9_0.file.SearchForm_popup_query_form.tpl.php on line 456

Please modify you php.ini settings
As


Webserver Setup Guide :: SuiteCRM Documentation
if you are in a production environment. Please setting display_errors = Off in you php.ini

1 Like

:grinning:
thank you!!!
You are my hero!!!(Chinese catchphrases)

1 Like

Hi @kou

Glad that this is fixed for you. If you would like to help the people will read your thread in the weeks and years to come: it would be helpful if the Title of thread was more specific. Ie change:

  • There is a bug here: the software interface has a large number of warning code prompts

TO

  • Incorrect php.ini settings can cause on-screen errors and warnings
1 Like

Thank you very much. I will pay attention to it. I am still a noob and not familiar with some things.So some of the issues are not well described.