You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the refresh service starts the refresh process, it executes the following code:
$model = $this->app->make($className);
if (!$modelinstanceof StaplerableInterface) {
thrownewInvalidClassException("Invalid class: the $className class is not currently using Stapler.", 1);
}
Where $className is the value of the string you pass in. So it looks like your app (more specifically your application container) isn't resolving an instance of your Form model but is instead creating an instance of some other class (which doesn't implement StaplerableInterface).
I am using Laravel 5.2.
I have a model called Form, which implements StaperableInterface. Uploading works well. But I am unable to use the refresh command successfully.
I have tried
php artisan stapler:refresh Form
php artisan stapler:refresh App\Form
I keep receiving the invalid class exception.
Any help is appreciated. Thank you.
The text was updated successfully, but these errors were encountered: