Error 500 Internal Server Error

GET https://www.anuppu.in/cart?p=cart

Query Metrics

9 Database Queries
9 Different statements
12.48 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.14 ms
(41.17%)
1
SELECT s0_.id AS id_0, s0_.shopid AS shopid_1, s0_.shopproductid AS shopproductid_2, s0_.masterproductid AS masterproductid_3, s0_.shopproductname AS shopproductname_4, s0_.shopproductprice AS shopproductprice_5, s0_.shopproductdesc AS shopproductdesc_6, s0_.displayproduct AS displayproduct_7, s0_.stockout AS stockout_8 FROM shopproducts s0_ WHERE s0_.shopproductid IN (?, ?, ?, ?, ?, ?)
Parameters:
[
  "466622709"
  "266577626"
  "400098936"
  "778126248"
  "312481465"
  "518825181"
]
2.12 ms
(16.96%)
1
SELECT p1.shopid as shopid, p1.productid as productid, p1.productprice as productprice
                                FROM prodproductprice p1
                                WHERE p1.id = (
                                    SELECT MAX(p2.id)
                                    FROM prodproductprice p2
                                    WHERE p2.shopid = p1.shopid AND p2.productid = p1.productid 
                                ) AND shopid IN ('4247814','8597665','8597665','9103579','6623686','1291885') AND productid IN ('466622709','266577626','400098936','778126248','312481465','518825181')
Parameters:
[]
1.71 ms
(13.73%)
1
select * from  cart
            JOIN shop ON shop.shopid = cart.establishmentid 
            where cart.userid = '22270733'
Parameters:
[]
0.95 ms
(7.58%)
1
SELECT c0_.id AS id_0, c0_.userid AS userid_1, c0_.cartid AS cartid_2, c0_.establishmentid AS establishmentid_3, c0_.productid AS productid_4, c0_.productvariantid AS productvariantid_5, c0_.productname AS productname_6, c0_.productcartprice AS productcartprice_7, c0_.quantity AS quantity_8, c0_.engravetext AS engravetext_9, c0_.addedtime AS addedtime_10 FROM cart c0_ WHERE c0_.userid = ? ORDER BY c0_.addedtime ASC
Parameters:
[
  "22270733"
]
0.78 ms
(6.27%)
1
SELECT s0_.id AS id_0, s0_.shopid AS shopid_1, s0_.shopname AS shopname_2, s0_.shopaddressid AS shopaddressid_3, s0_.contactuserid AS contactuserid_4, s0_.contactname AS contactname_5, s0_.addedtime AS addedtime_6 FROM shop s0_ WHERE s0_.shopid IN (?, ?, ?, ?, ?, ?)
Parameters:
[
  "4247814"
  "8597665"
  "8597665"
  "9103579"
  "6623686"
  "1291885"
]
0.55 ms
(4.37%)
1
select * from cartprescription where userid = '22270733' and establishmentid <> ''
Parameters:
[]
0.46 ms
(3.72%)
1
select * from  shopsettings where shopid IN ('4247814','8597665','9103579','6623686','1291885') order by id asc
Parameters:
[]
0.40 ms
(3.17%)
1
select * from shoporderingtime where shopid IN ('4247814','8597665','9103579','6623686','1291885')
Parameters:
[]
0.38 ms
(3.01%)
1
select * from shopproductstax where shopid IN ('4247814','8597665','9103579','6623686','1291885')
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Shop No errors.
App\Entity\Shopproducts No errors.
App\Entity\Cart No errors.