News:

Looking for documentation? Take a look on our wiki

Main Menu

PHP Warning: implode(): Invalid arguments passed in

Started by kelecz, February 14, 2015, 12:15:02 PM

Previous topic - Next topic

kelecz

Hello,

need assist with this errors,please:

PHP Warning: implode(): Invalid arguments passed in...... /administrator/components/com_virtuemart/models/product.php on line 938
$hash = $productId.','.implode($virtuemart_shoppergroup_ids,'.').','.(int)$front; //md5($q);

PHP Warning: Invalid argument supplied for foreach() in......... /administrator/components/com_virtuemart/models/product.php on line 1760
foreach($old_price_ids as $oldPride){

Invalid argument supplied for foreach() in .........../administrator/components/com_virtuemart/models/product.php on line 1743
foreach($old_price_ids as $key => $oldprice){

Thx in advance.


GJC Web Design

no use posting this without full info of versions etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kelecz

Sorry:

Joomla 336
VM 302(manual to 304)-custom template
PHP version    5.4.34

www.petproba.konji.rs



GJC Web Design

Are these warnings doing anything to effect the site ?

If the site works fine just suppress the warnings
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

There is a problem with his shoppergroups. Maybe he deleted the default ones. The shopper is in no shoppergroup, which should never happen.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kelecz

Milbo,

yes I delete some. tell me what to do or should I just leave it that way.

There is problem with prices. When I do not import paths to images there are prices on, but with images they gone.
Gays told me that is template problem but I am not sure. Roland from CSVI is not sure either.
I will appreciate any help.

Milbo

Actually just update, an udpate should fix your shoppergroups and the query is also fixed, so that it works always now
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/