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
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
The text was updated successfully, but these errors were encountered:
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:
v2.1.1-55-g701c16f
Ubuntu 14.04 Apache2
Manual
Error 500
Checkout Accessories
No
app/storage/logs
and your webserver's logs.Nothing in the logs
None
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
The text was updated successfully, but these errors were encountered: