coopTilleuls / CoopTilleulsSyliusClickNCollectPlugin

Sell and deliver securely during the COVID-19 pandemic!
https://click-n-collect.shop
GNU Affero General Public License v3.0
78 stars 34 forks source link

checkout/select-shipping empty calendar #20

Closed uneuro closed 4 years ago

uneuro commented 4 years ago

PHP 7.4.5 composer.json: { "keywords": ["symfony", "sylius", "distribution", "ecommerce", "cart", "shopping"], "type": "project", "license": "proprietary", "homepage": "https://sylius.com", "authors": [ { "name": "Paweł Jędrzejewski" }, { "name": "Sylius project" }, { "name": "Community contributions" } ], "require": { "php": "^7.4", "sylius/sylius": "~1.7.0@rc", "symfony/dotenv": "^4.4", "symfony/flex": "^1.2", "tilleuls/sylius-click-n-collect-plugin": "dev-master" }, "require-dev": { "behat/behat": "^3.6.1", "behat/mink-selenium2-driver": "^1.3", "friends-of-behat/mink": "^1.7", "friends-of-behat/mink-browserkit-driver": "^1.3", "friends-of-behat/mink-extension": "^2.2", "friends-of-behat/page-object-extension": "^0.3", "friends-of-behat/suite-settings-extension": "^1.0", "friends-of-behat/symfony-extension": "^2.0", "friends-of-behat/variadic-extension": "^1.1", "lakion/mink-debug-extension": "^1.2.3", "lchrusciel/api-test-case": "^3.0", "phpspec/phpspec": "^6.0", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "0.12.3", "phpstan/phpstan-doctrine": "0.12.3", "phpstan/phpstan-webmozart-assert": "0.12.0", "phpunit/phpunit": "^7.0", "sensiolabs/security-checker": "^6.0", "stripe/stripe-php": "^6.28", "sylius-labs/coding-standard": "^3.0", "symfony/browser-kit": "^4.4", "symfony/debug-bundle": "^4.4", "symfony/intl": "^4.4", "symfony/web-profiler-bundle": "^4.4" }, "prefer-stable": true, "autoload": { "psr-4": { "App\": "src/" } }, "autoload-dev": { "psr-4": { "App\Tests\": "tests/" }, "classmap": ["src/Kernel.php"] }, "scripts": { "auto-scripts": { "cache:clear": "symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "post-install-cmd": [ "@auto-scripts" ], "post-update-cmd": [ "@auto-scripts" ], "post-create-project-cmd": [ "@php bin/console sylius:inform-about-gus --ansi", "@php bin/console sylius:show-available-plugins --ansi" ] }, "config": { "platform": { "php": "7.4.5" }, "preferred-install": { "*": "dist" }, "sort-packages": true }, "extra": { "symfony": { "allow-contrib": false }, "branch-alias": { "dev-master": "1.7-dev" } } }

I checked installation some times, everything seems working well on admin views but when I try on the frontend, I have an empty calendar with some errors in debug log:

[2020-04-24 03:08:24] request.INFO: Matched route "coop_tilleuls_sylius_click_n_collect_shop_locations". {"route":"coop_tilleuls_sylius_click_n_collect_shop_locations","route_parameters":{"_route":"coop_tilleuls_sylius_click_n_collect_shop_locations","_controller":"coop_tilleuls_click_n_collect.controller.locations","_locale":"fr_FR","shippingMethodCode":"clickandcollectbayonne"},"request_uri":"http://127.0.0.1:91/fr_FR/click-n-collect/locations/clickandcollectbayonne","method":"GET"} [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id WHERE t0.hostname = ? LIMIT 1 ["127.0.0.1"] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id [] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_currency t0 INNER JOIN sylius_channel_currencies ON t0.id = sylius_channel_currencies.currency_id WHERE sylius_channel_currencies.channel_id = ? [1] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ? [1] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.enabled AS enabled_2, t0.id AS id_3 FROM sylius_country t0 INNER JOIN sylius_channel_countries ON t0.id = sylius_channel_countries.country_id WHERE sylius_channel_countries.channel_id = ? [1] [] [2020-04-24 03:08:24] security.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2020-04-24 03:08:24] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\FormatListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName". {"event":"kernel.request","listener":"Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\BodyListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale". {"event":"kernel.request","listener":"Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest". {"event":"kernel.request","listener":"Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController"} [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.configuration AS configuration_2, t0.category_requirement AS category_requirement_3, t0.calculator AS calculator_4, t0.is_enabled AS is_enabled_5, t0.position AS position_6, t0.archived_at AS archived_at_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.id AS id_10, t0.category_id AS category_id_11, t0.zone_id AS zone_id_12, t0.tax_category_id AS tax_category_id_13 FROM sylius_shipping_method t0 WHERE t0.code = ? LIMIT 1 ["clickandcollectbayonne"] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.enabled AS enabled_4, t0.name AS name_5, t0.street AS street_6, t0.city AS city_7, t0.postcode AS postcode_8, t0.country_code AS country_code_9, t0.province_code AS province_code_10, t0.province_name AS province_name_11, t0.rrule AS rrule_12, t0.order_preparation_delay AS order_preparation_delay_13, t0.throughput AS throughput_14, t0.generate_pin AS generate_pin_15, t0.id AS id_16 FROM coop_tilleuls_click_n_collect_location t0 INNER JOIN coop_tilleuls_click_n_collect_shipping_method_location ON t0.id = coop_tilleuls_click_n_collect_shipping_method_location.location_id WHERE coop_tilleuls_click_n_collect_shipping_method_location.shippingmethod_id = ? [5] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.configuration AS configuration_2, t0.category_requirement AS category_requirement_3, t0.calculator AS calculator_4, t0.is_enabled AS is_enabled_5, t0.position AS position_6, t0.archived_at AS archived_at_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.id AS id_10, t0.category_id AS category_id_11, t0.zone_id AS zone_id_12, t0.tax_category_id AS tax_category_id_13 FROM sylius_shipping_method t0 INNER JOIN coop_tilleuls_click_n_collect_shipping_method_location ON t0.id = coop_tilleuls_click_n_collect_shipping_method_location.shippingmethod_id WHERE coop_tilleuls_click_n_collect_shipping_method_location.location_id = ? [2] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.type AS type_3, t0.scope AS scope_4, t0.id AS id_5 FROM sylius_zone t0 WHERE t0.id = ? [2] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currencyid = t23.id [] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT s0.number AS number0, s0.notes AS notes1, s0.state AS state2, s0.checkout_completed_at AS checkout_completed_at3, s0.items_total AS items_total4, s0.adjustments_total AS adjustments_total5, s0.total AS total6, s0.created_at AS created_at7, s0.updated_at AS updated_at8, s0.id AS id9, s0.currency_code AS currency_code10, s0.locale_code AS locale_code11, s0.checkout_state AS checkout_state12, s0.payment_state AS payment_state13, s0.shipping_state AS shipping_state14, s0.token_value AS token_value15, s0.customer_ip AS customer_ip16, s0.channel_id AS channel_id17, s0.promotion_coupon_id AS promotion_coupon_id18, s0.customer_id AS customer_id19, s0.shipping_address_id AS shipping_address_id20, s0.billing_address_id AS billing_address_id_21 FROM syliusorder s0 WHERE s0.id = ? AND s0.state = ? AND s0_.channel_id = ? [24,"cart",1] [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Sonata\BlockBundle\Cache\HttpCacheHandler::onKernelResponse". {"event":"kernel.response","listener":"Sonata\BlockBundle\Cache\HttpCacheHandler::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Sylius\Bundle\ShopBundle\EventListener\SessionCartSubscriber::onKernelResponse". {"event":"kernel.response","listener":"Sylius\Bundle\ShopBundle\EventListener\SessionCartSubscriber::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse". {"event":"kernel.response","listener":"Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse". {"event":"kernel.response","listener":"Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelResponse". {"event":"kernel.response","listener":"Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.response" to listener "Sylius\Bundle\ChannelBundle\Context\FakeChannel\FakeChannelPersister::onKernelResponse". {"event":"kernel.response","listener":"Sylius\Bundle\ChannelBundle\Context\FakeChannel\FakeChannelPersister::onKernelResponse"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". {"event":"kernel.terminate","listener":"Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate". {"event":"kernel.terminate","listener":"Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate"} [] [2020-04-24 03:08:24] request.INFO: Matched route "coop_tilleuls_sylius_click_n_collect_shop_collection_times". {"route":"coop_tilleuls_sylius_click_n_collect_shop_collection_times","route_parameters":{"_route":"coop_tilleuls_sylius_click_n_collect_shop_collection_times","_controller":"coop_tilleuls_click_n_collect.controller.collection_times","_locale":"fr_FR","shipmentId":"24","locationCode":"clickandcollectbayonne"},"request_uri":"http://127.0.0.1:91/fr_FR/click-n-collect/collection-times/24/clickandcollectbayonne?end=2020-04-28T00%3A00%3A00%2B02%3A00&start=2020-04-24T00%3A00%3A00%2B02%3A00","method":"GET"} [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id WHERE t0.hostname = ? LIMIT 1 ["127.0.0.1"] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id [] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_currency t0 INNER JOIN sylius_channel_currencies ON t0.id = sylius_channel_currencies.currency_id WHERE sylius_channel_currencies.channel_id = ? [1] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ? [1] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.enabled AS enabled_2, t0.id AS id_3 FROM sylius_country t0 INNER JOIN sylius_channel_countries ON t0.id = sylius_channel_countries.country_id WHERE sylius_channel_countries.channel_id = ? [1] [] [2020-04-24 03:08:24] security.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2020-04-24 03:08:24] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\FormatListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName". {"event":"kernel.request","listener":"Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\BodyListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale". {"event":"kernel.request","listener":"Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest". {"event":"kernel.request","listener":"Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController"} [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.state AS state_1, t0.tracking AS tracking_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.shipped_at AS shipped_at_5, t0.id AS id_6, t0.pin AS pin_7, t0.collection_time AS collection_time_8, t0.method_id AS method_id_9, t0.order_id AS order_id_10, t0.location_id AS location_id_11 FROM sylius_shipment t0 WHERE t0.id = ? [24] [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.enabled AS enabled_4, t0.name AS name_5, t0.street AS street_6, t0.city AS city_7, t0.postcode AS postcode_8, t0.country_code AS country_code_9, t0.province_code AS province_code_10, t0.province_name AS province_name_11, t0.rrule AS rrule_12, t0.order_preparation_delay AS order_preparation_delay_13, t0.throughput AS throughput_14, t0.generate_pin AS generate_pin_15, t0.id AS id_16 FROM coop_tilleuls_click_n_collect_location t0 WHERE t0.code = ? LIMIT 1 ["clickandcollectbayonne"] [] [2020-04-24 03:08:24] php.CRITICAL: Uncaught Error: Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php:42)"} [] [2020-04-24 03:08:24] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id [] [] [2020-04-24 03:08:24] request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60" at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php line 42 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php:42)"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\FormatListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName". {"event":"kernel.request","listener":"Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\BodyListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale". {"event":"kernel.request","listener":"Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest". {"event":"kernel.request","listener":"Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest"} [] [2020-04-24 03:08:24] request.CRITICAL: Exception thrown when handling an exception (InvalidArgumentException: Unable to find template "" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/symfony/twig-bridge/TwigEngine.php line 137) {"exception":"[object] (InvalidArgumentException(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/symfony/twig-bridge/TwigEngine.php:137, Twig\Error\LoaderError(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/twig/twig/src/Loader/FilesystemLoader.php:250)"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidMaxPerPageToNotFoundListener::onException". {"event":"kernel.exception","listener":"WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidMaxPerPageToNotFoundListener::onException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidCurrentPageToNotFoundListener::onException". {"event":"kernel.exception","listener":"WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidCurrentPageToNotFoundListener::onException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Payum\Bundle\PayumBundle\EventListener\ReplyToHttpResponseListener::onKernelException". {"event":"kernel.exception","listener":"Payum\Bundle\PayumBundle\EventListener\ReplyToHttpResponseListener::onKernelException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException". {"event":"kernel.exception","listener":"Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException". {"event":"kernel.exception","listener":"Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onException". {"event":"kernel.exception","listener":"Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::logKernelException". {"event":"kernel.exception","listener":"Symfony\Component\HttpKernel\EventListener\ExceptionListener::logKernelException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Sylius\Bundle\AdminBundle\EventListener\ResourceDeleteSubscriber::onResourceDelete". {"event":"kernel.exception","listener":"Sylius\Bundle\AdminBundle\EventListener\ResourceDeleteSubscriber::onResourceDelete"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException". {"event":"kernel.exception","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException"} [] [2020-04-24 03:08:24] event.DEBUG: Notified event "kernel.exception" to listener "FOS\RestBundle\EventListener\ExceptionListener::onKernelException". {"event":"kernel.exception","listener":"FOS\RestBundle\EventListener\ExceptionListener::onKernelException"} [] [2020-04-24 03:08:24] php.CRITICAL: Uncaught Exception: Unable to find template "" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). {"exception":"[object] (InvalidArgumentException(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/symfony/twig-bridge/TwigEngine.php:137, Twig\Error\LoaderError(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/twig/twig/src/Loader/FilesystemLoader.php:250, TypeError(code: 0): Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::__invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php:42)"} []

Also, if I try directly to call : http://127.0.0.1:91/fr_FR/click-n-collect/collection-times/24/epicerieitxassou?start=2020-06-27T00%3A00%3A00%2B02%3A00&end=2020-07-01T00%3A00%3A00%2B02%3A00

I have in debug : [2020-04-24 03:16:10] request.INFO: Matched route "coop_tilleuls_sylius_click_n_collect_shop_collection_times". {"route":"coop_tilleuls_sylius_click_n_collect_shop_collection_times","route_parameters":{"_route":"coop_tilleuls_sylius_click_n_collect_shop_collection_times","_controller":"coop_tilleuls_click_n_collect.controller.collection_times","_locale":"fr_FR","shipmentId":"24","locationCode":"epicerieitxassou"},"request_uri":"http://127.0.0.1:91/fr_FR/click-n-collect/collection-times/24/epicerieitxassou?end=2020-07-01T00%3A00%3A00%2B02%3A00&start=2020-06-27T00%3A00%3A00%2B02%3A00","method":"GET"} [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id WHERE t0.hostname = ? LIMIT 1 ["127.0.0.1"] [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id [] [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_currency t0 INNER JOIN sylius_channel_currencies ON t0.id = sylius_channel_currencies.currency_id WHERE sylius_channel_currencies.channel_id = ? [1] [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ? [1] [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.enabled AS enabled_2, t0.id AS id_3 FROM sylius_country t0 INNER JOIN sylius_channel_countries ON t0.id = sylius_channel_countries.country_id WHERE sylius_channel_countries.channel_id = ? [1] [] [2020-04-24 03:16:10] security.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2020-04-24 03:16:10] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "debug.security.authorization.vote" to listener "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote". {"event":"debug.security.authorization.vote","listener":"Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\FormatListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName". {"event":"kernel.request","listener":"Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\BodyListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale". {"event":"kernel.request","listener":"Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest". {"event":"kernel.request","listener":"Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController"} [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.state AS state_1, t0.tracking AS tracking_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.shipped_at AS shipped_at_5, t0.id AS id_6, t0.pin AS pin_7, t0.collection_time AS collection_time_8, t0.method_id AS method_id_9, t0.order_id AS order_id_10, t0.location_id AS location_id_11 FROM sylius_shipment t0 WHERE t0.id = ? [24] [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.enabled AS enabled_4, t0.name AS name_5, t0.street AS street_6, t0.city AS city_7, t0.postcode AS postcode_8, t0.country_code AS country_code_9, t0.province_code AS province_code_10, t0.province_name AS province_name_11, t0.rrule AS rrule_12, t0.order_preparation_delay AS order_preparation_delay_13, t0.throughput AS throughput_14, t0.generate_pin AS generate_pin_15, t0.id AS id_16 FROM coop_tilleuls_click_n_collect_location t0 WHERE t0.code = ? LIMIT 1 ["epicerieitxassou"] [] [2020-04-24 03:16:10] php.CRITICAL: Uncaught Error: Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php:42)"} [] [2020-04-24 03:16:10] doctrine.DEBUG: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_13, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_14, t0.account_verification_required AS account_verification_required_15, t0.default_locale_id AS default_locale_id_16, t17.code AS code_18, t17.created_at AS created_at_19, t17.updated_at AS updated_at_20, t17.id AS id_21, t0.base_currency_id AS base_currency_id_22, t23.code AS code_24, t23.created_at AS created_at_25, t23.updated_at AS updated_at_26, t23.id AS id_27, t0.default_tax_zone_id AS default_tax_zone_id_28, t0.menu_taxon_id AS menu_taxon_id_29, t0.shop_billing_data_id AS shop_billing_data_id_30 FROM sylius_channel t0 INNER JOIN sylius_locale t17 ON t0.default_locale_id = t17.id INNER JOIN sylius_currency t23 ON t0.base_currency_id = t23.id [] [] [2020-04-24 03:16:10] request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60" at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php line 42 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php:42)"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\ResourceBundle\Storage\CookieStorage::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\FormatListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName". {"event":"kernel.request","listener":"Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". {"event":"kernel.request","listener":"FOS\RestBundle\EventListener\BodyListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale". {"event":"kernel.request","listener":"Sylius\Bundle\ShopBundle\EventListener\NonChannelLocaleListener::restrictRequestLocale"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". {"event":"kernel.request","listener":"Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest". {"event":"kernel.request","listener":"Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.request" to listener "Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest". {"event":"kernel.request","listener":"Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver::onKernelRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {"event":"kernel.controller","listener":"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest". {"event":"kernel.finish_request","listener":"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest"} [] [2020-04-24 03:16:10] request.CRITICAL: Exception thrown when handling an exception (InvalidArgumentException: Unable to find template "" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/symfony/twig-bridge/TwigEngine.php line 137) {"exception":"[object] (InvalidArgumentException(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/symfony/twig-bridge/TwigEngine.php:137, Twig\Error\LoaderError(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/twig/twig/src/Loader/FilesystemLoader.php:250)"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidMaxPerPageToNotFoundListener::onException". {"event":"kernel.exception","listener":"WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidMaxPerPageToNotFoundListener::onException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidCurrentPageToNotFoundListener::onException". {"event":"kernel.exception","listener":"WhiteOctober\PagerfantaBundle\EventListener\ConvertNotValidCurrentPageToNotFoundListener::onException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Payum\Bundle\PayumBundle\EventListener\ReplyToHttpResponseListener::onKernelException". {"event":"kernel.exception","listener":"Payum\Bundle\PayumBundle\EventListener\ReplyToHttpResponseListener::onKernelException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException". {"event":"kernel.exception","listener":"Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException". {"event":"kernel.exception","listener":"Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onException". {"event":"kernel.exception","listener":"Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::logKernelException". {"event":"kernel.exception","listener":"Symfony\Component\HttpKernel\EventListener\ExceptionListener::logKernelException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Sylius\Bundle\AdminBundle\EventListener\ResourceDeleteSubscriber::onResourceDelete". {"event":"kernel.exception","listener":"Sylius\Bundle\AdminBundle\EventListener\ResourceDeleteSubscriber::onResourceDelete"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException". {"event":"kernel.exception","listener":"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException"} [] [2020-04-24 03:16:10] event.DEBUG: Notified event "kernel.exception" to listener "FOS\RestBundle\EventListener\ExceptionListener::onKernelException". {"event":"kernel.exception","listener":"FOS\RestBundle\EventListener\ExceptionListener::onKernelException"} [] [2020-04-24 03:16:10] php.CRITICAL: Uncaught Exception: Unable to find template "" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). {"exception":"[object] (InvalidArgumentException(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/symfony/twig-bridge/TwigEngine.php:137, Twig\Error\LoaderError(code: 0): Unable to find template \"\" (looked into: /srv/http/sylius/acme/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/templates, /srv/http/sylius/acme/vendor/symfony/twig-bridge/Resources/views/Form). at /srv/http/sylius/acme/vendor/twig/twig/src/Loader/FilesystemLoader.php:250, TypeError(code: 0): Argument 1 passed to CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\AvailableSlotsComputer::__invoke() must be an instance of CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface, instance of App\Entity\Shipping\Shipment given, called in /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/CollectionTimesController.php on line 60 at /srv/http/sylius/acme/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/AvailableSlotsComputer.php:42)"} []

uneuro commented 4 years ago

Resolved using https://github.com/Sylius-Covid/Sylius-Covid/blob/d45ef381c70a822d5abb518ea63b0658e9e193d3/src/Entity/Shipping/Shipment.php