Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Joomla Virtuemart Template - DarkMart (SKU# FLEX-00011)

TOPIC: Stockable error

Stockable error 10 years 6 months ago #6709

Hello,

after updating yhe joomla I get the followig error:
Warning: Invalid argument supplied for foreach() in /home/shoemall/public_html/new/plugins/vmcustom/stockable/stockable.php on line 226
on page: shoemall.ro/new/index.php?option=com_virtuemart&view=category&virtuemart_category_id=10&Itemid=555

I don`t know where is the issue, we did some in products upload or the error is in the source files.
Please take a look.

Regards!
The administrator has disabled public write access.

Stockable error 10 years 6 months ago #6723

Hi,

Looks like there is an unnecessary "foreach" loop.

Try this, open this php file:
/templates/flexible_darkmart/html/com_virtuemat/category/default.php

find this line (416th line):
if ($params->get('category_addtocart_list',1)) {

and replace with:
if ($params->get('category_addtocart_list',1) and !empty($product->customfieldsCart)) {

See it fixes the error, if not.. let me know.

Regards.
Last Edit: 10 years 6 months ago by Support.
The administrator has disabled public write access.

Stockable error 10 years 6 months ago #6808

The error is not fixed.
Can you give me another solution?
You can see under address: shoemall.ro/new/index.php?option=com_virtuemart&view=category&virtuemart_category_id=6&Itemid=476
Last Edit: 10 years 6 months ago by Molnar Zoltan Csaba.
The administrator has disabled public write access.

Stockable error 10 years 6 months ago #6811

Hi,

Please create me a joomla (super) administrator account, send it to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me investigate this case to eliminate that error message. I will try to resolve the problem by running some benchmarks. If i change anything in anywhere, i will provide you the detailed report about my touches (so you won't retrieve my changes back to original)

While emailing to This email address is being protected from spambots. You need JavaScript enabled to view it.
Don't forget to include this forum topic's URL at the of your message to avoid the confusion in our end.

Regards.
Support & Development
The administrator has disabled public write access.
Time to create page: 0.119 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo