XF 2.1 xf-dev:entity-class-properties command says class not found

asprin

Active member
I've the following set up for a custom entity

1652520882205.png

Then, when I run the following command in terminal, I'm getting the following error:
1652518209148.png

I'm sure I'm missing something trivial but haven't been able to figure it out for the past two hours. Any help here please?
 
Last edited:
Solution
I seemed to have made it work. Not sure how it's connected but this is what I had to do:

I'm using VSC and for some reason its terminal wasn't able to recognize php commands. The strange thing was that I was able to execute them via the regular command line but not the editor's terminal.

This prompted me to add the location of the phpexecutable to the PATH variable. This enabled the editor's terminal to now identify php commands and it started working. Very odd indeed.

Just putting it out there if someone comes across this behavior.
I seemed to have made it work. Not sure how it's connected but this is what I had to do:

I'm using VSC and for some reason its terminal wasn't able to recognize php commands. The strange thing was that I was able to execute them via the regular command line but not the editor's terminal.

This prompted me to add the location of the phpexecutable to the PATH variable. This enabled the editor's terminal to now identify php commands and it started working. Very odd indeed.

Just putting it out there if someone comes across this behavior.
 
Solution
Back
Top Bottom