Error 500 Internal Server Error

GET http://obcepro-dev.galosoft.cz/invence-pro-regiony-a-obce-257.pdf

Forwarded to ErrorController (ffd929)

Query Metrics

16 Database Queries
10 Different statements
11.71 ms Query time
4 Invalid entities
6 Managed entities

Queries

Group similar statements

# Time Info
1 0.69 ms
SELECT t0.id AS id_1, t0.type AS type_2, t0.newsletter AS newsletter_3, t0.cislo_dokumentu AS cislo_dokumentu_4, t0.vystup AS vystup_5, t0.instituce AS instituce_6, t0.datum AS datum_7, t0.cislo AS cislo_8, t0.vyzkumny_projekt AS vyzkumny_projekt_9, t0.nazev AS nazev_10, t0.resitel AS resitel_11, t0.tel AS tel_12, t0.email AS email_13, t0.text AS text_14, t0.link AS link_15, t0.enabled AS enabled_16, t0.published AS published_17, t0.dateCreated AS dateCreated_18, t0.dateChanged AS dateChanged_19, t20.id AS id_21, t20.name AS name_22, t20.mime AS mime_23, t20.url AS url_24, t20.urlDel AS urlDel_25, t20.size AS size_26, t20.date AS date_27, t20.ip AS ip_28, t20.user_id AS user_id_29, t20.document_id AS document_id_30, t20.documentAttachment_id AS documentAttachment_id_31, t20.activityAttachment_id AS activityAttachment_id_32, t20.stepAttachment_id AS stepAttachment_id_33, t20.inventionAttachment_id AS inventionAttachment_id_34, t20.inventionThumbnail_id AS inventionThumbnail_id_35, t20.smartAttachment_id AS smartAttachment_id_36, t0.author_id AS author_id_37, t0.category_id AS category_id_38 FROM pro_inventions t0 LEFT JOIN pro_files t20 ON t20.inventionThumbnail_id = t0.id WHERE t0.id = ? LIMIT 1
Parameters:
[
  "257"
]
2 0.61 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3 FROM pro_keyword t0 INNER JOIN pro_invention_keyword ON t0.id = pro_invention_keyword.keyword_id WHERE pro_invention_keyword.invetion_id = ?
Parameters:
[
  257
]
3 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.mime AS mime_3, t0.url AS url_4, t0.urlDel AS urlDel_5, t0.size AS size_6, t0.date AS date_7, t0.ip AS ip_8, t0.user_id AS user_id_9, t0.document_id AS document_id_10, t0.documentAttachment_id AS documentAttachment_id_11, t0.activityAttachment_id AS activityAttachment_id_12, t0.stepAttachment_id AS stepAttachment_id_13, t0.inventionAttachment_id AS inventionAttachment_id_14, t0.inventionThumbnail_id AS inventionThumbnail_id_15, t0.smartAttachment_id AS smartAttachment_id_16 FROM pro_files t0 WHERE t0.inventionAttachment_id = ?
Parameters:
[
  257
]
4 0.54 ms
SELECT DATABASE()
Parameters:
[]
5 0.85 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "obcepro_cz_dev"
]
6 0.20 ms
SELECT DATABASE()
Parameters:
[]
7 0.67 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "obcepro_cz_dev"
]
8 0.20 ms
SELECT DATABASE()
Parameters:
[]
9 1.27 ms
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:
[
  "obcepro_cz_dev"
  "doctrine_migration_versions"
]
10 0.25 ms
SELECT DATABASE()
Parameters:
[]
11 1.03 ms
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 = 'obcepro_cz_dev' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "obcepro_cz_dev"
  "doctrine_migration_versions"
]
12 3.64 ms
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 = 'obcepro_cz_dev'
            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:
[
  "obcepro_cz_dev"
  "obcepro_cz_dev"
  "doctrine_migration_versions"
]
13 0.30 ms
SELECT DATABASE()
Parameters:
[]
14 0.40 ms
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:
[
  "obcepro_cz_dev"
  "doctrine_migration_versions"
]
15 0.28 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
16 0.28 ms
SELECT DATABASE()
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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Keyword 2
App\Entity\Invention 1
App\Entity\User 1
App\Entity\InventionCategory 1
App\Entity\File 1

Entities Mapping

Class Mapping errors
App\Entity\Invention
  • The association App\Entity\Invention#author refers to the inverse side field App\Entity\User#inventions which does not exist.
  • The association App\Entity\Invention#keyword refers to the inverse side field App\Entity\Keyword#Invention which does not exist.
  • The association App\Entity\Invention#category refers to the inverse side field App\Entity\InventionCategory#invention which does not exist.
App\Entity\File
  • The association App\Entity\File#user refers to the inverse side field App\Entity\User#files which does not exist.
App\Entity\User No errors.
App\Entity\Document No errors.
App\Entity\Aktivita No errors.
App\Entity\Krok No errors.
App\Entity\Smart
  • The association App\Entity\Smart#keyword refers to the inverse side field App\Entity\Keyword#kroky which does not exist.
App\Entity\InventionCategory No errors.
App\Entity\Keyword
  • The association App\Entity\Keyword#invention refers to the owning side field App\Entity\Invention#Keyword which does not exist.
  • The mappings App\Entity\Keyword#smarty and App\Entity\Smart#keyword are inconsistent with each other.
App\Entity\Audit No errors.
App\Entity\Notepad No errors.
App\Entity\Obec No errors.
App\Entity\RT No errors.
App\Entity\PS No errors.
App\Entity\SWOT No errors.
App\Entity\Cil No errors.
App\Entity\Opatreni No errors.
App\Entity\Naklad No errors.
App\Entity\Znak No errors.
App\Entity\Harmonogram No errors.
App\Entity\Hodnoceni No errors.