Проблема с плагином доставки
Здравствуйте.
Разрабатывала плагин доставки.
Что я могла сломать, если при оформлении заказа на шаге "Доставка" теперь вылетает вот такая ошибка?
Shipping plugin 2 not found
Уже поудаляла все плагины кроме стандартного "Курьера", всё равно вылетает эта ошибка.
Разрабатывала плагин доставки.
Что я могла сломать, если при оформлении заказа на шаге "Доставка" теперь вылетает вот такая ошибка?
Shipping plugin 2 not found
Уже поудаляла все плагины кроме стандартного "Курьера", всё равно вылетает эта ошибка.
5 ответов
Shipping plugin 2 not found
Error with code 404 in 'Z:\home\localhost\www\ss5\wa-apps\shop\lib\classes\shopShipping.class.php' around line 46:
41 if (!$plugin && $plugin_id) {
42 $model = new shopPluginModel();
43 $info = $model->getById($plugin_id);
44
45 if (!$info) {
>>46 throw new waException("Shipping plugin {$plugin_id} not found", 404);
47 }
48
49 if ($info['type'] != shopPluginModel::TYPE_SHIPPING) {
50 throw new waException("Shipping plugin {$plugin_id} has invalid type", 404);
51 }
Call stack
#0 Z:\home\localhost\www\ss5\wa-apps\shop\lib\classes\checkout\shopCheckoutShipping.class.php(346): shopShipping::getPlugin(NULL, '2')
#1 Z:\home\localhost\www\ss5\wa-apps\shop\lib\classes\checkout\shopCheckoutContactinfo.class.php(78): shopCheckoutShipping->getRate(NULL, NULL, Object(waAuthUser))
#2 Z:\home\localhost\www\ss5\wa-apps\shop\lib\actions\frontend\shopFrontendCheckout.action.php(81): shopCheckoutContactinfo->execute()
#3 Z:\home\localhost\www\ss5\wa-system\controller\waViewAction.class.php(158): shopFrontendCheckoutAction->execute()
#4 Z:\home\localhost\www\ss5\wa-system\controller\waViewController.class.php(86): waViewAction->display()
#5 Z:\home\localhost\www\ss5\wa-system\controller\waDefaultViewController.class.php(44): waViewController->executeAction(Object(shopFrontendCheckoutAction))
#6 Z:\home\localhost\www\ss5\wa-system\controller\waController.class.php(21): waDefaultViewController->execute()
#7 Z:\home\localhost\www\ss5\wa-system\controller\waViewController.class.php(46): waController->run(NULL)
#8 Z:\home\localhost\www\ss5\wa-system\controller\waFrontController.class.php(142): waViewController->run()
#9 Z:\home\localhost\www\ss5\wa-system\controller\waFrontController.class.php(61): waFrontController->execute('', 'frontend', 'checkout')
#10 Z:\home\localhost\www\ss5\wa-system\waSystem.class.php(471): waFrontController->dispatch()
#11 Z:\home\localhost\www\ss5\index.php(7): waSystem->dispatch()
#12 {main}
Request
array (
'customer' =>
array (
'firstname' => 'Надежда',
'lastname' => 'Гринева',
'phone' => '',
'email' => 'nika_novochek@mail.ru',
'address.shipping' =>
array (
'street' => 'пивпвп п пв пр пр в р',
'city' => 'Москва',
'region' => '77',
'zip' => '123456',
'country' => 'rus',
),
),
'step' => 'contactinfo',
'_csrf' => '53185d65133647.69677960',
)
Params
array (
'app' => 'shop',
'theme' => 'nifty',
'theme_mobile' => 'nifty',
'locale' => 'ru_RU',
'title' => '',
'meta_keywords' => '',
'meta_description' => '',
'url_type' => '0',
'type_id' => '0',
'payment_id' => '0',
'shipping_id' => '0',
'currency' => 'RUB',
'module' => 'frontend',
'action' => 'checkout',
)
Поясните пожалуйста, что значит авторизуйтесь в бекенде или выйдите оттуда, можно скрин, где это?
сама поняла)