I have a rather serious problem… I moved SuiteCRM to a different domain (the DB stayed the same and the db connection as well, it just moved instance to a different folder). I repaired permissions and chown etc…
Everything works as expected except one thing that I really need now I need to create new modules and add relationships between them but when I click on add relationship - the page is blank and I have this in console:
&relationship_name=&relationship_type=&lhs_module=&rhs_module=&lhs_label=&rhs_label=&json=false&id=relEditor& fails on 500 error
The apache log says:
PHP Fatal Error: Uncaught Error: Call to undefined function each() in mycrmurl/modules/ModuleBuilder/views/views.relationship.php: 143
Any ideas whats happening here?