PHP Fatal error: Uncaught Error: Undefined constant "‘return_as_array’"

Hello,
v 7.14.3 | PHP 8.2
Upgraded from 7.13

I am getting strange error here.

PHP Fatal error:  Uncaught Error: Undefined constant "‘return_as_array’" in Layoutdefs/layoutdefs.ext.php on line 63

Code on 63:

‘function_parameters’ => array(‘import_function_file’ => ‘PATH’, ‘return_as_array’ => ‘true’),

I have fixed quoted on that line from ` to '. But when I do QR&R I get that error back in php log.

What is permeant fix for it?

What is the full path of that file?

The source file (which the QR&R is re-introducing) is somewhere under custom/Extension

So, shall I update code at custom/Extension/modules/Leads/Ext/Layoutdefs?

I could see that I have at least two files in the above location with same syntax.

1 Like