wp-eloquent icon indicating copy to clipboard operation
wp-eloquent copied to clipboard

cant load Model

Open serge512 opened this issue 9 years ago • 3 comments

Hi in trying to use your script but i cant mange to get it working as i don't know where to load the class for Eloquent Models. i jsut get the following error:

Fatal error: Class 'WeDevs\ORM\Eloquent\Model' not found in /vol/www/cefi/wp-content/plugins/owd_escuelas/includes/Models/inscripciones.php on line 9

http://54.84.190.59/cefi/inscripciones/

i'm using it only on my plugin (with plugin boilerplate: wppb.io) so it doesn't load in wp. pls help

serge512 avatar Jun 16 '15 05:06 serge512

Can you run this command and try: composer dump-autoload --optimize

tareq1988 avatar Jun 16 '15 17:06 tareq1988

thx a lot. i think i messed up something along the way. but that did the trick.

serge512 avatar Jun 16 '15 17:06 serge512

hi. not to open a new issue, and seen how you use Illuminate. i need to use the Schema Builder it have, can you please guide me here. much appreciated.

serge512 avatar Jun 17 '15 00:06 serge512