Last active
September 29, 2018 10:12
-
-
Save Idnan/a034923a47b61988b7f238bccd513957 to your computer and use it in GitHub Desktop.
API Logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-05-23T09:00:29+0000 [10.10.0.100::192.168.99.1][]:[DEBUG][799.9999][POST http://api.local:8080/cart/order-69a2397b-e6d3-4967-bd22-706c4c19daa2/coupon/cap800][PostmanRuntime/7.1.1][][5105008][0] | |
2018-05-23T09:00:29+0000 [10.10.0.100::192.168.99.1][]:[DEBUG][799.9999][POST http://api.local:8080/cart/order-69a2397b-e6d3-4967-bd22-706c4c19daa2/coupon/cap800][PostmanRuntime/7.1.1][][5104944][0] | |
2018-05-23T09:04:49+0000 [10.10.0.100::192.168.99.1][]:[ERROR][Call to undefined function PHPSTORM_META\type()][POST http://api.local:8080/cart/order-69a2397b-e6d3-4967-bd22-706c4c19daa2/coupon/cap800][PostmanRuntime/7.1.1][][4911344][0] #0 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(1305): Base\Order\CartModel->calculateTotal() #1 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(2047): Base\Order\CartModel->collectTotals() #2 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(992): Base\Order\CartModel->collectTotal() #3 /var/www/api/vendor/src/Base/Order/CartModel.php(221): Base\Order\CartModel->addProduct(Object(App\Modules\Ahs\Models\CartProduct)) #4 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(2837): Base\Order\CartModel->addCouponOrRuleProduct(Array) #5 /var/www/api/app/Modules/Ahs/Request/ApplyCouponRequest.php(86): Base\Order\CartModel->applyPricingRules() #6 /var/www/api/app/Modules/Ahs/Controllers/CartController.php(141): App\Modules\Ahs\Request\ApplyCouponRequest->process() #7 *internal function*: App\Modules\Ahs\Controllers\CartController->applyCoupon('order-69a2397b-...', 'cap800') #8 /var/www/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array) #9 /var/www/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #10 /var/www/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure)) #11 /var/www/api/vendor/illuminate/container/Container.php(564): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL) #12 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(373): Illuminate\Container\Container->call(Array, Array) #13 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(339): Laravel\Lumen\Application->callControllerCallable(Array, Array) #14 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(313): Laravel\Lumen\Application->callLumenController(Object(App\Modules\Ahs\Controllers\CartController), 'applyCoupon', Array) #15 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(275): Laravel\Lumen\Application->callControllerAction(Array) #16 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(255): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array) #17 *internal function*: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request)) #18 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #19 /var/www/api/app/Http/Middleware/GuardResourceMiddleware.php(59): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #20 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\GuardResourceMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure), 'h_cart_...') #21 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #22 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #23 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(104): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #24 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #25 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(256): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure)) #26 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(230): Laravel\Lumen\Application->handleFoundRoute(Array) #27 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(164): Laravel\Lumen\Application->handleDispatcherResponse(Array) #28 *internal function*: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request)) #29 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #30 /var/www/api/app/Http/Middleware/RequestLogMiddleware.php(21): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #31 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\RequestLogMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure)) #32 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #33 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #34 /var/www/api/app/Http/Middleware/LanguageMiddleware.php(23): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #35 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\LanguageMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure)) #36 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #37 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #38 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(104): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #39 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #40 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(166): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure)) #41 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(107): Laravel\Lumen\Application->dispatch(Object(Illuminate\Http\Request)) #42 /var/www/api/public/index.php(32): Laravel\Lumen\Application->run(Object(Illuminate\Http\Request)) #43 {main} | |
2018-05-23T09:08:51+0000 [10.10.0.100::192.168.99.1][]:[ERROR][Type error: Return value of Base\Core\CommonHelper::FormatNumber() must be an instance of Base\Core\double, float returned][POST http://api.local:8080/cart/order-69a2397b-e6d3-4967-bd22-706c4c19daa2/coupon/cap800][PostmanRuntime/7.1.1][][4494568][0] #0 /var/www/api/vendor/src/Base/Total/PriceModel.php(110): Base\Core\CommonHelper::FormatNumber(3626.4128) #1 /var/www/api/vendor/src/Base/Total/PriceModel.php(472): Base\Total\PriceModel->setBasePrice(3626.4128976) #2 /var/www/api/vendor/src/Base/Product/ProductModel.php(1491): Base\Total\PriceModel->calculateFrom(Object(Model\Price), 'AED', 0.979344) #3 /var/www/api/vendor/src/Base/Product/ProductModel.php(1472): Base\Product\ProductModel->collectDisplayPrice() #4 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(2547): Base\Product\ProductModel->setDisplayCurrency('AED') #5 /var/www/api/vendor/src/Base/Order/CartModel.php(128): Base\Order\CartModel->getProducts() #6 /var/www/api/app/Modules/Ahs/Request/ApplyCouponRequest.php(99): Base\Order\CartModel->isExpired() #7 /var/www/api/app/Modules/Ahs/Request/ApplyCouponRequest.php(65): App\Modules\Ahs\Request\ApplyCouponRequest->getCart() #8 /var/www/api/app/Modules/Ahs/Controllers/CartController.php(141): App\Modules\Ahs\Request\ApplyCouponRequest->process() #9 *internal function*: App\Modules\Ahs\Controllers\CartController->applyCoupon('order-69a2397b-...', 'cap800') #10 /var/www/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array) #11 /var/www/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #12 /var/www/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure)) #13 /var/www/api/vendor/illuminate/container/Container.php(564): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL) #14 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(373): Illuminate\Container\Container->call(Array, Array) #15 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(339): Laravel\Lumen\Application->callControllerCallable(Array, Array) #16 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(313): Laravel\Lumen\Application->callLumenController(Object(App\Modules\Ahs\Controllers\CartController), 'applyCoupon', Array) #17 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(275): Laravel\Lumen\Application->callControllerAction(Array) #18 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(255): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array) #19 *internal function*: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request)) #20 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #21 /var/www/api/app/Http/Middleware/GuardResourceMiddleware.php(59): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #22 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\GuardResourceMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure), 'cart_...') #23 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #24 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #25 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(104): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #26 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #27 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(256): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure)) #28 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(230): Laravel\Lumen\Application->handleFoundRoute(Array) #29 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(164): Laravel\Lumen\Application->handleDispatcherResponse(Array) #30 *internal function*: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request)) #31 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #32 /var/www/api/app/Http/Middleware/RequestLogMiddleware.php(21): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #33 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\RequestLogMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure)) #34 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #35 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #36 /var/www/api/app/Http/Middleware/LanguageMiddleware.php(23): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #37 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\LanguageMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure)) #38 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #39 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #40 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(104): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #41 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #42 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(166): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure)) #43 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(107): Laravel\Lumen\Application->dispatch(Object(Illuminate\Http\Request)) #44 /var/www/api/public/index.php(32): Laravel\Lumen\Application->run(Object(Illuminate\Http\Request)) #45 {main} | |
2018-05-23T09:34:18+0000 [10.10.0.100::192.168.99.1][]:[ERROR][Undefined variable: sum1][POST http://api.local:8080/cart/order-69a2397b-e6d3-4967-bd22-706c4c19daa2/coupon/cap800][PostmanRuntime/7.1.1][][4792656][0] #0 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(1535): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/var/www/hotel-...', 1535, Array) #1 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(1305): Base\Order\CartModel->calculateTotal() #2 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(2044): Base\Order\CartModel->collectTotals() #3 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(992): Base\Order\CartModel->collectTotal() #4 /var/www/api/vendor/src/Base/Order/CartModel.php(221): Base\Order\CartModel->addProduct(Object(App\Modules\Ahs\Models\CartProduct)) #5 /var/www/api/vendor/src/Base/Order/CartOrderAttributeTrait.php(2834): Base\Order\CartModel->addCouponOrRuleProduct(Array) #6 /var/www/api/app/Modules/Ahs/Request/ApplyCouponRequest.php(86): Base\Order\CartModel->applyPricingRules() #7 /var/www/api/app/Modules/Ahs/Controllers/CartController.php(141): App\Modules\Ahs\Request\ApplyCouponRequest->process() #8 *internal function*: App\Modules\Ahs\Controllers\CartController->applyCoupon('order-69a2397b-...', 'cap800') #9 /var/www/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array) #10 /var/www/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #11 /var/www/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure)) #12 /var/www/api/vendor/illuminate/container/Container.php(564): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL) #13 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(373): Illuminate\Container\Container->call(Array, Array) #14 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(339): Laravel\Lumen\Application->callControllerCallable(Array, Array) #15 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(313): Laravel\Lumen\Application->callLumenController(Object(App\Modules\Ahs\Controllers\CartController), 'applyCoupon', Array) #16 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(275): Laravel\Lumen\Application->callControllerAction(Array) #17 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(255): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array) #18 *internal function*: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request)) #19 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #20 /var/www/api/app/Http/Middleware/GuardResourceMiddleware.php(59): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #21 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\GuardResourceMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure), 'cart_...') #22 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #23 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #24 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(104): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #25 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #26 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(256): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure)) #27 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(230): Laravel\Lumen\Application->handleFoundRoute(Array) #28 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(164): Laravel\Lumen\Application->handleDispatcherResponse(Array) #29 *internal function*: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request)) #30 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #31 /var/www/api/app/Http/Middleware/RequestLogMiddleware.php(21): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #32 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\RequestLogMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure)) #33 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #34 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #35 /var/www/api/app/Http/Middleware/LanguageMiddleware.php(23): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #36 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(151): App\Http\Middleware\LanguageMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure)) #37 *internal function*: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #38 /var/www/api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #39 /var/www/api/vendor/illuminate/pipeline/Pipeline.php(104): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request)) #40 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #41 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(166): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure)) #42 /var/www/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(107): Laravel\Lumen\Application->dispatch(Object(Illuminate\Http\Request)) #43 /var/www/api/public/index.php(32): Laravel\Lumen\Application->run(Object(Illuminate\Http\Request)) #44 {main} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment