POST https://admin.smartimmo-app.com/admin/accounts/52/add-entreprise

Query Metrics

10 Database Queries
10 Different statements
10.53 ms Query time
8 Invalid entities

Queries

Group similar statements

# Time Info
1 1.42 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.name AS name_4, t0.lastname AS lastname_5, t0.email AS email_6, t0.code AS code_7, t0.phone AS phone_8, t0.sexe AS sexe_9, t0.status AS status_10, t0.role_id AS role_id_11, t0.admin_id AS admin_id_12 FROM admin t0 WHERE t0.id = ?
Parameters:
[
  4
]
2 0.87 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.role AS role_3 FROM roles t0 WHERE t0.id = ?
Parameters:
[
  1
]
3 1.28 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.name AS name_4, t0.lastname AS lastname_5, t0.code AS code_6, t0.status AS status_7, t0.reset AS reset_8, t0.sexe AS sexe_9, t0.phone AS phone_10, t0.picture AS picture_11, t0.notif AS notif_12, t0.email AS email_13, t0.profil AS profil_14, t0.level AS level_15, t0.adress AS adress_16, t0.city AS city_17, t0.province AS province_18, t0.mode AS mode_19, t0.last_action AS last_action_20, t0.role_id AS role_id_21, t0.entreprise_id AS entreprise_id_22, t0.created_by_id AS created_by_id_23, t0.country_id AS country_id_24 FROM User t0 WHERE t0.id = ?
Parameters:
[
  "52"
]
4 1.10 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.adress AS adress_4, t0.email AS email_5, t0.phone AS phone_6, t0.pseudo AS pseudo_7, t0.description AS description_8, t0.rccm AS rccm_9, t0.icon AS icon_10, t0.status AS status_11, t0.smsservice AS smsservice_12, t0.invoiceservice AS invoiceservice_13, t0.idnat AS idnat_14, t0.numeroimpot AS numeroimpot_15, t0.city AS city_16, t0.province AS province_17, t0.nbrebiensimmobiliers AS nbrebiensimmobiliers_18, t0.free_trail AS free_trail_19, t0.period AS period_20, t0.recallpaymentnotification AS recallpaymentnotification_21, t0.smart_paykey AS smart_paykey_22, t0.make_journal AS make_journal_23, t0.admin_id AS admin_id_24, t0.country_id AS country_id_25, t0.package_id AS package_id_26, t0.owner_id AS owner_id_27 FROM entreprise t0 WHERE t0.id = ?
Parameters:
[
  "39"
]
5 0.97 ms
SELECT t0.id AS id_1, t0.role AS role_2, t0.status AS status_3, t0.user_id AS user_id_4, t0.entreprise_id AS entreprise_id_5 FROM user_entreprise t0 WHERE t0.user_id = ? AND t0.entreprise_id = ? LIMIT 1
Parameters:
[
  52
  39
]
6 1.05 ms
"START TRANSACTION"
Parameters:
[]
7 0.83 ms
INSERT INTO user_entreprise (role, status, user_id, entreprise_id) VALUES (?, ?, ?, ?)
Parameters:
[
  "OWNER"
  1
  52
  39
]
8 1.02 ms
UPDATE User SET entreprise_id = ? WHERE id = ?
Parameters:
[
  39
  52
]
9 1.11 ms
UPDATE entreprise SET email = ?, phone = ?, owner_id = ? WHERE id = ?
Parameters:
[
  "eliekabozailunga@gmail.com"
  "0828821532"
  52
  39
]
10 0.88 ms
"COMMIT"
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\Admin
  • The association App\Entity\Admin#role refers to the inverse side field App\Entity\Roles#admins which does not exist.
App\Entity\Roles
  • The mappings App\Entity\Roles#users and App\Entity\Admin#role are inconsistent with each other.
App\Entity\User No errors.
App\Entity\Role No errors.
App\Entity\Entreprise
  • The association App\Entity\Entreprise#admin refers to the inverse side field App\Entity\Admin#entreprises which does not exist.
  • The mappings App\Entity\Entreprise#subscriptions and App\Entity\Subscription#entreprise are inconsistent with each other.
App\Entity\Country No errors.
App\Entity\Location
  • The association App\Entity\Location#marchand refers to the inverse side field App\Entity\Entreprise#locations which does not exist.
App\Entity\Log No errors.
App\Entity\Template No errors.
App\Entity\Incident No errors.
App\Entity\IncidentUpdate No errors.
App\Entity\Service No errors.
App\Entity\Announcement No errors.
App\Entity\Reservation
  • The association App\Entity\Reservation#habitat refers to the inverse side field App\Entity\Habitat#reservations which does not exist.
App\Entity\UserEntreprise No errors.
App\Entity\Package No errors.
App\Entity\CategoryResidence
  • The association App\Entity\CategoryResidence#createdBy refers to the inverse side field App\Entity\User#categoryResidences which does not exist.
App\Entity\ResidenceImmeuble No errors.
App\Entity\PaymentGenerator No errors.
App\Entity\Prestataire No errors.
App\Entity\PaymentGaranty
  • The association App\Entity\PaymentGaranty#modePayment refers to the inverse side field App\Entity\PaymentMode#paymentGaranties which does not exist.
  • The association App\Entity\PaymentGaranty#createdBy refers to the inverse side field App\Entity\User#paymentGaranties which does not exist.
App\Entity\Subscription
  • The association App\Entity\Subscription#entreprise refers to the inverse side field App\Entity\Entreprise#entreprisePackages which does not exist.
App\Entity\CashJournal No errors.
App\Entity\CashJournalEntry No errors.
App\Entity\Charge No errors.
App\Entity\ChargeAllocation No errors.