Error 500 Internal Server Error

GET https://garage.farahtech.ma/stock

Forwarded to ErrorController (230382)

Query Metrics

3 Database Queries
3 Different statements
5.04 ms Query time
2 Invalid entities
2 Managed entities

Queries

Group similar statements

# Time Info
1 3.40 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.category AS category_2, a0_.brand AS brand_3, a0_.part_number AS part_number_4, a0_.current_stock AS current_stock_5, a0_.min_stock AS min_stock_6, a0_.max_stock AS max_stock_7, a0_.unit_price AS unit_price_8, a0_.location AS location_9, a0_.last_restocked AS last_restocked_10, a0_.description AS description_11, a0_.created_at AS created_at_12, a0_.updated_at AS updated_at_13, a0_.reference AS reference_14, a0_.default_tva AS default_tva_15, a0_.type AS type_16 FROM article a0_ ORDER BY a0_.name ASC
Parameters:
[]
2 1.03 ms
SELECT COUNT(a0_.id) AS sclr_0, SUM(CASE WHEN a0_.current_stock <= a0_.min_stock AND a0_.current_stock > 0 THEN 1 ELSE 0 END) AS sclr_1, SUM(CASE WHEN a0_.current_stock <= 0 THEN 1 ELSE 0 END) AS sclr_2, SUM(a0_.current_stock * a0_.unit_price) AS sclr_3, COUNT(DISTINCT a0_.category) AS sclr_4 FROM article a0_
Parameters:
[]
3 0.61 ms
SELECT t0.id AS id_1, t0.garage AS garage_2, t0.currency AS currency_3, t0.date_format AS date_format_4, t0.time_format AS time_format_5, t0.notifications AS notifications_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.logo AS logo_9 FROM app_settings t0 LIMIT 1
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\Article 1
App\Entity\AppSettings 1

Entities Mapping

Class Mapping errors
App\Entity\Article No errors.
App\Entity\RepairPart No errors.
App\Entity\Supplier No errors.
App\Entity\AppSettings No errors.
App\Entity\Repair
  • The field App\Entity\Repair#customerDelivery is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\CustomerDelivery#repair does not contain the required 'mappedBy: "customerDelivery"' attribute.
App\Entity\PriceRequest No errors.
App\Entity\PurchaseOrder No errors.
App\Entity\DeliveryNote No errors.
App\Entity\CreditNote No errors.
App\Entity\Payment No errors.
App\Entity\SupplierCredit No errors.
App\Entity\SupplierPayment No errors.
App\Entity\Vehicle No errors.
App\Entity\Customer No errors.
App\Entity\RepairService No errors.
App\Entity\RepairPhoto No errors.
App\Entity\Invoice No errors.
App\Entity\QualityControl No errors.
App\Entity\Diagnostic No errors.
App\Entity\WorkflowStep No errors.
App\Entity\Mechanic No errors.
App\Entity\CustomerDelivery
  • The field App\Entity\CustomerDelivery#repair is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Repair#customerDelivery does not contain the required 'mappedBy: "repair"' attribute.
App\Entity\PriceRequestItem No errors.
App\Entity\PurchaseOrderItem No errors.
App\Entity\DeliveryNoteItem No errors.
App\Entity\DeliveryNotePayment No errors.
App\Entity\CreditNoteItem No errors.
App\Entity\PaymentAllocation No errors.
App\Entity\VehiclePhoto No errors.
App\Entity\DiagnosticIssue No errors.
App\Entity\User No errors.
App\Entity\Quote No errors.
App\Entity\Appointment No errors.
App\Entity\InvoiceItem No errors.
App\Entity\QualityControlTest No errors.
App\Entity\QuoteItem No errors.
App\Entity\InvoicePayment No errors.
Vich\UploaderBundle\Entity\File No errors.