Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LogicException:
- Data transformation failed.
- Spec: struct {
- addresses [ord]struct {
- id int
- city string{1…∞}
- street_name string{1…∞}
- street_number string{1…∞}
- apartment string
- entrance_number string
- floor string
- intercom_code string
- }
- restaurants struct {
- delivery [ord]struct {
- id int
- name string
- working_hours ?string
- online_payment_available bool
- coordinates ?struct {
- latitude float
- longitude float
- }
- }
- pickup [ord]struct {
- id int
- name string
- working_hours ?string
- online_payment_available bool
- coordinates ?struct {
- latitude float
- longitude float
- }
- }
- }
- }
- Errors: {
- "restaurants.delivery": [
- "invalid_value"
- ]
- }
- Value: {
- "addresses": [],
- "restaurants": {
- "pickup": [
- {},
- {},
- {}
- ]
- }
- }
- at src/utils.php:178
- at App\Utils\DataTransformer->transform(array('addresses' => array(), 'restaurants' => array('pickup' => array(object(Restaurant), object(Restaurant), object(Restaurant)))), array('addresses' => array('ordered', object(ProcessedValueSanitizer)), 'restaurants' => array('delivery' => array('ordered', object(ProcessedValueSanitizer)), 'pickup' => array('ordered', object(ProcessedValueSanitizer)))))
- (src/controllers/web.php:115)
- at App\Controller\Web\VlpWebController->respondView('frontend/pages/order.twig', array('addresses' => array(), 'restaurants' => array('pickup' => array(object(Restaurant), object(Restaurant), object(Restaurant)))), array('addresses' => array('ordered', object(ProcessedValueSanitizer)), 'restaurants' => array('delivery' => array('ordered', object(ProcessedValueSanitizer)), 'pickup' => array('ordered', object(ProcessedValueSanitizer)))))
- (src/controllers/web.php:179)
- at App\Controller\Web\OrderController->order(object(VlpDataProvider), object(SelectedCityProvider))
- (feip/symfony/kernel.php:277)
- at Feip\Symfony\Kernel\FeipHttpKernel->Feip\Symfony\Kernel\{closure}()
- (feip/symfony/controllers.php:177)
- at Feip\Symfony\Controller\FeipWebController->processRequest(object(Request), 'order', object(Closure))
- (src/controllers/web.php:88)
- at App\Controller\Web\VlpWebController->processRequest(object(Request), 'order', object(Closure))
- (feip/symfony/controllers.php:266)
- at Feip\Symfony\Controller\ControllerRequestHandlerMiddleware->process(object(MiddlewareContext), object(Closure))
- (feip/symfony/kernel.php:273)
- at Feip\Symfony\Kernel\FeipHttpKernel->Feip\Symfony\Kernel\{closure}()
- (feip/symfony/controllers.php:295)
- at Feip\Symfony\Controller\TransactionMiddleware->process(object(MiddlewareContext), object(Closure))
- (feip/symfony/kernel.php:273)
- at Feip\Symfony\Kernel\FeipHttpKernel->Feip\Symfony\Kernel\{closure}()
- (feip/symfony/kernel.php:280)
- at Feip\Symfony\Kernel\FeipHttpKernel->handleRaw(object(Request), 1)
- (feip/symfony/kernel.php:216)
- at Feip\Symfony\Kernel\FeipHttpKernel->handle(object(Request), 1, true)
- (vendor/symfony/http-kernel/Kernel.php:198)
- at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
- (public/index.php:37)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement