Redirect 302 redirect from GET @change_language (5c3db5)

GET https://casasite-up.prowebplanners.com/en/

Query Metrics

8 Database Queries
5 Different statements
2.62 ms Query time
1 Invalid entities
16 Managed entities

Queries

Group similar statements

# Time Info
1 0.26 ms
SELECT t0.id AS id_1, t0.color AS color_2, t0.background AS background_3, t0.position AS position_4, t0.is_publier AS is_publier_5, t0.slug AS slug_6, t0.image AS image_7 FROM projettype t0 WHERE t0.is_publier = ? ORDER BY t0.position ASC
Parameters:
[
  true
]
2 0.22 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.titre AS titre_3, t0.id AS id_4 FROM projettype_translation t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
3 0.18 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.titre AS titre_3, t0.id AS id_4 FROM projettype_translation t0 WHERE t0.id = ?
Parameters:
[
  "3"
]
4 0.14 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.titre AS titre_3, t0.id AS id_4 FROM projettype_translation t0 WHERE t0.id = ?
Parameters:
[
  "2"
]
5 0.14 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.titre AS titre_3, t0.id AS id_4 FROM projettype_translation t0 WHERE t0.id = ?
Parameters:
[
  "4"
]
6 0.21 ms
SELECT COUNT(*) FROM appeloffre a WHERE a.publier = 1
Parameters:
[]
7 0.51 ms
SELECT
  a.id,
  a.slug,
  a.numoffre,
  a.file,
  a.dateprevue,
  a.datevisit,
  a.estimation,
  a.cautionnement,
  a.fraidossie,
  a.champ2,
  a.champ6,
  a.champ7,
  a.created_at,
  a.updated_at,
  COALESCE(NULLIF(t.objet,''), tfr.objet) AS objet
FROM appeloffre a
LEFT JOIN appeloffre_translation t
  ON t.id = a.id AND t.lang = ?
LEFT JOIN appeloffre_translation tfr
  ON tfr.id = a.id AND tfr.lang = 'fr'
WHERE a.publier = 1
ORDER BY a.created_at DESC
LIMIT ? OFFSET ?
Parameters:
[
  "en"
  6
  0
]
8 0.97 ms
SELECT
  ph.picpath,
  g.slug AS gallery_slug,
  p.slug AS project_slug,
  COALESCE(pt.titre, ptfr.titre, '') AS project_title
FROM photos ph
INNER JOIN gallery g ON g.id = ph.gallery_id
INNER JOIN projet p ON p.id = g.projet_id
LEFT JOIN projet_translation pt   ON pt.id = p.id AND pt.lang = ?
LEFT JOIN projet_translation ptfr ON ptfr.id = p.id AND ptfr.lang = 'fr'
WHERE COALESCE(g.is_active, 0) = 1
  AND COALESCE(p.is_publier, 0) = 1
ORDER BY ph.updated_at DESC, ph.id DESC
LIMIT ?
Parameters:
[
  "en"
  10
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\ProjettypeTranslation 12
App\Entity\Projettype 4

Entities Mapping

Class Mapping errors
App\Entity\Projettype
  • The field App\Entity\Projettype#projets is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Projet#projettype does not contain the required 'inversedBy: "projets"' attribute.
App\Entity\ProjettypeTranslation No errors.
App\Entity\Projet No errors.