Symfony Exception

PDOException Exception InvalidFieldNameException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'sales_channel.measurement_units' in 'field list'

Exceptions 3

Doctrine\DBAL\Exception\ InvalidFieldNameException

Show exception properties
Doctrine\DBAL\Exception\InvalidFieldNameException {#1921
  -query: Doctrine\DBAL\Query {#1919
    -sql: """
      # base-context-factory::sales-channel::read\n
      SELECT `sales_channel`.`id` as `sales_channel.id`, `sales_channel`.`type_id` as `sales_channel.typeId`, `sales_channel`.`language_id` as `sales_channel.languageId`, `sales_channel`.`customer_group_id` as `sales_channel.customerGroupId`, `sales_channel`.`currency_id` as `sales_channel.currencyId`, `sales_channel`.`payment_method_id` as `sales_channel.paymentMethodId`, `sales_channel`.`shipping_method_id` as `sales_channel.shippingMethodId`, `sales_channel`.`country_id` as `sales_channel.countryId`, `sales_channel`.`analytics_id` as `sales_channel.analyticsId`, `sales_channel`.`navigation_category_id` as `sales_channel.navigationCategoryId`, `sales_channel`.`navigation_category_version_id` as `sales_channel.navigationCategoryVersionId`, `sales_channel`.`navigation_category_depth` as `sales_channel.navigationCategoryDepth`, `sales_channel`.`footer_category_id` as `sales_channel.footerCategoryId`, `sales_channel`.`footer_category_version_id` as `sales_channel.footerCategoryVersionId`, `sales_channel`.`service_category_id` as `sales_channel.serviceCategoryId`, `sales_channel`.`service_category_version_id` as `sales_channel.serviceCategoryVersionId`, `sales_channel`.`mail_header_footer_id` as `sales_channel.mailHeaderFooterId`, `sales_channel`.`hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId`, `sales_channel`.`measurement_units` as `sales_channel.measurementUnits`, `sales_channel`.`short_name` as `sales_channel.shortName`, `sales_channel`.`tax_calculation_type` as `sales_channel.taxCalculationType`, `sales_channel`.`access_key` as `sales_channel.accessKey`, `sales_channel`.`configuration` as `sales_channel.configuration`, `sales_channel`.`active` as `sales_channel.active`, `sales_channel`.`hreflang_active` as `sales_channel.hreflangActive`, `sales_channel`.`maintenance` as `sales_channel.maintenance`, `sales_channel`.`maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist`, `sales_channel`.`payment_method_ids` as `sales_channel.paymentMethodIds`, `sales_channel`.`home_cms_page_id` as `sales_channel.homeCmsPageId`, `sales_channel`.`home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId`, `sales_channel`.`created_at` as `sales_channel.createdAt`, `sales_channel`.`updated_at` as `sales_channel.updatedAt`, `sales_channel.currency`.`id` as `sales_channel.currency.id`, `sales_channel.currency`.`factor` as `sales_channel.currency.factor`, `sales_channel.currency`.`symbol` as `sales_channel.currency.symbol`, `sales_channel.currency`.`iso_code` as `sales_channel.currency.isoCode`, `sales_channel.currency`.`position` as `sales_channel.currency.position`, `sales_channel.currency`.`tax_free_from` as `sales_channel.currency.taxFreeFrom`, `sales_channel.currency`.`item_rounding` as `sales_channel.currency.itemRounding`, `sales_channel.currency`.`total_rounding` as `sales_channel.currency.totalRounding`, `sales_channel.currency`.`created_at` as `sales_channel.currency.createdAt`, `sales_channel.currency`.`updated_at` as `sales_channel.currency.updatedAt`, `sales_channel.currency.translation.shortName`, `sales_channel.currency.translation.shortName` as `sales_channel.currency.shortName`, `sales_channel.currency.translation.name`, `sales_channel.currency.translation.name` as `sales_channel.currency.name`, `sales_channel.currency.translation.customFields`, `sales_channel.currency.translation.customFields` as `sales_channel.currency.customFields`, `sales_channel.translation.name`, `sales_channel.translation.name` as `sales_channel.name`, `sales_channel.translation.homeSlotConfig`, `sales_channel.translation.homeSlotConfig` as `sales_channel.homeSlotConfig`, `sales_channel.translation.homeEnabled`, `sales_channel.translation.homeEnabled` as `sales_channel.homeEnabled`, `sales_channel.translation.homeName`, `sales_channel.translation.homeName` as `sales_channel.homeName`, `sales_channel.translation.homeMetaTitle`, `sales_channel.translation.homeMetaTitle` as `sales_channel.homeMetaTitle`, `sales_channel.translation.homeMetaDescription`, `sales_channel.translation.homeMetaDescription` as `sales_channel.homeMetaDescription`, `sales_channel.translation.homeKeywords`, `sales_channel.translation.homeKeywords` as `sales_channel.homeKeywords`, `sales_channel.translation.customFields`, `sales_channel.translation.customFields` as `sales_channel.customFields` FROM `sales_channel` LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel`.`currency_id` = `sales_channel.currency`.`id` LEFT JOIN (SELECT `sales_channel.translation`.`sales_channel_id`, `sales_channel.translation`.`name` as `sales_channel.translation.name`, `sales_channel.translation`.`custom_fields` as `sales_channel.translation.customFields`, `sales_channel.translation`.`home_slot_config` as `sales_channel.translation.homeSlotConfig`, `sales_channel.translation`.`home_enabled` as `sales_channel.translation.homeEnabled`, `sales_channel.translation`.`home_name` as `sales_channel.translation.homeName`, `sales_channel.translation`.`home_meta_title` as `sales_channel.translation.homeMetaTitle`, `sales_channel.translation`.`home_meta_description` as `sales_channel.translation.homeMetaDescription`, `sales_channel.translation`.`home_keywords` as `sales_channel.translation.homeKeywords` FROM `sales_channel_translation` `sales_channel.translation` WHERE `sales_channel.translation`.`language_id` = ?) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation`.`sales_channel_id` = `sales_channel`.`id` LEFT JOIN (SELECT `sales_channel.currency.translation`.`currency_id`, `sales_channel.currency.translation`.`short_name` as `sales_channel.currency.translation.shortName`, `sales_channel.currency.translation`.`name` as `sales_channel.currency.translation.name`, `sales_channel.currency.translation`.`custom_fields` as `sales_channel.currency.translation.customFields` FROM `currency_translation` `sales_channel.currency.translation` WHERE `sales_channel.currency.translation`.`language_id` = ?) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation`.`currency_id` = `sales_channel.currency`.`id` WHERE `sales_channel`.`id` IN (?)
      """
    -params: array:3 [
      0 => b"/»_ââšMpªXTÎ|ãâ\v"
      1 => b"/»_ââšMpªXTÎ|ãâ\v"
      2 => b"‡Ãg&IÀBÕ½GW¥\x16\x05¯\t"
    ]
    -types: array:3 [
      0 => Doctrine\DBAL\ParameterType {#618
        +name: "STRING"
      }
      1 => Doctrine\DBAL\ParameterType {#618}
      2 => Doctrine\DBAL\ParameterType {#1911
        +name: "BINARY"
      }
    ]
  }
}
Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". (500 Internal Server Error)

Symfony Exception

Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer".

Exception

Symfony\Component\ErrorHandler\Error\ UndefinedFunctionError

Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". (500 Internal Server Error)

Symfony Exception

Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer".

Exception

Symfony\Component\ErrorHandler\Error\ UndefinedFunctionError


Fatal error: Uncaught Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". in /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:257 Stack trace: #0 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/Resources/views/trace.html.php(36): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->fileExcerpt() #1 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(345): include('...') #2 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/Resources/views/traces.html.php(48): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #3 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(345): include('...') #4 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/Resources/views/exception.html.php(54): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #5 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(345): include('...') #6 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php(35): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #7 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(345): include('...') #8 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(140): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #9 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(72): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException() #10 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorHandler.php(655): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render() #11 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorHandler.php(538): Symfony\Component\ErrorHandler\ErrorHandler->renderException() #12 /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorHandler.php(556): Symfony\Component\ErrorHandler\ErrorHandler->handleException() #13 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleException() #14 {main} thrown in /var/www/web535/htdocs/shopware6/prod/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 257