Error popup when adding a "dropdown" type field in Studio for Invoice

I am trying to add a new field in the Invioce template, but when I select a dropdown tpye data, it occured always a waning popup, can anyone to help me, thank you!

Warning : Undefined array key “” in D:\xampp\htdocs\suitecrm\public\legacy\modules\DynamicFields\templates\Fields\Forms\enum2.php on line 102
{“east”:{“title”:“Edit Field”,“crumb”:“”,“content”:"

</div>\n\n

It looks there is invalid key or value for the app_list_strings array in public\legacy\include\language\en_us.lang.php. You can check for the same in this file by search for a double quote or two single quotes.

Also check if you can open dropdown editor from the developers tool from admin module.

You need to setup the error_reporting properly in you php.ini

Also if this is a production machine you need to set display_errors = Off in your php.ini

1 Like

@abuzarfaris I think this is a special case that you get PHP errors on screen, even after you turn off display_errors.

This is because the code intentionally catches those and echoes them in the dialog box, to provide feedback on the process.

If I am not mistaken…

@pgr I have seen these warnings display during import process and in that case they are both unnecessary and they go away after setting the error_reporting and display_errors properly

1 Like

thank you so much ,the issue solved by setting error_reporting

1 Like

Please mark the reply as the solution