Jump to content

BO impossible de modifier une adresse de commande


Recommended Posts

Bonjour à tous

J'ai un beau prestashop tout neuf en 8.2. Je ne peux pas modifier l'adresse de livraison d'une commande dans le back office, j'ai l'erreur suivante

PrestaShop\PrestaShop\Adapter\Product\PriceCalculator::getOrderPrice(): Argument #7 ($customizationId) must be of type int, string given, called in /home/printmu/wwwtools/src/Core/Cart/CartRow.php on line 359

[TypeError 0]

ça parle à quelqu'un ? L'erreur apparait même si c'est juste pour changer pour une autre adresse déjà existante

Merci !

Matthieu

Link to comment
Share on other sites

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php (line 140)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php -> onKernelRequest (line 126)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> __invoke (line 264)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> doDispatch (line 239)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> callListeners (line 73)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 168)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> dispatch (line 145)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> handleRaw (line 81)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> handle (line 201)

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

$catch = strpos($request->getRequestUri(), Api::API_BASE_PATH) !== false;

try {

    require_once __DIR__.'/../autoload.php';

    $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);

    $response->send();

    $kernel->terminate($request, $response);

} catch (NotFoundHttpException $exception) {

    define('ADMIN_LEGACY_CONTEXT', true);

    // correct Apache charset (except if it's too late)

Symfony\Component\Routing\Exception\MethodNotAllowedException

in vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php (line 42)

in vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/UrlMatcher.php -> match (line 106)

in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php -> matchRequest (line 274)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php -> matchRequest (line 112)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php -> onKernelRequest (line 126)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> __invoke (line 264)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> doDispatch (line 239)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> callListeners (line 73)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 168)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> dispatch (line 145)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> handleRaw (line 81)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> handle (line 201)

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

$catch = strpos($request->getRequestUri(), Api::API_BASE_PATH) !== false;

try {

    require_once __DIR__.'/../autoload.php';

    $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);

    $response->send();

    $kernel->terminate($request, $response);

} catch (NotFoundHttpException $exception) {

    define('ADMIN_LEGACY_CONTEXT', true);

    // correct Apache charset (except if it's too late)

Link to comment
Share on other sites

Hola,

A mi me ha pasado algo parecido en una instalación nueva de Prestashop 8.2.1 con el siguiente resultado:

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php (line 140)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php -> onKernelRequest (line 126)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> __invoke (line 264)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> doDispatch (line 239)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> callListeners (line 73)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 168)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> dispatch (line 145)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> handleRaw (line 81)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> handle (line 201)

Kernel->handle()in admin373hwm8c3dvtwknyby0/index.php (line 84)

$catch = strpos($request->getRequestUri(), Api::API_BASE_PATH) !== false;

try {

    require_once __DIR__.'/../autoload.php';

    $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);

    $response->send();

    $kernel->terminate($request, $response);

} catch (NotFoundHttpException $exception) {

    define('ADMIN_LEGACY_CONTEXT', true);

    // correct Apache charset (except if it's too late)

 

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException

Symfony\Component\Routing\Exception\MethodNotAllowedException

in vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php (line 42)

in vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/UrlMatcher.php -> match (line 106)

in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php -> matchRequest (line 274)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php -> matchRequest (line 112)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php -> onKernelRequest (line 126)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> __invoke (line 264)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> doDispatch (line 239)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php -> callListeners (line 73)

in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 168)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> dispatch (line 145)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php -> handleRaw (line 81)

in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> handle (line 201)

Kernel->handle()in admin373hwm8c3dvtwknyby0/index.php (line 84)

$catch = strpos($request->getRequestUri(), Api::API_BASE_PATH) !== false;

try {

    require_once __DIR__.'/../autoload.php';

    $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);

    $response->send();

    $kernel->terminate($request, $response);

} catch (NotFoundHttpException $exception) {

    define('ADMIN_LEGACY_CONTEXT', true);

    // correct Apache charset (except if it's too late)

 

No se si tiene que ver con Prestashop o con alguna configuracion en el hosting.

Se agradece cualquier sugerencia.

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