Summary:
PHP Fatal Error editing entries after adding type checking to CGExtension
Detailed Description:
After upgrading CGExtensions to 1.64.6 editing company entries fail with this
error:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument
1 passed to cge_array::to_object() must be of the type array, object given,
called in
/home/andrea/domains/domain.com/public_html/entw/modules/CompanyDirectory/action.editcompany.php
on line 239 and defined in
/home/andrea/domains/domain.com/public_html/entw/modules/CGExtensions/lib/class.cge_array.php:363\nStack
trace:\n#0
/home/andrea/domains/domain.com/public_html/entw/modules/CompanyDirectory/action.editcompany.php(239):
cge_array::to_object(Object(stdClass))\n#1
/home/andrea/domains/domain.com/public_html/entw/lib/classes/class.CMSModule.php(1403):
include('/home/andrea/do...')\n#2
/home/andrea/domains/domain.com/public_html/entw/modules/CGExtensions/CGExtensions.module.php(611):
CMSModule->DoAction('editcompany', 'm1_', Array, '')\n#3
/home/andrea/domains/domain.com/public_html/entw/lib/classes/class.CMSModule.php(1479):
...\n', referer: https://entw.domain.com/