Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant load Model #3

Open
serge512 opened this issue Jun 16, 2015 · 3 comments
Open

cant load Model #3

serge512 opened this issue Jun 16, 2015 · 3 comments

Comments

@serge512
Copy link

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

@tareq1988
Copy link
Owner

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

@serge512
Copy link
Author

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

@serge512
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants