Invalid argument supplied for foreach()
sp_key - October 21, 2009 - 14:25
| Project: | Dynamic display block |
| Version: | 6.x-1.0-rc6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | invalid arguement foreach |
Description
Hi,
I have checked the faq found here http://ddblock.myalbums.biz/faq#19n805 and my answer is positive on all questions.
I have attached my template and screengrab so that you can have a look.
My ddblock is on my homepage inside a panels 3 if that makes any difference at all.
I get the above error when trying to edit the panel. The slideshow is displayed fine on the actual site.
Many thanks for your time in trying to help me
| Attachment | Size |
|---|---|
| screengrab.jpg | 71.02 KB |
| template.txt | 37.77 KB |

#1
What is the compleet error message?
In the screengrab it looks like all is working fine. Where do I need to look at?
Please provide the additional information, so I can help you better.
#2
Error msg and tpl file attached.
Many thanks for your time
#3
Thanks for attaching the additional information
Looks like panels 3 want to show a kind of preview of the slideshow but does not find the preprocess functions to add variables for the template files and the error message is shown.
I will not have much time in the near future to look into this particular bug.
Like you say the slideshow works fine, but you see this error when editing panels.
help appreciated
#4
Great!
I needed reassurance!
Much appreciated