- Posts: 4
- Thank you received: 0
warning in products admin page after HikaShop Starter 4.2.1 upgrade
7 years 2 months ago - 7 years 2 months ago #309324
by mrc63
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.7.4
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : Warning: Invalid argument supplied for foreach() in /web/htdocs/mysite/home/administrator/components/com_hikashop/classes/field.php on line 653
Hi.
Hope someone can help me to solve the following warning appearing on top of products (only in products view) admin page after hikashop starter version upgrade:
Warning: Invalid argument supplied for foreach() in /web/htdocs/mysite/home/administrator/components/com_hikashop/classes/field.php on line 653
There are no other warning or error messages both in front-end and back-end.
-- Joomla version -- : 3.7.4
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : Warning: Invalid argument supplied for foreach() in /web/htdocs/mysite/home/administrator/components/com_hikashop/classes/field.php on line 653
Hi.
Hope someone can help me to solve the following warning appearing on top of products (only in products view) admin page after hikashop starter version upgrade:
Warning: Invalid argument supplied for foreach() in /web/htdocs/mysite/home/administrator/components/com_hikashop/classes/field.php on line 653
There are no other warning or error messages both in front-end and back-end.
Last edit: 7 years 2 months ago by mrc63.
Please Log in or Create an account to join the conversation.
7 years 2 months ago #309330
by nicolas
Replied by nicolas on topic warning in products admin page after HikaShop Starter 4.2.1 upgrade
Hi,
Thanks for your feedback.
Change the line:
if(empty($rows)) return;
to:
if(empty($rows) || empty($fields)) return;
in the file /administrator/components/com_hikashop/classes/field.php and it will remove the warning.
We'll add the patch on our end too.
Thanks for your feedback.
Change the line:
if(empty($rows)) return;
to:
if(empty($rows) || empty($fields)) return;
in the file /administrator/components/com_hikashop/classes/field.php and it will remove the warning.
We'll add the patch on our end too.
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309445
by mrc63
Replied by mrc63 on topic warning in products admin page after HikaShop Starter 4.2.1 upgrade
Thank you so much
Please Log in or Create an account to join the conversation.
Time to create page: 0.173 seconds