Error 500 Internal Server Error

GET https://protokoll-prod.dighist.se/institution/view/80

Forwarded to ErrorController (0e19c3)

Query Metrics

14 Database Queries
8 Different statements
2.77 ms Query time
6 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.97 ms
(34.81%)
1
SELECT       c.COLUMN_NAME        AS field,
           IF(
        c.COLUMN_TYPE = 'longtext'
        AND EXISTS(
            SELECT * from information_schema.CHECK_CONSTRAINTS i_c
            WHERE i_c.CONSTRAINT_SCHEMA = 'KVA_protocols_prod'
            AND i_c.TABLE_NAME = c.TABLE_NAME
            AND i_c.CHECK_CLAUSE = CONCAT(
                'json_valid(`',
                    c.COLUMN_NAME,
                '`)'
            )
        ),
        'json',
        c.COLUMN_TYPE
    )       AS type,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS comment,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS collation
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_NAME = c.TABLE_NAME
     WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "KVA_protocols_prod"
  "KVA_protocols_prod"
  "doctrine_migration_versions"
]
0.45 ms
(16.26%)
1
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
          ON ccsa.FULL_COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "KVA_protocols_prod"
  "doctrine_migration_versions"
]
0.40 ms
(14.46%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "KVA_protocols_prod"
]
0.32 ms
(11.45%)
6
SELECT DATABASE()
Parameters:
[]
0.26 ms
(9.27%)
1
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'KVA_protocols_prod' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "KVA_protocols_prod"
  "doctrine_migration_versions"
]
0.23 ms
(8.19%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.alt_names AS alt_names_3, t0.automark_ignore AS automark_ignore_4, t0.date_of_establishment AS date_of_establishment_5, t0.date_of_establishment_accuracy AS date_of_establishment_accuracy_6, t0.date_of_dissolution AS date_of_dissolution_7, t0.date_of_dissolution_accuracy AS date_of_dissolution_accuracy_8, t0.description AS description_9, t0.research_notes AS research_notes_10, t0.updated_at AS updated_at_11, t0.wikidata_id AS wikidata_id_12, t0.en_name AS en_name_13, t0.sbl_id AS sbl_id_14, t0.sv_wikipedia_link AS sv_wikipedia_link_15, t0.en_wikipedia_link AS en_wikipedia_link_16, t0.sv_wikisource_link AS sv_wikisource_link_17, t0.en_wikisource_link AS en_wikisource_link_18, t0.commons_wiki_link AS commons_wiki_link_19, t0.literature_bank_id AS literature_bank_id_20, t0.runeberg_id AS runeberg_id_21, t0.en_description AS en_description_22, t0.place_id AS place_id_23, t24.id AS id_25, t24.actor_id AS actor_id_26, t24.institution_id AS institution_id_27, t0.archive_id AS archive_id_28, t0.portrait_id AS portrait_id_29 FROM institutions t0 LEFT JOIN correspondents t24 ON t24.institution_id = t0.id WHERE t0.id = ?
Parameters:
[
  "80"
]
0.09 ms
(3.35%)
1
SELECT        NON_UNIQUE  AS Non_Unique,
        INDEX_NAME  AS Key_name,
        COLUMN_NAME AS Column_Name,
        SUB_PART    AS Sub_Part,
        INDEX_TYPE  AS Index_Type
FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
  "KVA_protocols_prod"
  "doctrine_migration_versions"
]
0.06 ms
(2.20%)
1
SELECT * FROM doctrine_migration_versions
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\Actor
  • The field 'App\Entity\Actor#SBL_id' has the property type 'int' that differs from the metadata field type 'string' returned by the 'text' DBAL type.
  • The association App\Entity\Actor#updated_by refers to the inverse side field App\Entity\User#edited_actors which does not exist.
App\Entity\Institution No errors.
App\Entity\Place
  • The association App\Entity\Place#image refers to the inverse side field App\Entity\DatabaseFile#places which does not exist.
App\Entity\Correspondent No errors.
App\Entity\Archive No errors.
App\Entity\DatabaseFile
  • The field App\Entity\DatabaseFile#place is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Place#image does not contain the required 'mappedBy="place"' attribute.
  • If association App\Entity\DatabaseFile#place is many-to-one, then the inversed side App\Entity\Place#image has to be one-to-many.
  • The field App\Entity\DatabaseFile#actor is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Actor#portrait does not contain the required 'mappedBy="actor"' attribute.
App\Entity\Relationship No errors.
App\Entity\ActorOccupation No errors.
App\Entity\Mention
  • The mappings App\Entity\Mention#mentioned_source and App\Entity\Source#mentions are inconsistent with each other.
  • The association App\Entity\Mention#secondaryMention refers to the inverse side field App\Entity\Mention#PrimaryMentions which does not exist.
  • The mappings App\Entity\Mention#primaryMentions and App\Entity\Mention#secondaryMention are inconsistent with each other.
App\Entity\ActorPlace No errors.
App\Entity\User
  • The association App\Entity\User#editedSources refers to the owning side field App\Entity\Source#updatedBy which does not exist.
  • The association App\Entity\User#editedVolumes refers to the owning side field App\Entity\Volume#updatedBy which does not exist.
  • The association App\Entity\User#editedActors refers to the owning side field App\Entity\Actor#updatedBy which does not exist.
App\Entity\IgnoreActor No errors.
App\Entity\Action No errors.
App\Entity\MapOverlay No errors.
App\Entity\Series No errors.
App\Entity\Source
  • The mappings App\Entity\Source#mentions_in_source and App\Entity\Mention#mentioned_source are inconsistent with each other.
  • The association App\Entity\Source#updated_by refers to the inverse side field App\Entity\User#edited_sources which does not exist.