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

Method [checkModel] does not exist. #702

Closed
mdaniels5757 opened this issue Mar 27, 2015 · 3 comments
Closed

Method [checkModel] does not exist. #702

mdaniels5757 opened this issue Mar 27, 2015 · 3 comments

Comments

@mdaniels5757
Copy link

Hi,

Just installed Snipe-It, this is what happens when I try to add an asset:

Snipe-IT Version: v1.2.6.1-152
OS: Ubuntu 14.04
Webserver: Apache
'''
BadMethodCallException thrown with message "Method [checkModel] does not exist."

Stacktrace:
#20 BadMethodCallException in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:268
#19 Illuminate\Routing\Controller:__call in /opt/snipe-it/app/controllers/admin/AssetsController.php:158
#18 Controllers\Admin\AssetsController:checkModel in /opt/snipe-it/app/controllers/admin/AssetsController.php:158
#17 Controllers\Admin\AssetsController:postCreate in <#unknown>:0
#16 call_user_func_array in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:231
#15 Illuminate\Routing\Controller:callAction in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:93
#14 Illuminate\Routing\ControllerDispatcher:call in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:62
#13 Illuminate\Routing\ControllerDispatcher:dispatch in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php:962
#12 Illuminate\Routing\Router:Illuminate\Routing{closure} in <#unknown>:0
#11 call_user_func_array in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Route.php:109
#10 Illuminate\Routing\Route:run in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1028
#9 Illuminate\Routing\Router:dispatchToRoute in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php:996
#8 Illuminate\Routing\Router:dispatch in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:777
#7 Illuminate\Foundation\Application:dispatch in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:747
#6 Illuminate\Foundation\Application:handle in /opt/snipe-it/vendor/barryvdh/laravel-debugbar/src/Middleware/Stack.php:34
#5 Barryvdh\Debugbar\Middleware\Stack:handle in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72
#4 Illuminate\Session\Middleware:handle in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47
#3 Illuminate\Cookie\Queue:handle in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51
#2 Illuminate\Cookie\Guard:handle in /opt/snipe-it/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23
#1 Stack\StackedHttpKernel:handle in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:643
#0 Illuminate\Foundation\Application:run in /opt/snipe-it/public/index.php:49

'''
Please let me know what to do, and if you need any more info.

Thanks!

@snipe
Copy link
Owner

snipe commented Mar 27, 2015

Is there a reason you're using the develop branch instead of a release version?

@mdaniels5757
Copy link
Author

Not really. Is this a problem with my install or a bug with the branch? I
might just install the release version....

On Fri, Mar 27, 2015, 4:40 PM snipe notifications@github.com wrote:

Is there a reason you're using the develop branch instead of a release
version?


Reply to this email directly or view it on GitHub
#702 (comment).

@snipe
Copy link
Owner

snipe commented Mar 27, 2015

The develop branch shouldn't be used for installing the software, only for folks who want to contribute to the codebase, as it can sometimes be unstable as we're testing things. Please use the latest stable release.

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