https://prod.golmanagerpanel.com/api/es/notification/list?isIos=true&p=api%2Fes%2Fnotification%2Flist&version_app=4.0.8

Query Metrics

5 Database Queries
5 Different statements
396.31 ms Query time
7 Invalid entities

Queries

Group similar statements

# Time Info
1 42.82 ms
SELECT
        *
        FROM
        customer_device
        WHERE
            :token LIKE CONCAT(token,'%') AND
            `status` = 0
Parameters:
[
  "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MzE2MDAxMDYsImV4cCI6MTczMTYwMzcwNiwicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJ1c2VybmFtZSI6ImN0ZWNuaWNvY2Vycm9AZ21haWwuY29tIn0.iAouzl1OWOH_IR_vWfQvQc_azEEKQsnab34lToj_huR9ZhM6T5WsQPm7OWPeUItT4zdNMMU4mWA97aPm_V_fk0P5Gja4afkkuF-sIHjG9ATNBiQ69ytIClh1DWixGmRrOqcM745Uv8bANwZGUihKztLhc5Qt6-F156sUbRNUkMFQrl70ch6PncElJo2cR_gtfRmD_AAEAqkhLpYRkNy7CyL9L1SxKv3L-oIxSS6owG1NHBhOfiGIWBFAoOmid4UDt1PR5qZ0nInTRCncJFEbrlIez8PiuWCPIayZotT1z3fhzg7kn6O0Nz3d71_rIaHY5rKtO6EnJTfWXYJqgJ8PVsMvksxzKMYSkTDqXX6aVp9WmZYoT5xB16ffvyX4ySIFAO08u3jVYqCLjiARgwRdTWe-kFzD9Iqvz-OQf8iueBDAxUa7JFmx9mJh7_JjF7VUVHkS_09a4e6zELYBg53Z3Lhxt2JjWbAFn0nYT5RjrYGFb3EIS4UK-PiU_bMx2lWXlxaArxGIENQfBqzxKFTn8i46YynUetF-ymxOILReZkSKA5-3lwy3Rr2tUPaGEBxdhpkZT_h0VVJdYu3VAS4s4H1SYUgS-TZpT_y3VYfwxmXfmRybbec4-NAVTHH3u470HX3IhLF_WEcCLuayRmuBc_0y0qWBYzWgdiHA1RRboOw"
]
2 1.24 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.username AS username_3, t0.roles AS roles_4, t0.password AS password_5, t0.plain_password AS plain_password_6, t0.enabled AS enabled_7, t0.name AS name_8, t0.surname AS surname_9, t0.address AS address_10, t0.celular AS celular_11, t0.image AS image_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.country_id AS country_id_15, t0.season_active AS season_active_16, t0.type_account AS type_account_17, t0.is_pro AS is_pro_18, t0.purchase AS purchase_19, t0.purchase_platform AS purchase_platform_20, t0.membership_id AS membership_id_21, t0.coupon_status AS coupon_status_22, t0.phone AS phone_23, t0.google_auth_code AS google_auth_code_24, t0.google_auth_code_verified AS google_auth_code_verified_25, t0.date_of_birth AS date_of_birth_26, t0.deleted_at AS deleted_at_27, t0.is_deleted AS is_deleted_28, t0.country_id AS country_id_29 FROM customer t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "ctecnicocerro@gmail.com"
]
3 1.44 ms
SELECT t0.id AS id_1, t0.year AS year_2, t0.is_active AS is_active_3, t0.team_id AS team_id_4, t0.customer_id AS customer_id_5, t0.country_id AS country_id_6 FROM season t0 WHERE t0.customer_id = ?
Parameters:
[
  18091
]
4 326.19 ms
SELECT  n.*, 
        nt.title, 
        nt.body AS message, 
        IF(tn.image,CONCAT('https://prod.golmanagerpanel.com/uploads/images/type_notification_images/', tn.image), NULL)  AS icon,
        0 AS is_automatic,
        (CASE WHEN nrs.customer_id IS NOT NULL THEN TRUE ELSE false END) AS isRead 
        FROM `notification` n 
        INNER JOIN `notification_translation` nt ON nt.translatable_id = n.id AND nt.locale = :locale
        LEFT JOIN `notification_removes` rm ON  rm.notification_id = n.id AND rm.customer_id = :customer_id
        LEFT JOIN `notification_reads` nrs ON nrs.notification_id = n.id AND nrs.customer_id = :customer_id
        INNER JOIN `type_notifications` AS tn ON n.type_notification_id = tn.id
        WHERE (n.type_notification_id IN (1,4) OR n.customer_id = :customer_id) AND rm.customer_id IS NULL AND n.is_active IS TRUE
        ORDER BY n.updated_at DESC 
        LIMIT 30
Parameters:
[
  "locale" => "es"
  "customer_id" => 18091
]
5 24.61 ms
SELECT na.id, 
        nat.title, 
        nat.locale, 
        na.is_active, 
        na.created_at, 
        customer_id, 
        attributes,
        CONCAT('https://prod.golmanagerpanel.com/uploads/images/notification_automatic_message_images/', nam.image) AS icon, 
        nat.plural_message, 
        nat.singular_message,
        1 AS is_automatic
        FROM `notification_automatic` AS na
        INNER JOIN `notification_automatic_message` AS nam ON na.notification_automatic_message_id = nam.id
        INNER JOIN `type_notifications` AS tn ON na.type_notification_id = tn.id
        LEFT JOIN `notification_automatic_translation` AS nat ON nam.id = nat.notification_automatic_message_id AND nat.locale = 'es'
        WHERE customer_id = 18091 AND is_active = 1 AND na.season_id = 27463
Parameters:
[
  "locale" => "es"
  "customer_id" => 18091
]

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\Customer
  • The association App\Entity\Customer#exerciseQualifications refers to the owning side field App\Entity\ExerciseQualification#customer_id which does not exist.
App\Entity\Country No errors.
App\Entity\Season No errors.
App\Entity\Suggestion No errors.
App\Entity\CouponCustomer No errors.
App\Entity\Notification No errors.
App\Entity\Exercise
  • The field App\Entity\Exercise#notes is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\NoteExercise#exercise does not contain the required 'inversedBy="notes"' attribute.
  • The mappings App\Entity\Exercise#exerciseQualifications and App\Entity\ExerciseQualification#exercise are inconsistent with each other.
App\Entity\ExerciseQualification
  • The association App\Entity\ExerciseQualification#exercise refers to the inverse side field App\Entity\Exercise#qualifications which does not exist.
  • The association App\Entity\ExerciseQualification#customer refers to the inverse side field App\Entity\Customer#exerciseQualification which does not exist.
  • The association App\Entity\ExerciseQualification#exercises refers to the owning side field App\Entity\Exercise#qualifications which does not exist.
App\Entity\Strategy No errors.
App\Entity\Team
  • The association App\Entity\Team#typeSoccer refers to the inverse side field App\Entity\TypeSoccer#teams which does not exist.
App\Entity\SeasonPlayer
  • The association App\Entity\SeasonPlayer#minutes refers to the owning side field App\Entity\Minutes#player_id which does not exist.
  • The association App\Entity\SeasonPlayer#playerWeights refers to the owning side field App\Entity\PlayerWeight#season_player_id which does not exist.
  • The mappings App\Entity\SeasonPlayer#captainInGames and App\Entity\GameAlignment#seasonplayer are inconsistent with each other.
App\Entity\Game
  • The association App\Entity\Game#minutes refers to the owning side field App\Entity\Minutes#game_id which does not exist.
  • The mappings App\Entity\Game#rival_alignment and App\Entity\GameAlignment#game are inconsistent with each other.
  • The mappings App\Entity\Game#seasonplayer and App\Entity\GamePlayerStatistics#game are inconsistent with each other.
App\Entity\TrainingAsist No errors.
App\Entity\ExerciseCalendar
  • The association App\Entity\ExerciseCalendar#exerciseUser refers to the inverse side field App\Entity\ExerciseUser#exerciseCalendar which does not exist.
App\Entity\PlayerJustification No errors.