/home/techb158/immovalet.com/storage/debugbar
Edit: /home/techb158/immovalet.com/storage/debugbar/X1e01ec2d0c898349e3a4845f53c9410b.json (55112B)
{"__meta":{"id":"X1e01ec2d0c898349e3a4845f53c9410b","datetime":"2021-07-28 01:30:58","utime":1627435858.962399,"method":"POST","uri":"\/cart\/add-to-cart","ip":"::1"},"php":{"version":"7.3.24","interface":"cgi-fcgi"},"messages":{"count":0,"messages":[]},"time":{"start":1627435857.473652,"end":1627435858.962452,"duration":1.488800048828125,"duration_str":"1.49s","measures":[{"label":"Booting","start":1627435857.473652,"relative_start":0,"end":1627435858.451081,"relative_end":1627435858.451081,"duration":0.9774291515350342,"duration_str":"977ms","params":[],"collector":null},{"label":"Application","start":1627435858.462486,"relative_start":0.9888341426849365,"end":1627435858.962459,"relative_end":7.152557373046875e-6,"duration":0.4999730587005615,"duration_str":"500ms","params":[],"collector":null}]},"memory":{"peak_usage":35126792,"peak_usage_str":"33MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":0,"templates":[]},"route":{"uri":"POST cart\/add-to-cart","middleware":"web, core","as":"public.cart.add-to-cart","controller":"Botble\\Ecommerce\\Http\\Controllers\\Fronts\\PublicCartController@store","namespace":"Botble\\Ecommerce\\Http\\Controllers\\Fronts","prefix":null,"where":[],"file":"platform\/plugins\/ecommerce\/src\/Http\/Controllers\/Fronts\/PublicCartController.php:42-127"},"queries":{"nb_statements":14,"nb_failed_statements":0,"accumulated_duration":0.01602,"accumulated_duration_str":"16.02ms","statements":[{"sql":"select * from `ec_products` where `id` = '12' limit 1","type":"query","params":[],"bindings":["12"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"\/platform\/core\/support\/src\/Repositories\/Eloquent\/RepositoriesAbstract.php","line":68},{"index":18,"namespace":null,"name":"\/platform\/core\/support\/src\/Repositories\/Caches\/CacheAbstractDecorator.php","line":152},{"index":19,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Http\/Controllers\/Fronts\/PublicCartController.php","line":48},{"index":20,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":21,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":45}],"duration":0.0007,"duration_str":"700\u03bcs","stmt_id":"\/platform\/core\/support\/src\/Repositories\/Eloquent\/RepositoriesAbstract.php:68","connection":"shopwise","start_percent":0,"width_percent":4.37},{"sql":"select * from `ec_product_variations` where `ec_product_variations`.`configurable_product_id` = 12 and `ec_product_variations`.`configurable_product_id` is not null","type":"query","params":[],"bindings":["12"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":20,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Http\/Controllers\/Fronts\/PublicCartController.php","line":56},{"index":21,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":22,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":45},{"index":23,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":254}],"duration":0.00361,"duration_str":"3.61ms","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":4.37,"width_percent":22.534},{"sql":"select * from `ec_product_variations` where `ec_product_variations`.`configurable_product_id` = 12 and `ec_product_variations`.`configurable_product_id` is not null and `ec_product_variations`.`is_default` = 1 limit 1","type":"query","params":[],"bindings":["12","1"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":21,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Http\/Controllers\/Fronts\/PublicCartController.php","line":57},{"index":22,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":45},{"index":24,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":254}],"duration":0.0005,"duration_str":"500\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":26.904,"width_percent":3.121},{"sql":"select * from `ec_products` where `ec_products`.`id` = 63 limit 1","type":"query","params":[],"bindings":["63"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":21,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Http\/Controllers\/Fronts\/PublicCartController.php","line":57},{"index":22,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":45},{"index":24,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":254}],"duration":0.00091,"duration_str":"910\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":30.025,"width_percent":5.68},{"sql":"select * from `ec_product_variations` where `ec_product_variations`.`product_id` = 63 and `ec_product_variations`.`product_id` is not null limit 1","type":"query","params":[],"bindings":["63"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":21,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":605},{"index":27,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":28,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/OrderHelper.php","line":356},{"index":29,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":261}],"duration":0.00047,"duration_str":"470\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":35.705,"width_percent":2.934},{"sql":"select * from `ec_products` where `ec_products`.`id` = 12 limit 1","type":"query","params":[],"bindings":["12"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":21,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":605},{"index":27,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":28,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/OrderHelper.php","line":356},{"index":29,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":261}],"duration":0.0007,"duration_str":"700\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":38.639,"width_percent":4.37},{"sql":"select `ec_product_collections`.*, `ec_product_collection_products`.`product_id` as `pivot_product_id`, `ec_product_collection_products`.`product_collection_id` as `pivot_product_collection_id` from `ec_product_collections` inner join `ec_product_collection_products` on `ec_product_collections`.`id` = `ec_product_collection_products`.`product_collection_id` where `ec_product_collection_products`.`product_id` = 63","type":"query","params":[],"bindings":["63"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":20,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":565},{"index":23,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":573},{"index":25,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Traits\/ForwardsCalls.php","line":23},{"index":27,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":584}],"duration":0.00068,"duration_str":"680\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":43.009,"width_percent":4.245},{"sql":"select * from `ec_customers` where `id` = '1' limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":68},{"index":16,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":179},{"index":17,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":149},{"index":18,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":60},{"index":19,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":575}],"duration":0.00061,"duration_str":"610\u03bcs","stmt_id":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php:68","connection":"shopwise","start_percent":47.253,"width_percent":3.808},{"sql":"select `ec_discounts`.*, `ec_discount_products`.`product_id` as `pivot_product_id`, `ec_discount_products`.`discount_id` as `pivot_discount_id` from `ec_discounts` inner join `ec_discount_products` on `ec_discounts`.`id` = `ec_discount_products`.`discount_id` left join `ec_discount_product_collections` on `ec_discounts`.`id` = `ec_discount_product_collections`.`discount_id` left join `ec_discount_customers` on `ec_discounts`.`id` = `ec_discount_customers`.`discount_id` where `ec_discount_products`.`product_id` = 63 and `type` = 'promotion' and `start_date` <= '2021-07-28 01:30:58' and (((`target` = 'specific-product' or `target` = 'product-variant') and `ec_discount_products`.`product_id` = 63) or (`target` = 'group-products' and 0 = 1) or (`target` = 'customer' and `ec_discount_customers`.`customer_id` = -1)) and (`end_date` is null or `end_date` >= '2021-07-28 01:30:58') and `product_quantity` = 1","type":"query","params":[],"bindings":["63","promotion","2021-07-28 01:30:58","specific-product","product-variant","63","group-products","customer","-1","2021-07-28 01:30:58","1"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":20,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":399},{"index":27,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":461},{"index":33,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":34,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/OrderHelper.php","line":367}],"duration":0.0009599999999999999,"duration_str":"960\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":51.061,"width_percent":5.993},{"sql":"select `ec_flash_sales`.*, `ec_flash_sale_products`.`product_id` as `pivot_product_id`, `ec_flash_sale_products`.`flash_sale_id` as `pivot_flash_sale_id`, `ec_flash_sale_products`.`price` as `pivot_price`, `ec_flash_sale_products`.`quantity` as `pivot_quantity`, `ec_flash_sale_products`.`sold` as `pivot_sold` from `ec_flash_sales` inner join `ec_flash_sale_products` on `ec_flash_sales`.`id` = `ec_flash_sale_products`.`flash_sale_id` where `ec_flash_sale_products`.`product_id` = 12 and `status` = 'published' and `end_date` >= '2021-07-28' order by `created_at` desc","type":"query","params":[],"bindings":["12","published","2021-07-28"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":20,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":423},{"index":27,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":461},{"index":33,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":34,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/OrderHelper.php","line":367}],"duration":0.00088,"duration_str":"880\u03bcs","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":57.054,"width_percent":5.493},{"sql":"select distinct `ec_product_variations`.`product_id`, `ec_product_variations`.`configurable_product_id`, `ec_product_attributes`.*, `ec_product_attribute_sets`.`title` as `attribute_set_title`, `ec_product_attribute_sets`.`slug` as `attribute_set_slug` from `ec_product_variations` inner join `ec_product_variation_items` on `ec_product_variation_items`.`variation_id` = `ec_product_variations`.`id` inner join `ec_product_attributes` on `ec_product_attributes`.`id` = `ec_product_variation_items`.`attribute_id` inner join `ec_product_attribute_sets` on `ec_product_attribute_sets`.`id` = `ec_product_attributes`.`attribute_set_id` where `ec_product_variations`.`product_id` = 63 and `ec_product_variations`.`product_id` is not null","type":"query","params":[],"bindings":["63"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":20,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Models\/Product.php","line":690},{"index":26,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":27,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/OrderHelper.php","line":370},{"index":28,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":261}],"duration":0.00161,"duration_str":"1.61ms","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":62.547,"width_percent":10.05},{"sql":"select * from `ec_taxes` where `ec_taxes`.`id` = 1 limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"\/platform\/core\/base\/src\/Models\/BaseModel.php","line":26},{"index":21,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/OrderHelper.php","line":371},{"index":22,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":261},{"index":23,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Http\/Controllers\/Fronts\/PublicCartController.php","line":98},{"index":24,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"duration":0.00311,"duration_str":"3.11ms","stmt_id":"\/platform\/core\/base\/src\/Models\/BaseModel.php:26","connection":"shopwise","start_percent":72.597,"width_percent":19.413},{"sql":"select * from `ec_currencies` where `is_default` = 1 limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"\/platform\/core\/support\/src\/Repositories\/Eloquent\/RepositoriesAbstract.php","line":260},{"index":18,"namespace":null,"name":"\/platform\/core\/support\/src\/Repositories\/Caches\/CacheAbstractDecorator.php","line":168},{"index":19,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/CurrencySupport.php","line":82},{"index":20,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/src\/Supports\/CurrencySupport.php","line":57},{"index":21,"namespace":null,"name":"\/platform\/plugins\/ecommerce\/helpers\/currencies.php","line":147}],"duration":0.00067,"duration_str":"670\u03bcs","stmt_id":"\/platform\/core\/support\/src\/Repositories\/Eloquent\/RepositoriesAbstract.php:260","connection":"shopwise","start_percent":92.01,"width_percent":4.182},{"sql":"select * from `users` where `id` = '1' limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":68},{"index":16,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":179},{"index":17,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":149},{"index":18,"namespace":null,"name":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/AuthManager.php","line":54},{"index":23,"namespace":null,"name":"\/platform\/packages\/theme\/src\/Http\/Middleware\/AdminBarMiddleware.php","line":54}],"duration":0.00061,"duration_str":"610\u03bcs","stmt_id":"\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php:68","connection":"shopwise","start_percent":96.192,"width_percent":3.808}]},"models":{"data":{"Botble\\ACL\\Models\\User":1,"Botble\\Ecommerce\\Models\\Currency":1,"Botble\\Ecommerce\\Models\\Tax":1,"Botble\\Ecommerce\\Models\\FlashSale":1,"Botble\\Ecommerce\\Models\\Customer":1,"Botble\\Ecommerce\\Models\\ProductVariation":8,"Botble\\Ecommerce\\Models\\Product":3},"count":16},"swiftmailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"session":{"_token":"ZOMUza2rN2cWiNPvsr1Y6NAuNwAZPnkiy3BsxCw9","_previous":"array:1 [\n \"url\" => \"http:\/\/shopwise.local\"\n]","_flash":"array:2 [\n \"old\" => []\n \"new\" => []\n]","cart":"array:2 [\n \"cart_updated_at\" => Illuminate\\Support\\Carbon @1627435858 {#2731\n #endOfTime: false\n #startOfTime: false\n #constructedObjectId: \"00000000578cb8850000000072b210b7\"\n #localMonthsOverflow: null\n #localYearsOverflow: null\n #localStrictModeEnabled: null\n #localHumanDiffOptions: null\n #localToStringFormat: null\n #localSerializer: null\n #localMacros: null\n #localGenericMacros: null\n #localFormatFunction: null\n #localTranslator: null\n #dumpProperties: array:3 [\n 0 => \"date\"\n 1 => \"timezone_type\"\n 2 => \"timezone\"\n ]\n #dumpLocale: null\n date: 2021-07-28 01:30:58.897210 UTC (+00:00)\n }\n \"cart\" => Illuminate\\Support\\Collection {#2780\n #items: array:1 [\n \"1c6a5629d2083a9441cce6c0d8955fa4\" => Botble\\Ecommerce\\Cart\\CartItem {#2713\n +rowId: \"1c6a5629d2083a9441cce6c0d8955fa4\"\n +id: 63\n +qty: 1\n +name: \"Macbook Pro 13 inch\"\n +price: 77.787\n +options: Botble\\Ecommerce\\Cart\\CartItemOptions {#2666\n #items: array:4 [\n \"image\" => \"http:\/\/shopwise.local\/storage\/products\/12-150x150.jpg\"\n \"attributes\" => \"(Color: Green, Size: M)\"\n \"taxRate\" => 10.0\n \"extras\" => []\n ]\n }\n #associatedModel: null\n #taxRate: 10.0\n +\"created_at\": Illuminate\\Support\\Carbon @1627435858 {#2709\n #endOfTime: false\n #startOfTime: false\n #constructedObjectId: \"00000000578cb8bb0000000072b210b7\"\n #localMonthsOverflow: null\n #localYearsOverflow: null\n #localStrictModeEnabled: null\n #localHumanDiffOptions: null\n #localToStringFormat: null\n #localSerializer: null\n #localMacros: null\n #localGenericMacros: null\n #localFormatFunction: null\n #localTranslator: null\n #dumpProperties: array:3 [\n 0 => \"date\"\n 1 => \"timezone_type\"\n 2 => \"timezone\"\n ]\n #dumpLocale: null\n date: 2021-07-28 01:30:58.896893 UTC (+00:00)\n }\n +\"updated_at\": Illuminate\\Support\\Carbon @1627435858 {#2706\n #endOfTime: false\n #startOfTime: false\n #constructedObjectId: \"00000000578cb8bc0000000072b210b7\"\n #localMonthsOverflow: null\n #localYearsOverflow: null\n #localStrictModeEnabled: null\n #localHumanDiffOptions: null\n #localToStringFormat: null\n #localSerializer: null\n #localMacros: null\n #localGenericMacros: null\n #localFormatFunction: null\n #localTranslator: null\n #dumpProperties: array:3 [\n 0 => \"date\"\n 1 => \"timezone_type\"\n 2 => \"timezone\"\n ]\n #dumpLocale: null\n date: 2021-07-28 01:30:58.896992 UTC (+00:00)\n }\n }\n ]\n }\n]","tracked_start_checkout":"93b72bf13becc05b26647462e426af05"},"request":{"path_info":"\/cart\/add-to-cart","status_code":"
200<\/span>\n<\/pre>