https://prod.golmanagerpanel.com/api/es/player/justifications?isIos=true&p=api%2Fes%2Fplayer%2Fjustifications&version_app=4.0.6

Query Metrics

124 Database Queries
10 Different statements
113.76 ms Query time
9 Invalid entities

Grouped Statements

Show all queries

Time Count Info
44.15 ms
(0.00%)
1
SELECT
        *
        FROM
        customer_device
        WHERE
            :token LIKE CONCAT(token,'%') AND
            `status` = 0
Parameters:
[
  "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MjY4NjA4NTYsImV4cCI6MTcyNjg2NDQ1Niwicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJ1c2VybmFtZSI6Imxlb25kYUBob3RtYWlsLmVzIn0.sEy-ubzqVgrRPjU7fR2WFCr4DGDeyxJneksbM6-xFSKyeKESunNC6nLl2kVkjqetxox2xjwy584JFTbgzilMRaQmxOfDdiB5trPA9Bru4rKfY219j_YIESef2eWS0VgkQ18g8Tghb70OhTzCOGiXd6rRx4jy2eASoUJlyQQn-F0ClkGr-lRE6HpgmH21OQoxllAJuGT1AVsreQBJhXIhuP04hF1LCzI-0cmb0GFWMVhRu4-5BWjLkRNJT74PxWiRO2kuYy89Oz3ZTNwtOyKWBrYiC9WhWWJeVCiZk8BI_qV70KDjvOig0aLQcwcWI0WuBxNodOkvyhAZmXcYVy5Jef8PVojXQh8AmpLTpgam7N-6Og2e6p3WObxRsaScvfpCPgYOyZFmLMYBAmqittgXEONa174-lbYe3rx-jf0BNWWsoRKOMEozCv4J9jJrhYXSBACAkJ3R9Q-sw3eKoOJR9oqWx1DQRn-Ew7EFlidpb5LWqEaLr_FLLe_JmpU3pzvIGbME7GPCdp-QaHFiAaUUBUBAzQDYThkhx-vl_wFmq4aBL_7DGfOwqrqoHALdn6KUVF8QGejopU9SUr-aho3YQL8RHYitNxEvOPvUlHdZFQye9phBD3PDQdX2rfziLNH2kym0td2tj6nEK60PuuCMioPdoFfGU7CvBsnR5EX-s8o"
]
14.73 ms
(0.00%)
19
SELECT
            SUM(IF(cp.justification_type_id IS NULL,1,0)) AS justificationOld,
            SUM(IF(cp.justification_type_id = 1,1,0)) AS justification_1,SUM(IF(cp.justification_type_id = 2,1,0)) AS justification_2,SUM(IF(cp.justification_type_id = 3,1,0)) AS justification_3,SUM(IF(cp.justification_type_id = 4,1,0)) AS justification_4,SUM(IF(cp.justification_type_id = 5,1,0)) AS justification_5,SUM(IF(cp.justification_type_id = 6,1,0)) AS justification_6,SUM(IF(cp.justification_type_id = 7,1,0)) AS justification_7,SUM(IF(cp.justification_type_id = 8,1,0)) AS justification_8,SUM(IF(cp.justification_type_id = 9,1,0)) AS justification_9,
            SUM(IF(cp.justification_type_id > 0,1,0)) AS justificationTotal
        FROM
            game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 0
        WHERE g.season_id = :season_id
        AND cp.player_id = :player_id
        AND cp.is_active = 0
        AND g.deleted_at IS NULL
        GROUP BY g.season_id;
Parameters:
[
  "player_id" => 120134
  "season_id" => 27567
]
13.50 ms
(0.00%)
38
SELECT t0.id AS id_1, t0.icon AS icon_2, t0.created_at AS created_at_3, t0.nro_order AS nro_order_4, t0.show_training AS show_training_5, t0.show_announcement AS show_announcement_6 FROM justification_type t0
Parameters:
[]
12.64 ms
(0.00%)
19
SELECT 
            SUM(IF(pj.justification_type_id = 1,1,0)) AS justification_1,SUM(IF(pj.justification_type_id = 2,1,0)) AS justification_2,SUM(IF(pj.justification_type_id = 3,1,0)) AS justification_3,SUM(IF(pj.justification_type_id = 4,1,0)) AS justification_4,SUM(IF(pj.justification_type_id = 5,1,0)) AS justification_5,SUM(IF(pj.justification_type_id = 6,1,0)) AS justification_6,SUM(IF(pj.justification_type_id = 7,1,0)) AS justification_7,SUM(IF(pj.justification_type_id = 8,1,0)) AS justification_8,SUM(IF(pj.justification_type_id = 9,1,0)) AS justification_9,
            COUNT(pj.id) AS justificationTotal
        FROM player_justification AS pj
        WHERE pj.season_id = :season_id
        AND pj.player_id = :player_id
        AND pj.is_active = 1
        GROUP BY pj.season_id;
Parameters:
[
  "player_id" => 120134
  "season_id" => 27567
]
12.02 ms
(0.00%)
19
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  120134
]
11.08 ms
(0.00%)
19
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.note AS note_3, t0.date_start AS date_start_4, t0.date_end AS date_end_5, t0.finish AS finish_6, t0.season_player_id AS season_player_id_7, t0.season_id AS season_id_8 FROM player_sports_injuries t0 WHERE t0.season_id = ? AND t0.season_player_id = ?
Parameters:
[
  27567
  123263
]
2.48 ms
(0.00%)
6
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  1
]
1.20 ms
(0.00%)
1
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:
[
  "leonda@hotmail.es"
]
1.06 ms
(0.00%)
1
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ?
Parameters:
[
  27567
]
0.89 ms
(0.00%)
1
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:
[
  26358
]

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\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\Player
  • The field App\Entity\Player#convocatorias is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Convocatoria#players does not contain the required 'inversedBy="convocatorias"' attribute.
  • The association App\Entity\Player#country refers to the inverse side field App\Entity\Country#player which does not exist.
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.
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.
App\Entity\Minutes No errors.
App\Entity\KilometersTraveled No errors.
App\Entity\ShotsOnGoal No errors.
App\Entity\PlayerWeight
  • The mappings App\Entity\PlayerWeight#seasonPlayer and App\Entity\SeasonPlayer#playerWeights are inconsistent with each other.
App\Entity\GamePlayerStatistics No errors.
App\Entity\PlayerSportsInjuries No errors.
App\Entity\Position No errors.
App\Entity\Convocatoria
  • The association App\Entity\Convocatoria#players refers to the owning side field App\Entity\ConvocatoriaPlayer#convocatoria which does not exist.
App\Entity\JustificationType No errors.
App\Entity\JustificationTypeTranslation No errors.
App\Entity\PositionTranslation No errors.