Error 500 Internal Server Error

GET https://www.bo.blacksheep-van.com/api/gift_cards

Forwarded to PlaceholderAction (89e602)

Query Metrics

2 Database Queries
2 Different statements
1.25 ms Query time
6 Invalid entities

Queries

Group similar statements

# Time Info
1 0.64 ms
SELECT DISTINCT g0_.id AS id_0, g0_.id AS id_1 FROM gift_card g0_ INNER JOIN customer c1_ ON g0_.customer_id = c1_.id LEFT JOIN estimate_gift_card e3_ ON g0_.id = e3_.gift_card_id LEFT JOIN estimate e2_ ON e2_.id = e3_.estimate_id LEFT JOIN booking_gift_card b5_ ON g0_.id = b5_.gift_card_id LEFT JOIN booking b4_ ON b4_.id = b5_.booking_id ORDER BY g0_.id ASC LIMIT 30
Parameters:
[]
2 0.61 ms
SELECT g0_.id AS id_0, g0_.amount AS amount_1, g0_.created_at AS created_at_2, g0_.status AS status_3, g0_.file AS file_4, g0_.code AS code_5, g0_.download AS download_6, g0_.recipient AS recipient_7, g0_.message AS message_8, g0_.refund AS refund_9, g0_.date_of_use AS date_of_use_10, g0_.recipient_infos AS recipient_infos_11, g0_.expiration_date AS expiration_date_12, g0_.updated_at AS updated_at_13, g0_.label AS label_14, c1_.id AS id_15, c1_.first_name AS first_name_16, c1_.last_name AS last_name_17, c1_.is_activated AS is_activated_18, c1_.email AS email_19, c1_.phone AS phone_20, c1_.birth_date AS birth_date_21, c1_.language AS language_22, c1_.created_at AS created_at_23, c1_.updated_at AS updated_at_24, c1_.password AS password_25, c1_.rattache_company AS rattache_company_26, e2_.id AS id_27, e2_.created_at AS created_at_28, e2_.updated_at AS updated_at_29, e2_.reference AS reference_30, e2_.status AS status_31, e2_.total_price AS total_price_32, e2_.date_begin AS date_begin_33, e2_.date_end AS date_end_34, b3_.id AS id_35, b3_.reference AS reference_36, b3_.date_begin AS date_begin_37, b3_.date_end AS date_end_38, b3_.total_price AS total_price_39, b3_.total_days AS total_days_40, b3_.created_at AS created_at_41, b3_.status AS status_42, b3_.estimate_id AS estimate_id_43, b3_.updated_at AS updated_at_44, g0_.customer_id AS customer_id_45, e2_.user_id AS user_id_46, e2_.booking_agency_source_id AS booking_agency_source_id_47, e2_.booking_agency_target_id AS booking_agency_target_id_48, e2_.customer_id AS customer_id_49, b3_.user_id AS user_id_50, b3_.booking_agency_source_id AS booking_agency_source_id_51, b3_.booking_agency_target_id AS booking_agency_target_id_52, b3_.customer_id AS customer_id_53 FROM gift_card g0_ INNER JOIN customer c1_ ON g0_.customer_id = c1_.id LEFT JOIN estimate_gift_card e4_ ON g0_.id = e4_.gift_card_id LEFT JOIN estimate e2_ ON e2_.id = e4_.estimate_id LEFT JOIN booking_gift_card b5_ ON g0_.id = b5_.gift_card_id LEFT JOIN booking b3_ ON b3_.id = b5_.booking_id WHERE g0_.id IN (?, ?, ?) ORDER BY g0_.id ASC
Parameters:
[
  16
  17
  18
]

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
Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken No errors.
App\Entity\RefreshToken No errors.
App\Entity\GiftCard No errors.
App\Entity\Customer No errors.
App\Entity\Estimate
  • The mappings App\Entity\Estimate#bookingAgencyTarget and App\Entity\Agency#estimates are inconsistent with each other.
App\Entity\Booking
  • The association App\Entity\Booking#products refers to the inverse side field App\Entity\Product#products which does not exist.
App\Entity\User No errors.
App\Entity\Agency
  • The association App\Entity\Agency#options refers to the owning side field App\Entity\Option#Agency which does not exist.
  • The association App\Entity\Agency#productCategories refers to the inverse side field App\Entity\ProductCategory#agency which does not exist.
App\Entity\Memo No errors.
App\Entity\Refund No errors.
App\Entity\Address No errors.
App\Entity\BookingItem No errors.
App\Entity\OptionStock No errors.
App\Entity\Product
  • The mappings App\Entity\Product#bookings and App\Entity\Booking#products are inconsistent with each other.
App\Entity\Invoice No errors.
App\Entity\Caution No errors.
App\Entity\Company No errors.
App\Entity\ProductEvent No errors.
App\Entity\PaymentDetail No errors.
App\Entity\Calendar No errors.
App\Entity\PriceList No errors.
App\Entity\Option
  • The association App\Entity\Option#bookingItemOptions refers to the owning side field App\Entity\BookingItemOption#options which does not exist.
App\Entity\ProductCategory
  • The mappings App\Entity\ProductCategory#agencies and App\Entity\Agency#productCategories are inconsistent with each other.
App\Entity\CalendarClosedDays No errors.
App\Entity\CalendarOpenDays No errors.
App\Entity\CalendarBooking No errors.
App\Entity\PromotionCode No errors.
App\Entity\Vat No errors.
App\Entity\Activity No errors.
App\Entity\Currency No errors.
App\Entity\Images No errors.