But when I try to build it, Im getting this error inside extraBuilder âError, Validate âbootstrap.phpâ: Class still does not exist after autoloader registration: test\modMyObjectâ
and Could not load class: test\modMyObject from mysql.test\modmyobject On the MODX log
Also looking at the generated files, there only boilerplate code, but no trace of the table fields
I only use xPDO directly so not sure what pieces ExtrasBuilder may do for you magically, but what command did you use to build the schema? Are you providing your own PSR-4 autoloader (maybe EB does?) or are you relying on the one MODX registers when you do addPackage?
When it comes to stuff like this, Iâll just say Iâm a big fan of understanding whatâs going on under the hood before using magical stuff that makes it easier. In the end it should be running the same, just hidden behind a button or command, so knowing the command is a useful skill!
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting â+ New Topicâ.