Jump to content

PS 1.7.6.8 ClassNotFoundException Attempted to load class "HookActionOrderStatusPostUpdate" from namespace "PrestaShop\Module\Ps_Googleanalytics\Hooks"


PasLaur

Recommended Posts

Module GoogleAnalytics v4.1 

A chaque modification de statut d'une commande j'ai une classnotfoundexception :

 

ClassNotFoundException
in modules/ps_googleanalytics/ps_googleanalytics.php (line 184)
/**

Hook called after order status change, used to "refund" order after cancelling it

*/
public function hookActionOrderStatusPostUpdate($params)
{
$hook = new PrestaShop\Module\Ps_Googleanalytics\Hooks\HookActionOrderStatusPostUpdate($this, $this->context);

$hook->setParams($params);

$hook->run();
}

Ps_Googleanalytics->hookActionOrderStatusPostUpdate(array('newOrderStatus' => object(OrderState), 'id_order' => 6, 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 3))
in classes/Hook.php (line 970)

Une idée ?

Attempted to load class _HookActionOrderStatusPostUpdate_ from namespace _PrestaShop_Module_Ps_Googleanalytics_Hooks_. Did you forget a _use_ statement for another namespace_ (500 Internal Server Error).pdf

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