Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempted to load class "SoapClient" from the global namespace. Did you forget a "use" statement? #2

Closed
alejokalderon opened this issue Jul 12, 2020 · 2 comments

Comments

@alejokalderon
Copy link

alejokalderon commented Jul 12, 2020

Hola,

Gracias por tu módulo me parece muy útil, sin embargo aún no me funciona ya que al intentar usar el módulo me sale este error.

Algúna idea?

Gracias

`

(1/1) ClassNotFoundExceptionAttempted to load class "SoapClient" from the global namespace.Did you forget a "use" statement?

in carriertcc.php line 334
at Carriertcc->getWebservice(array('price' => 120000.0, 'width' => 100.0, 'height' => 100.0, 'depth' => 100.0, 'weight' => 10000.0, 'volume' => 400.0), '13683000')in carriertcc.php line 240
at Carriertcc->getOrderShippingCost(object(Cart), 0)in Cart.php line 3667
at CartCore->getPackageShippingCostFromModule(object(Carrier), 0, array(array('id_product_attribute' => '212', 'id_product' => '21', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Juego de tinto - Carmesí', 'is_virtual' => '0', 'description_short' => '', 'available_now' => 'Disponible para entrega inmediata', 'available_later' => 'Disponible 6 días a partir de tu compra', 'id_category_default' => '2', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => 120000.0, 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '5', 'width' => '100.000000', 'height' => '100.000000', 'depth' => '100.000000', 'out_of_stock' => '1', 'weight' => 10000.0, 'available_date' => '0000-00-00', 'date_add' => '2020-07-05 14:50:58', 'date_upd' => '2020-07-12 11:13:54', 'quantity' => 1, 'link_rewrite' => 'juego-de-tinto-carmesi', 'category' => 'inicio', 'unique_id' => '00000000210000000212190', 'id_address_delivery' => '19', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => '0.000000', 'ecotax_attr' => '0.000000', 'reference' => 'jtcarmesi', 'weight_attribute' => 10000.0, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '21-28', 'legend' => '', 'reduction_type' => 0, 'is_gift' => false, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'price_without_reduction' => 120000.0, 'specific_prices' => array(), 'stock_quantity' => 5, 'price_without_reduction_without_tax' => 120000.0, 'price_with_reduction' => 120000.0, 'price_with_reduction_without_tax' => 120000.0, 'total' => 120000.0, 'total_wt' => 120000.0, 'price_wt' => 120000.0, 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => 1, 'features' => array(array('id_feature' => '5', 'id_product' => '21', 'id_feature_value' => '17'), array('id_feature' => '7', 'id_product' => '21', 'id_feature_value' => '23')), 'attributes' => 'Color de borde : Sin borde- Cantidad de puestos : 4- Borde : Sin borde', 'attributes_small' => 'Sin borde- 4- Sin borde', 'rate' => 0.0, 'tax_name' => '')))in Cart.php line 3544
at CartCore->getPackageShippingCost(23, true, object(Country), null, 6)in Carrier.php line 758
at CarrierCore::getCarriersForOrder(6, array(3), object(Cart), array())in Carrier.php line 1555
at CarrierCore::getAvailableCarrierList(object(Product), 0, '19', 1, object(Cart))in Cart.php line 2412
at CartCore->getPackageList(false)in Cart.php line 2625
at CartCore->getDeliveryOptionList(null)in Cart.php line 3182
at CartCore->getDeliveryOption(null, false, false)in Cart.php line 3255
at CartCore->getTotalShippingCost(null, true)in Fees.php line 81
at Fees->processCalculation(object(Cart), object(CartRowCollection), '2', null)in Calculator.php line 294
at Calculator->calculateFees('2')in Calculator.php line 129
at Calculator->processCalculation('2')in Cart.php line 1974
at CartCore->getOrderTotal(false)in CartPresenter.php line 327
at CartPresenter->present(object(Cart))in FrontController.php line 490
at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 548
at FrontControllerCore->initContent()in IndexController.php line 37
at IndexControllerCore->initContent()in Controller.php line 292
at ControllerCore->run()in Dispatcher.php line 515
at DispatcherCore->dispatch()in index.php line 28

`

@alejokalderon
Copy link
Author

ClassNotFoundExceptionAttempted to load class "SoapClient" from the global namespace.Did you forget a "use" statement?

@alejokalderon
Copy link
Author

Perdón, resuelto, me faltaba instalar php-soap. Gracias.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant