Search the Community
Showing results for tags 'Invalid argument'.
-
Hi, I'm getting the following errors in my php "error.log" using PS 1.6.1.10 (was the same for 1.6.1.8). [08-Jan-2017 09:18:09 Europe/Stockholm] PHP Notice: Undefined offset: 62376 in /var/www/html/ps16/classes/PaymentModule.php on line 233 [08-Jan-2017 09:18:09 Europe/Stockholm] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/ps16/classes/PaymentModule.php on line 233 [08-Jan-2017 09:19:59 Europe/Stockholm] PHP Notice: Trying to get property of non-object in /var/www/html/ps16/classes/module/Module.php on line 2284 The first one seems to have something to do with carriers, in PaymentModule.php: foreach ($cart_delivery_option as $id_address => $key_carriers) { foreach ($delivery_option_list[$id_address][$key_carriers]['carrier_list'] as $id_carrier => $data) { foreach ($data['package_list'] as $id_package) { The second one seems to have something to do with currency, in Module.php: if (Currency::isMultiCurrencyActivated()) { $cache_array[] = (int)$this->context->currency->id; } They mostly appear with a purchase, although not always with the same payment module? The BO logs also gives the error: 4910 -- 1 Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart Cart 100021 0x0 2017-01-08 09:18:12 My shop has only English & Swedish installed and activated, but Swedish is the only language seen by the customer, there is no language block activated for such a selection! On the other hand, a Currency block is activated for the customer to choose between Kroner & Euro. All of my carriers have been added manually (and checked), no carrier modules are in use. I have not activated the main file Cache, although Smarty & CCC are activated. Can anybody help, any idea please? Thanks in advance. David C
- 4 replies
-
- error.log
- Undefined offset
- (and 5 more)
-
Hello i saw today this error message in my error.log [14-Oct-2013 10:48:11] PHP Warning: Invalid argument supplied for foreach() in /home4/****/public_html/modules/mailalerts/MailAlert.php on line 177 What is this error? How i can solve the PHP Warning? Thanks a lot
- 3 replies
-
- PHP Warning
- Invalid argument
-
(and 3 more)
Tagged with:
-
Hello everybody! This is the first time I work on Prestashop. I started designing, configuring and adding content on a local server using Wamp for windows, and everything went fine! When I tried to migrate from local to live server, in the front office, I only had the header and horizontal menu displayed, no footer, no product... meanwhile, the back office is OK. I turned on the error display, and here is the result, on a product page: Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/classes/tax/TaxRulesTaxManager.php on line 97 Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/controllers/front/ProductController.php on line 346 Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/controllers/front/ProductController.php on line 513 Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/classes/Tab.php on line 261 Any suggestion or help please! Thank you.
- 17 replies
-
- ProductController
- Invalid argument
-
(and 3 more)
Tagged with:
-
Hola amigos de PS, estoy generando un csv para exportar con el moussiq, y nada mas entrar en la pestaña de moussiq tengo los siguientes errores: Warning : array_merge(): Argument #2 is not an array in /var/www/vhosts/deliteca.es/httpdocs/modules/moussiq/AdminMoussiq.php on line 26 Warning : Invalid argument supplied for foreach() in /var/www/vhosts/deliteca.es/httpdocs/modules/moussiq/AdminMoussiq.php on line 28 Alguien puede decirme que significan estos warning? Muchas gracias y buen domingo ;-)