Error Editing Fields in Studio > Layot View

Hi All,

Under Layouts, when editing in edit, list or detail view I am getting the following error:

Strict Standards: Declaration of ViewProperty::init() should be compatible with SugarView::init($bean = NULL, $view_object_map = Array) in /modules/ModuleBuilder/views/view.property.php on line 150
{“east”:{“title”:“Properties”,“crumb”:"",“content”:"
\n\n\n\n\n\n\n\n\n

Any ideas for a fix?

Hi

please remember to always include your version of PHP and SuiteCRM, it really helps.

Go to this file in your system

https://github.com/salesagility/SuiteCRM/blob/master/modules/ModuleBuilder/views/view.property.php#L80

and change that line to this

function init($bean = NULL, $view_object_map = Array) // pseduo-constuctor - given a well-known name to allow subclasses to call this classes constructor

I will be fixing this in the code so it doesn’t happen again to anyone else.