cooptilleuls / cooptilleulssyliusclickncollectplugin Goto Github PK
View Code? Open in Web Editor NEWSell and deliver securely during the COVID-19 pandemic!
Home Page: https://click-n-collect.shop
License: GNU Affero General Public License v3.0
Sell and deliver securely during the COVID-19 pandemic!
Home Page: https://click-n-collect.shop
License: GNU Affero General Public License v3.0
Hi,
I believe the Traits ClickNCollectShippingMethod and ClickNCollectShipment should type-hint LocationInterface instead of Location in order to be able to override the Location entity properly?
Example (in Entity/ClickNCollectShippingMethod):
public function addLocation(Location $location): void
should be :
public function addLocation(LocationInterface $location): void
Description
current rrule link is dead, use CDN instead
How to reproduce
On a fresh sylius install, import the plugin, if you go to "Lieux Click 'N' Collect", fields doesn't work correctly because the rrule package is not loaded correctly.
Possible Solution
Use CDN : https://cdn.jsdelivr.net/npm/[email protected]/dist/es5/rrule.min.js
Hey,
When overriding the SlotAvailable Constraint (in order to override the error message), the SlotAvailableValidator throw an exception because the validate method checks if the constraint is an instance of SlotAvailable.
A better way is to check if it's a SlotAvailableInterface (and implement it in the SlotAvailable constraint), so that the SlotAvailable can be overrided.
Anyway, thanks a lot for this plugin!
Description
When using this (very great 😄) plugin with the new Sylius 1.9 which install doctrine/common:^3.0
(due to doctrine/orm:^2.7
requirement), it make bin/console cache:clear
fails and the app unable to boot due to this error:
How to reproduce
create-project sylius/sylius-standard sylius-acme
cd sylius-acme
composer require require tilleuls/sylius-click-n-collect-plugin
bin/console cache:clear
Possible Solution
In https://github.com/coopTilleuls/CoopTilleulsSyliusClickNCollectPlugin/blob/master/src/Fixture/Factory/OrderExampleFactory.php, replace Doctrine\Common\Persistence\ObjectManager
instances by Doctrine\ORM\EntityManagerInterface
and it should do the job.
Additional Context
composer show
's output:doctrine/annotations 1.12.1 Docblock Annotations Parser
doctrine/cache 1.10.2 PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis...
doctrine/collections 1.6.7 PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common 3.1.1 PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects de...
doctrine/data-fixtures 1.5.0 Data Fixtures for all Doctrine Object Managers
doctrine/dbal 2.12.1 Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and managem...
doctrine/doctrine-bundle 2.2.4 Symfony DoctrineBundle
doctrine/doctrine-migrations-bundle 3.0.2 Symfony DoctrineMigrationsBundle
doctrine/event-manager 1.1.1 The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine pro...
doctrine/inflector 2.0.3 PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase ...
doctrine/instantiator 1.4.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 1.2.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations 3.1.1 PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) ...
doctrine/orm 2.8.2 Object-Relational-Mapper for PHP
doctrine/persistence 2.1.0 The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine ob...
doctrine/sql-formatter 1.1.1 a PHP SQL highlighting library
gedmo/doctrine-extensions v3.0.3 Doctrine2 behavioral extensions
phpstan/phpstan-doctrine 0.12.32 Doctrine extensions for PHPStan
sonata-project/doctrine-extensions 1.12.0 Doctrine2 behavioral extensions
stof/doctrine-extensions-bundle v1.6.0 Integration of the gedmo/doctrine-extensions with Symfony
sylius-labs/doctrine-migrations-extra-bundle v0.1.4
symfony/doctrine-bridge v5.2.5 Provides integration for Doctrine with various Symfony components
symfony/doctrine-messenger v5.2.5 Symfony Doctrine Messenger Bridge
composer why doctrine/common
's output:➜ sylius-acme composer why doctrine/common
doctrine/data-fixtures 1.5.0 requires doctrine/common (^2.13|^3.0)
doctrine/orm 2.8.2 requires doctrine/common (^3.0.3)
gedmo/doctrine-extensions v3.0.3 requires doctrine/common (^2.13 || ^3.0)
sonata-project/block-bundle 4.5.2 requires doctrine/common (^2.7.1 || ^3.0)
composer why doctrine/orm
's output:➜ sylius-acme composer why doctrine/orm
lchrusciel/api-test-case v5.1.0 requires doctrine/orm (^2.5)
sylius-labs/association-hydrator v1.1.4 requires doctrine/orm (^2.4)
sylius/sylius v1.9.2 requires doctrine/orm (^2.7)
I already made a PR for both things and hope it might has some value for you.
Thank you for the great work!
If the customer selects the Click and Collect shipping method, and does not select a slot in the calendar, he can still continue to the next step.
This could lead to a customer coming whenever he wants, which is not what we want!
Possible solutions are:
I prefer both but if I had to make a choice, the frontend JS validation is better in an UX point of view.
Thank you!
In the code it is indicated "DTEND" I first looked at it to add an end date, I realized that this parameter does not seem valid by the parser of the JavaScript library but usable by the one in PHP so I preferred to use "COUNT" which seems to do the same thing. I would have liked to know what was better to use ?
Hello! I come to you as a Plugin Curator at Sylius to share some feedback regarding this one :) First of all, thank you for your amazing work and fast response for the worldwide crisis - it shows the power of and open-source community 💪
The thing that troubles me the most is the requirement of PHP 7.4. Although I'm 100% for choosing the newest technology as possible 👌, I wonder how many Sylius users would be able to take benefit of this plugin with the requirements for Sylius ^1.7 and PHP 7.4 🤔. It does not block the addition of this plugin to the Sylius Store, of course, but it would be good if you could rethink the 7.4-only approach - or answer me with some reasons for such a choice 🖖 :) The other thing is, we don't have the official support for PHP 7.4 in Sylius yet, but it should not be a problem (it works well).
ClickNCollectShippingMethodInterface
for ShippingMethod
and ClickNCollectShipmentInterface
for Shipment
)But on the order it was 2 hours before 😄
If I'm missing something (a configuration or a point of such a feature), I would be happy to hear (read) it 🚀
3. I had also some problems with showing a proper collect time in "Click 'N' Collect" section for my custom destination... It's strange, as it worked well for Lille and Paris
I would love to see your point on the topics I've mentioned. One more time, thank you for such an awesome contribution to our ecosystem 🖖
In this page ⬆️, I would like us to add the export button (csv, json, excel) as on the orders page.
In this export we will find the information of orders and click & collect:
ORDER
"Number"
"State"
"Product_list"
"Total"
"Checkout_completed_at"
"Checkout_state"
"Payment_state"
"Full_name"
"Email"
"Telephone"
"Notes"
CLICK & COLLECT
"ClickNCollect_Location_Name"
"ClickNCollect_CollectionTime"
"ClickNCollect_Pin"
This export must be filtered on the current date that the calendar displays on the page
Hi,
When I select a location and a slot, then validate, then come back and use a different shipping method and validate again, I get this error (with correct value):
The time slot "{{ value }}" is not available anymore.
This is really a blocking issue. The customer cannot even change their mind…
If you use this rule:
FREQ=MINUTELY;INTERVAL=20;BYHOUR=9,10,11,12,13,14,15,16;BYDAY=MO,TU,WE,TH,FR;DTSTART=20200328T080000;DTEND=20200328T082000
Then the \Recurr\Rule
object will return the dates from March 28th, limited to 732 occurrences.
This leads, today, to no displayed slots.
This can be fixed by updating the DTEND
and DTSTART
via the admin, but it's really not usable.
Doing
root@chooo7:/var/www/ecomDocker# docker-compose exec php composer require tilleuls/sylius-click-n-collect-plugin
[InvalidArgumentException]
Package tilleuls/sylius-click-n-collect-plugin has requirements incompatible with your PHP version, PHP extensions and Composer version:
- tilleuls/sylius-click-n-collect-plugin v0.2.0 requires php ^7.4 which does not match your installed version 8.0.15.
If your code is compatible with php 8, maybe it's just a package description update ?
Thanks for your work
Description
Users got an issue on our pages with rrule.min.js : not defined :
How to reproduce
Possible Solution
The https://jakubroztocil.github.io/ does not exists. According to his owner, it seems to be moved at https://jkbrzt.github.io/
A possible way to fix it may be to update the following file that refers to the old repository :
src/Resources/views/Admin/Form/_scripts.html.twig
The old include :
{% include '@SyliusUi/_javascripts.html.twig' with {'path': 'https://jakubroztocil.github.io/rrule/dist/es5/rrule.min.js'} %}
May be replaced by :
{% include '@SyliusUi/_javascripts.html.twig' with {'path': 'https://jkbrzt.github.io/rrule/dist/es5/rrule.min.js'} %}
Additional Context
When I want to change the start date when adding or editing a place, the month changes after when I save it.
Example
if I choose 04/29/2020, after registration 05/29/2020.
On the client and the database, 05/29/2020 is taken into account.
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_currency_id = t23.id [] []
[2020-04-24 03:08:24] doctrine.DEBUG: SELECT s0.number AS number_0, s0.notes AS notes_1, s0.state AS state_2, s0_.checkout_completed_at AS checkout_completed_at_3, s0_.items_total AS items_total_4, s0_.adjustments_total AS adjustments_total_5, s0_.total AS total_6, s0_.created_at AS created_at_7, s0_.updated_at AS updated_at_8, s0_.id AS id_9, s0_.currency_code AS currency_code_10, s0_.locale_code AS locale_code_11, s0_.checkout_state AS checkout_state_12, s0_.payment_state AS payment_state_13, s0_.shipping_state AS shipping_state_14, s0_.token_value AS token_value_15, s0_.customer_ip AS customer_ip_16, s0_.channel_id AS channel_id_17, s0_.promotion_coupon_id AS promotion_coupon_id_18, s0_.customer_id AS customer_id_19, s0_.shipping_address_id AS shipping_address_id_20, s0_.billing_address_id AS billing_address_id_21 FROM sylius_order 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)"} []
Description
When I choose a withdrawal for 03rd november 2020 at 9.40 am I have this error
The time slot "2020-11-03T08:40:00+00:00" is not available anymore.
My opening hours are 9am to 8pm, but during the validation, it take the GMT date time and compare it with the shop hours (not in GMT)
RuntimeException: This collection time isn't part of the recurrence. in ..../apps/sylius/vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/RecurrenceInstanceFinder.php:48
Stack trace:
#0 ..../apps/sylius/vendor/tilleuls/sylius-click-n-collect-plugin/src/Validator/Constraints/SlotAvailableValidator.php(68): CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\RecurrenceInstanceFinder->__invoke(Object(App\Entity\Shipping\Shipment))
#1 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(767): CoopTilleuls\SyliusClickNCollectPlugin\Validator\Constraints\SlotAvailableValidator->validate(Object(App\Entity\Shipping\Shipment), Object(CoopTilleuls\SyliusClickNCollectPlugin\Validator\Constraints\SlotAvailable))
#2 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(492): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateInGroup(Object(App\Entity\Shipping\Shipment), '0000000064257b3...', Object(Symfony\Component\Validator\Mapping\ClassMetadata), 'sylius', Object(Symfony\Component\Validator\Context\ExecutionContext))
#3 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(315): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateClassNode(Object(App\Entity\Shipping\Shipment), '0000000064257b3...', Object(Symfony\Component\Validator\Mapping\ClassMetadata), 'data.shipments[...', Array, NULL, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#4 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(372): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateObject(Object(App\Entity\Shipping\Shipment), 'data.shipments[...', Array, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#5 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(558): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateEachObjectIn(Object(Doctrine\ORM\PersistentCollection), 'data.shipments', Array, Object(Symfony\Component\Validator\Context\ExecutionContext))
#6 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(315): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateClassNode(Object(Doctrine\ORM\PersistentCollection), '00000000642575a...', Object(Symfony\Component\Validator\Mapping\ClassMetadata), 'data.shipments', Array, NULL, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#7 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(666): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateObject(Object(Doctrine\ORM\PersistentCollection), 'data.shipments', Array, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#8 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(520): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateGenericNode(Object(Doctrine\ORM\PersistentCollection), Object(App\Entity\Order\Order), '000000006425770...', Object(Symfony\Component\Validator\Mapping\PropertyMetadata), 'data.shipments', Array, Array, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#9 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(315): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateClassNode(Object(App\Entity\Order\Order), '000000006425770...', Object(Symfony\Component\Validator\Mapping\ClassMetadata), 'data', Array, NULL, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#10 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(138): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateObject(Object(App\Entity\Order\Order), 'data', Array, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#11 ..../apps/sylius/vendor/symfony/form/Extension/Validator/Constraints/FormValidator.php(108): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validate(Object(App\Entity\Order\Order), NULL, Array)
#12 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(767): Symfony\Component\Form\Extension\Validator\Constraints\FormValidator->validate(Object(Symfony\Component\Form\Form), Object(Symfony\Component\Form\Extension\Validator\Constraints\Form))
#13 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(492): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateInGroup(Object(Symfony\Component\Form\Form), '0000000064257bf...', Object(Symfony\Component\Validator\Mapping\ClassMetadata), 'Default', Object(Symfony\Component\Validator\Context\ExecutionContext))
#14 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(315): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateClassNode(Object(Symfony\Component\Form\Form), '0000000064257bf...', Object(Symfony\Component\Validator\Mapping\ClassMetadata), '', Array, NULL, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#15 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveContextualValidator.php(138): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validateObject(Object(Symfony\Component\Form\Form), '', Array, 1, Object(Symfony\Component\Validator\Context\ExecutionContext))
#16 ..../apps/sylius/vendor/symfony/validator/Validator/RecursiveValidator.php(93): Symfony\Component\Validator\Validator\RecursiveContextualValidator->validate(Object(Symfony\Component\Form\Form), NULL, Array)
#17 ..../apps/sylius/vendor/symfony/validator/Validator/TraceableValidator.php(66): Symfony\Component\Validator\Validator\RecursiveValidator->validate(Object(Symfony\Component\Form\Form), NULL, NULL)
#18 ..../apps/sylius/vendor/symfony/form/Extension/Validator/EventListener/ValidationListener.php(50): Symfony\Component\Validator\Validator\TraceableValidator->validate(Object(Symfony\Component\Form\Form))
#19 ..../apps/sylius/vendor/symfony/event-dispatcher/EventDispatcher.php(264): Symfony\Component\Form\Extension\Validator\EventListener\ValidationListener->validateForm(Object(Symfony\Component\Form\Event\PostSubmitEvent), 'form.post_submi...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#20 ..../apps/sylius/vendor/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'form.post_submi...', Object(Symfony\Component\Form\Event\PostSubmitEvent))
#21 ..../apps/sylius/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'form.post_submi...', Object(Symfony\Component\Form\Event\PostSubmitEvent))
#22 ..../apps/sylius/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\Form\Event\PostSubmitEvent), 'form.post_submi...')
#23 ..../apps/sylius/vendor/symfony/form/Form.php(671): Symfony\Component\EventDispatcher\ImmutableEventDispatcher->dispatch(Object(Symfony\Component\Form\Event\PostSubmitEvent), 'form.post_submi...')
#24 ..../apps/sylius/vendor/sylius/resource-bundle/src/Bundle/Form/Extension/HttpFoundation/HttpFoundationRequestHandler.php(107): Symfony\Component\Form\Form->submit(Array, true)
#25 ..../apps/sylius/vendor/symfony/form/Form.php(493): Sylius\Bundle\ResourceBundle\Form\Extension\HttpFoundation\HttpFoundationRequestHandler->handleRequest(Object(Symfony\Component\Form\Form), Object(Symfony\Component\HttpFoundation\Request))
#26 ..../apps/sylius/vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php(264): Symfony\Component\Form\Form->handleRequest(Object(Symfony\Component\HttpFoundation\Request))
#27 ..../apps/sylius/vendor/symfony/http-kernel/HttpKernel.php(158): Sylius\Bundle\ResourceBundle\Controller\ResourceController->updateAction(Object(Symfony\Component\HttpFoundation\Request))
#28 ..../apps/sylius/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#29 ..../apps/sylius/vendor/symfony/http-kernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 ..../apps/sylius/public/index.php(25): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#31 {main}
How to reproduce
Description
Hello,
I would like to know if you planned to support php 7.3 for this plugin ? Because actually it's not supported.
Thanks,
Best regards.
Description
Could you use UTC everywhere in your code but in UI?
Everything which is shown to the customer or the merchant has to be in current Timezone.
We went from CEST to CET in France, and because of that customer had a chance to get 1 hour early their products. Which was leading to some frustration because the shop was closed.
My suggestion: select a IANA identification for a location.
How to reproduce
…
Possible Solution
My suggestion: select a IANA identification for a location.
This way you can display the fullCalendar (front AND admin) easily with the correct timezone and you can handle everything in PHP using UTC.
And you can display the correct time in the order view in admin as well.
Hello !
We are not able to put different hours on some days for example :
Monday, Tuesday : 11am, 12am
Friday : 11am only
Description
Let's say a customer saves a collection time for 7am UTC in 10 days.
Then later today the merchant changes the location hours and excludes the 7am UTC.
Then in admin you'll get an exception when you try to get all the collection times.
RuntimeException:
This collection time isn't part of the recurrence.
at vendor/tilleuls/sylius-click-n-collect-plugin/src/CollectionTime/RecurrenceInstanceFinder.php:51
at CoopTilleuls\SyliusClickNCollectPlugin\CollectionTime\RecurrenceInstanceFinder->__invoke(object(Shipment))
(vendor/tilleuls/sylius-click-n-collect-plugin/src/Controller/Admin/CollectionsApiController.php:63)
at CoopTilleuls\SyliusClickNCollectPlugin\Controller\Admin\CollectionsApiController->__invoke(object(Request), 'cancale')
(vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:33)
How to reproduce
Follow steps listed above.
Possible Solution
Solution is just not to validate the collection time in admin: if you have a collection time then the merchant MUST know.
→ quick fix here: 1e32bf2
Related to #30.
If I go for a click and collect method and select a slot, then continue and go back. Then I decide to change my shipping method to another one, the slot stays booked. It should be released.
Could we also add support for Symfony 6, for all SF dependencies (could be done in another PR)?
Originally posted by @dunglas in #62 (comment)
Both plugins currently work together, but it could be nice to be able to set the collection time directly from the order creation page.
Hi ! Just found a bug:
When you override Location entity, the ShippingMethodTypeExtension
still reference CoopTilleuls\SyliusClickNCollectPlugin\Entity\Location
The form extension service should get the location class as argument in services.xml:
<service id="coop_tilleuls_click_n_collect.form.extension.type.shipping_method" class="CoopTilleuls\SyliusClickNCollectPlugin\Form\Extension\ShippingMethodTypeExtension">
<argument>%coop_tilleuls_click_n_collect.model.location.class%</argument>
<tag name="form.type_extension" />
</service>
And the form extension should use it:
use Doctrine\ORM\EntityRepository;
use Sylius\Bundle\ShippingBundle\Form\Type\ShippingMethodType;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\FormBuilderInterface;
/**
* @author Kévin Dunglas <[email protected]>
*/
final class ShippingMethodTypeExtension extends AbstractTypeExtension
{
/** @var string */
private $className;
/**
* ShippingMethodTypeExtension constructor.
* @param string $className
*/
public function __construct(string $className)
{
$this->className = $className;
}
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder
->add('locations', EntityType::class, [
'class' => $this->className,
'required' => false,
'multiple' => true,
'expanded' => true,
'query_builder' => function (EntityRepository $er) {
return $er->createQueryBuilder('p')
->orderBy('p.name', 'ASC');
},
'choice_label' => 'name',
'label' => 'coop_tilleuls_click_n_collect.form.shipping_method.locations',
]);
}
public static function getExtendedTypes(): iterable
{
return [ShippingMethodType::class];
}
}
Tell me if you need me to open a PR,
Have a good day !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.