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

At accesory checkout error 500 & no email reception #2133

Closed
ursus69 opened this issue Jun 7, 2016 · 0 comments
Closed

At accesory checkout error 500 & no email reception #2133

ursus69 opened this issue Jun 7, 2016 · 0 comments

Comments

@ursus69
Copy link

ursus69 commented Jun 7, 2016

Expected Behavior (or desired behavior if a feature request)

Check out the object and receive confirmation by email to the appropriate user.


Actual Behavior

An error 500 is displayed, if I go back in to the app the checkout was made. but no email is sent.

Afterwards at checking in everything is perfect the user receives the email confirming checking in.

Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running
    v2.1.1-55-g701c16f
  • What OS and web server you're running Snipe-IT on
    Ubuntu 14.04 Apache2
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
    Manual
  • If you're getting an error in your browser, include that error
    Error 500
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
    Checkout Accessories
  • If a stacktrace is provided in the error, include that too.
  • Any errors that appear in your browser's error console.
  • Confirm whether the error is reproduceable on the demo.
    No
  • Include any additional information you can find in app/storage/logs and your webserver's logs.
    Nothing in the logs
  • Include what you've done so far in the installation, and if you got any error messages along the way.
    None
  • Indicate whether or not you've manually edited any data directly in the database
    Nope

ErrorException thrown with message "Undefined variable: item_serial (View: /opt/snipe-it/app/views/emails/accept-asset.blade.php)"

Stacktrace:
#33 Illuminate\View\Engines\CompilerEngine:handleViewException in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:41
#32 Controllers\Admin\AccessoriesController:postCheckout in <#unknown>:0
#31 Illuminate\Routing\Router:Illuminate\Routing{closure} in <#unknown>:0
#30 ErrorException in /opt/snipe-it/app/storage/views/d0dad54c18516619cb94657173aa3dc6:26
#29 Illuminate\Exception\Handler:handleError in /opt/snipe-it/app/storage/views/d0dad54c18516619cb94657173aa3dc6:26
#28 include in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:37
#27 Illuminate\View\Engines\PhpEngine:evaluatePath in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:56
#26 Illuminate\View\Engines\CompilerEngine:get in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php:134
#25 Illuminate\View\View:getContents in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php:102
#24 Illuminate\View\View:renderContents in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php:76
#23 Illuminate\View\View:render in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:402
#22 Illuminate\Mail\Mailer:getView in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:272
#21 Illuminate\Mail\Mailer:addContent in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:147
#20 Illuminate\Mail\Mailer:send in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:214
#19 Illuminate\Support\Facades\Facade:__callStatic in /opt/snipe-it/app/controllers/admin/AccessoriesController.php:409
#18 Illuminate\Support\Facades\Mail:send in /opt/snipe-it/app/controllers/admin/AccessoriesController.php:409
#17 Controllers\Admin\AccessoriesController:postCheckout 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:967
#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:1033
#9 Illuminate\Routing\Router:dispatchToRoute in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001
#8 Illuminate\Routing\Router:dispatch in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775
#7 Illuminate\Foundation\Application:dispatch in /opt/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745
#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:641
#0 Illuminate\Foundation\Application:run in /opt/snipe-it/public/index.php:49

@snipe snipe closed this as completed in 0314699 Jun 9, 2016
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

1 participant