Jump to content
  • 2

Problem z edycją/zapisywaniem


Sonic_PL

Question

witam od wczoraj mam taki problem, nie mogę edytować żadnego z produktów, wszelkie zmiany przy użyciu page buildera kończą się błędem, generalna masakra, da się coś z tym zrobić czy prosić firmę hostingową o odzyskanie danych np. sprzed tygodnia bo troche zmian robiłem na przełomie własnie tygodnia, dodam że produkty na stronie wyświetla, aczkolwiek po zalogowaniu się do admina twierdzi ze produkty mają stan 0 mimo że ustawiałem po 100 szt. Ręce mi opadły. Poniżej debug. strona www.express-print.pl ktoś pomoże?

IntlException in NumberToLocalizedStringTransformer.php line 245:Constructor failed

  1. in NumberToLocalizedStringTransformer.php line 245
  2. at NumberFormatter->__construct('pl-PL', '1') in NumberToLocalizedStringTransformer.php line 245
  3. at NumberToLocalizedStringTransformer->getNumberFormatter() in NumberToLocalizedStringTransformer.php line 140
  4. at NumberToLocalizedStringTransformer->transform('0') in MoneyToLocalizedStringTransformer.php line 65
  5. at MoneyToLocalizedStringTransformer->transform('0') in Form.php line 1158
  6. at Form->normToView('0') in Form.php line 353
  7. at Form->setData('0') in PropertyPathMapper.php line 57
  8. at PropertyPathMapper->mapDataToForms(array('product_price' => '0', 'supplier_id' => '1', 'product_price_currency' => '1'), object(RecursiveIteratorIterator)) in Form.php line 386
  9. at Form->setData(array('product_price' => '0', 'supplier_id' => '1', 'product_price_currency' => '1')) in Form.php line 490
  10. at Form->initialize() in FormBuilder.php line 226
  11. at FormBuilder->getForm() in CollectionType.php line 40
  12. at CollectionType->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'intention' => null, 'allow_delete' => false, 'prototype_data' => null, 'prototype_name' => '__name__', 'delete_empty' => false, 'label' => 'Fashion Supplier', 'read_only' => false, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'required' => false, 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'cascade_validation' => false, 'csrf_provider' => object(CsrfTokenManager), 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'allow_add' => true, 'prototype' => true, 'type' => null, 'options' => array('block_name' => 'entry'), 'entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1', 'block_name' => 'entry'))) in ResolvedFormType.php line 187
  13. at ResolvedFormType->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'intention' => null, 'allow_delete' => false, 'prototype_data' => null, 'prototype_name' => '__name__', 'delete_empty' => false, 'label' => 'Fashion Supplier', 'read_only' => false, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'required' => false, 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'cascade_validation' => false, 'csrf_provider' => object(CsrfTokenManager), 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'allow_add' => true, 'prototype' => true, 'type' => null, 'options' => array('block_name' => 'entry'), 'entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1', 'block_name' => 'entry'))) in ResolvedTypeDataCollectorProxy.php line 110
  14. at ResolvedTypeDataCollectorProxy->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'intention' => null, 'allow_delete' => false, 'prototype_data' => null, 'prototype_name' => '__name__', 'delete_empty' => false, 'label' => 'Fashion Supplier', 'read_only' => false, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'required' => false, 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'cascade_validation' => false, 'csrf_provider' => object(CsrfTokenManager), 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'allow_add' => true, 'prototype' => true, 'type' => null, 'options' => array('block_name' => 'entry'), 'entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1', 'block_name' => 'entry'))) in FormFactory.php line 118
  15. at FormFactory->createNamedBuilder('supplier_combination_1', object(ResolvedTypeDataCollectorProxy), null, array('entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1'), 'prototype' => true, 'allow_add' => true, 'required' => false, 'label' => 'Fashion Supplier')) in FormBuilder.php line 106
  16. at FormBuilder->create('supplier_combination_1', 'Symfony\Component\Form\Extension\Core\Type\CollectionType', array('entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1'), 'prototype' => true, 'allow_add' => true, 'required' => false, 'label' => 'Fashion Supplier')) in FormBuilder.php line 269
  17. at FormBuilder->resolveChildren() in FormBuilder.php line 215
  18. at FormBuilder->getForm() in FormBuilder.php line 221
  19. at FormBuilder->getForm() in ProductController.php line 449
  20. at ProductController->formAction('108', object(Request))
  21. at call_user_func_array(array(object(ProductController), 'formAction'), array('108', object(Request))) in bootstrap.php.cache line 3246
  22. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3205
  23. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3359
  24. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
  25. at Kernel->handle(object(Request), '1', false) in index.php line 86
Edited by Sonic_PL (see edit history)
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Czy udało Ci się rozwiązać problem? Mam chyba identyczny:

 

IntlException in NumberToLocalizedStringTransformer.php line 245: Constructor failed

    in NumberToLocalizedStringTransformer.php line 245
    at NumberFormatter->__construct('pl-PL', '1') in NumberToLocalizedStringTransformer.php line 245
    at NumberToLocalizedStringTransformer->getNumberFormatter() in NumberToLocalizedStringTransformer.php line 140
    at NumberToLocalizedStringTransformer->transform('0') in MoneyToLocalizedStringTransformer.php line 64
    at MoneyToLocalizedStringTransformer->transform('0') in Form.php line 1156
    at Form->normToView('0') in Form.php line 351
    at Form->setData('0') in PropertyPathMapper.php line 49
    at PropertyPathMapper->mapDataToForms(array('product_price' => '0', 'supplier_id' => '1', 'product_price_currency' => '3'), object(RecursiveIteratorIterator)) in Form.php line 384
    at Form->setData(array('product_price' => '0', 'supplier_id' => '1', 'product_price_currency' => '3')) in Form.php line 488
    at Form->initialize() in FormBuilder.php line 226
    at FormBuilder->getForm() in CollectionType.php line 40
    at CollectionType->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'intention' => null, 'allow_delete' => false, 'prototype_data' => null, 'prototype_name' => '__name__', 'delete_empty' => false, 'label' => 'Fashion Supplier', 'read_only' => false, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'required' => false, 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'cascade_validation' => false, 'csrf_provider' => object(CsrfTokenManager), 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'allow_add' => true, 'prototype' => true, 'type' => null, 'options' => array('block_name' => 'entry'), 'entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1', 'block_name' => 'entry'))) in ResolvedFormType.php line 187
    at ResolvedFormType->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'intention' => null, 'allow_delete' => false, 'prototype_data' => null, 'prototype_name' => '__name__', 'delete_empty' => false, 'label' => 'Fashion Supplier', 'read_only' => false, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'required' => false, 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'cascade_validation' => false, 'csrf_provider' => object(CsrfTokenManager), 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'allow_add' => true, 'prototype' => true, 'type' => null, 'options' => array('block_name' => 'entry'), 'entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1', 'block_name' => 'entry'))) in ResolvedTypeDataCollectorProxy.php line 103
    at ResolvedTypeDataCollectorProxy->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'intention' => null, 'allow_delete' => false, 'prototype_data' => null, 'prototype_name' => '__name__', 'delete_empty' => false, 'label' => 'Fashion Supplier', 'read_only' => false, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'required' => false, 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'cascade_validation' => false, 'csrf_provider' => object(CsrfTokenManager), 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'allow_add' => true, 'prototype' => true, 'type' => null, 'options' => array('block_name' => 'entry'), 'entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1', 'block_name' => 'entry'))) in FormFactory.php line 111
    at FormFactory->createNamedBuilder('supplier_combination_1', object(ResolvedTypeDataCollectorProxy), null, array('entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1'), 'prototype' => true, 'allow_add' => true, 'required' => false, 'label' => 'Fashion Supplier')) in FormBuilder.php line 106
    at FormBuilder->create('supplier_combination_1', 'Symfony\Component\Form\Extension\Core\Type\CollectionType', array('entry_type' => 'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination', 'entry_options' => array('id_supplier' => '1'), 'prototype' => true, 'allow_add' => true, 'required' => false, 'label' => 'Fashion Supplier')) in FormBuilder.php line 269
    at FormBuilder->resolveChildren() in FormBuilder.php line 215
    at FormBuilder->getForm() in FormBuilder.php line 221
    at FormBuilder->getForm() in ProductController.php line 469
    at ProductController->formAction('15', object(Request))
    at call_user_func_array(array(object(ProductController), 'formAction'), array('15', object(Request))) in bootstrap.php.cache line 3253
    at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3212
    at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3366
    at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2566
    at Kernel->handle(object(Request), '1', false) in index.php line 86

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...