select*from `products` where (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') orderby RAND() limit 1
16.01mssheikh_devCacheManagerTrait.php#301
Bindings
Backtrace
select*from `translations` where `translations`.`translationable_id` in (3308) and `translations`.`translationable_type` ='App\\Models\\Product'and `locale` ='eg'
790μssheikh_devCacheManagerTrait.php#301
Bindings
Backtrace
select*from `reviews` where `reviews`.`product_id` in (3308) and `delivery_man_id` isnulland `status` =1
780μssheikh_devCacheManagerTrait.php#301
Bindings
Backtrace
select `flash_deals`.*, (selectcount(*) from `flash_deal_products` where `flash_deals`.`id` = `flash_deal_products`.`flash_deal_id`) as `products_count` from `flash_deals` where (`deal_type` ='flash_deal'and `status` =1) anddate(`start_date`) <='2025-02-13'anddate(`end_date`) >='2025-02-13' limit 1
830μssheikh_devproduct-manager.php#1479
Bindings
Backtrace
selectcount(*) as aggregate from `products` where (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') and (`featured` =1)
5.3mssheikh_devproduct-manager.php#993
Bindings
Backtrace
select `products`.*, (selectcount(*) from `order_details` where `products`.`id` = `order_details`.`product_id`) as `order_details_count`, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `status` =1) as `reviews_count`, (selectcount(*) from `wishlists` where `products`.`id` = `wishlists`.`product_id`) as `wish_list_count`, (selectavg(`reviews`.`rating`) from `reviews` where `products`.`id` = `reviews`.`product_id` and `status` =1) as `reviews_avg_rating` from `products` where (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') and (`featured` =1) orderby `id` desc limit 12offset0
2.73mssheikh_devproduct-manager.php#993
Bindings
Backtrace
select*from `translations` where `translations`.`translationable_id` in (3301, 3303, 3304, 3307, 3308, 3312, 3318, 3320, 3321, 3322, 3323, 3324) and `translations`.`translationable_type` ='App\\Models\\Product'and `locale` ='eg'
820μssheikh_devproduct-manager.php#993
Bindings
Backtrace
select*from `reviews` where `reviews`.`product_id` in (3301, 3303, 3304, 3307, 3308, 3312, 3318, 3320, 3321, 3322, 3323, 3324) and `delivery_man_id` isnulland `status` =1
580μssheikh_devproduct-manager.php#993
Bindings
Backtrace
selectcount(*) as aggregate from `products` where (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical')
5.72mssheikh_devproduct-manager.php#1221
Bindings
Backtrace
select `products`.*, (selectcount(*) from `order_details` where `products`.`id` = `order_details`.`product_id`) as `order_details_count`, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `status` =1) as `reviews_count`, (selectcount(*) from `wishlists` where `products`.`id` = `wishlists`.`product_id`) as `wish_list_count`, (selectavg(`reviews`.`rating`) from `reviews` where `products`.`id` = `reviews`.`product_id` and `status` =1) as `reviews_avg_rating` from `products` where (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') orderby `order_details_count` desc limit 8offset0
16.94mssheikh_devproduct-manager.php#1221
Bindings
Backtrace
select*from `translations` where `translations`.`translationable_id` in (3296, 3301, 3303, 3304, 3307, 3308, 3312, 3318) and `translations`.`translationable_type` ='App\\Models\\Product'and `locale` ='eg'
860μssheikh_devproduct-manager.php#1221
Bindings
Backtrace
select*from `reviews` where `reviews`.`product_id` in (3296, 3301, 3303, 3304, 3307, 3308, 3312, 3318) and `delivery_man_id` isnulland `status` =1
560μssheikh_devproduct-manager.php#1221
Bindings
Backtrace
select `deal_of_the_days`.*, `products`.`unit_price` from `deal_of_the_days` innerjoin `products` on `products`.`id` = `deal_of_the_days`.`product_id` where `products`.`status` =1and `deal_of_the_days`.`status` =1 limit 1
600μssheikh_devHomeController.php#84
Bindings
Backtrace
select*from `storages` where `storages`.`data_type` ='App\\Models\\Banner'and `storages`.`data_id` =1and `storages`.`data_id` isnotnull
780μssheikh_devBanner.php#67
Bindings
Backtrace
select `cart_group_id` from `carts` whereexists (select*from `products` where `carts`.`product_id` = `products`.`id` and (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') and `status` =1) and (`customer_id` =201057and `is_guest` =1) groupby `cart_group_id`
840μssheikh_devcart-manager.php#100
Bindings
Backtrace
select*from `carts` whereexists (select*from `products` where `carts`.`product_id` = `products`.`id` and (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') and `status` =1) and0=1
710μssheikh_devcart-manager.php#65
Bindings
Backtrace
select `cart_group_id` from `carts` whereexists (select*from `products` where `carts`.`product_id` = `products`.`id` and (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') and `status` =1) and (`customer_id` =201057and `is_guest` =1) groupby `cart_group_id`
830μssheikh_devcart-manager.php#100
Bindings
Backtrace
select*from `carts` whereexists (select*from `products` where `carts`.`product_id` = `products`.`id` and (`added_by` ='admin') and `brand_id` isnulland `status` =1and (`status` =1) and (`request_status` =1) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('physical') and `status` =1) and0=1and (`is_checked` =1)