Hi, I’m having trouble creating a custom module from module builder.
I’ve found an error when I try to create the module with a relationship with Activities. Whenever I try to deploy the module I’m getting this error message in the view:
So, I’ve been debugging the functionality to find out what is giving me the error. It seems like suite is trying to make a require from a class that has some errors on it and thats making it to throw an exception that stops the code. More specifically the error is in modules/ModuleBuilder/parsers/relationships/RelationshipFactory.php. In the newRelationship function in the line 63 the class does a require_once to modules/ModuleBuilder/parsers/relationships/ActivitiesRelationship.php. The code doesn’t complete the require.
Yes, this is the typical simple PHP 8 fix that needs to go into core. If you can, please open the Issue, and you can even create a PR with the fix.
Pr that touch only one file are simple to create from Github. Just go to the file on the correct (hotfix) branch and click the pencil icon to edit the file.
Github will offer to create the fork for you. Then you will have to save twice: once for the commit, a second time for the PR with the commit. Github guides you with big green buttons so you know what to press.