I am using a brand new bitnami docker installation ( Version 7.14.2) and I have created some custom modules.
When I create the relations between the modules I see this error:
Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, null given in /bitnami/suitecrm/modules/ModuleBuilder/views/view.relationships.php
The relations seem to be created correctly after a browser refresh and I cannot see anything wrong but I would like to get rid of this error.
That is the CLI version, the web server version might be different. You get that one from a phpinfo, or perhaps it’s easier to just grab it from Admin / Diagnostics / phpinfo.
This is a complete fresh install of Version 7.14.2 using the bitnami docker.
I have created custom modules without any additional fields for now and are just creating all the relations to replicate the schema which we have in our SugarCRM.
Everything is done via module builder and module loader.
This error does not show all the time but it seems to be often when a relation between a base module and a custom module us created.
The relation is created correctly, it just seems to be the view which is failing to load right after the relation creation.
When you refresh the browser tab then all look fine.