Remember me

Helix shortcode error

7 years 5 months ago #1

  • Michael's Avatar
  • Michael
Hi getting the following error:
Invalid argument supplied for foreach() /plugins/system/helix/shortcodes/gallery.php on line 35

My template is using the Helix framework and the following code is on line 35:
foreach ($galleryArray as $key=>$item) $tags .= ',' . $item['tag'];

Any thoughts? need to get this sorted asap.

thanks


Also getting the gallery images showing over other elements of the site including the gallery pagination

7 years 5 months ago #2

  • Michael's Avatar
  • Michael
I managed to fix the warning by adding this code:
$galleryArray = array();
foreach ($galleryArray as $key=>$item) $tags .= ',' . $item['tag'];

But when showing many images they go above the footer and over elements like pagination

7 years 5 months ago #3

  • Michael's Avatar
  • Michael
I used Page Refresh option and seems to fix the issue...

7 years 5 months ago #4

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Very well!

If the problem appears again, please let us know.

Regards,
Vyacheslav, Balbooa.com
Powered by Kunena Forum