Jump to content

Shipping preferences [free_shipping_price] Issue


ArtGee

Recommended Posts

Hi,

When I click on Shipping > Preferences from the admin panel, I get the below issue: 

Unable to transform value for property path "[free_shipping_price]": Expected a numeric.

 

Below is the stack trace of the issue:

 

Symfony\Component\Form\Exception\TransformationFailedException

in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 1089)

Form->normToView('')in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 348)

Form->setData('')in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php (line 49)

PropertyPathMapper->mapDataToForms(array('shipping_handling_charges' => '2', 'free_shipping_price' => '', 'free_shipping_weight' => ''), object(RecursiveIteratorIterator))in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 372)

Form->setData(array('shipping_handling_charges' => '2', 'free_shipping_price' => '', 'free_shipping_weight' => ''))in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php (line 49)

PropertyPathMapper->mapDataToForms(array('handling' => array('shipping_handling_charges' => '2', 'free_shipping_price' => '', 'free_shipping_weight' => ''), 'carrier_options' => array('default_carrier' => 7, 'carrier_default_order_by' => 0, 'carrier_default_order_way' => 0)), object(RecursiveIteratorIterator))in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 372)

Form->setData(array('handling' => array('shipping_handling_charges' => '2', 'free_shipping_price' => '', 'free_shipping_weight' => ''), 'carrier_options' => array('default_carrier' => 7, 'carrier_default_order_by' => 0, 'carrier_default_order_way' => 0)))in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 476)

Form->initialize()in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php (line 213)

FormBuilder->getForm()in src/Core/Form/FormHandler.php (line 114)

            [

                'form_builder' => &$this->formBuilder,

            ]

        );

        return $this->formBuilder->getForm();

    }

    /**

     * {@inheritdoc}

     *

FormHandler->getForm()in src/PrestaShopBundle/Controller/Admin/Improve/Shipping/PreferencesController.php (line 52)

PreferencesController->indexAction(object(Request))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)

HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)

HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)

Kernel->handle(object(Request), 1, false)in admin511iock2w/index.php (line 86)

 

 

Regards,

R.G.

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...