Hi there, not sure what happened, but suddenly I got this error:
Warning: Invalid argument supplied for foreach() in omega_links() (regel 332 van <site>/themes/omega/omega/inc/theme.inc).
It seems that it happened after upgrading from alpha7 to alpha8. Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | erikkorte.zip | 132.71 KB | BarisW |
Comments
Comment #1
himerus commentedHrm.... not sure why this would have been caused...
Can you debug a bit more why this might be happening? Is it on a front page display of teasers? on full nodes?
I tested the alpha8 install on my site (himerus.com) prior to actually tagging it, and I'm not running into any errors there that I can notice as anon user or admin...
Comment #2
BarisW commentedI tried several thing to get the error gone, with no avail. Setting the starterkit as default solves the bug, but I cannot find what causing the but in my subtheme.
If you have the time to have a quick look, that would be awesome. I attached my base theme to debug.
Thanks a lot!
Comment #3
himerus commentedJust tested installing your subtheme on my localhost test environment, and on front and node pages, I'm not getting the error...
Could it be a module that was updated that is trying to do something to the links?? Otherwise I'm not positive off the top of my head what it could be...
I guess to test, you could download the alpha7 again, and remove the alpha8 and put in the old version just to test that it really IS happening for some reason in omega.
Also, just to check... did you clear all caches after any/all recent updates?? (just checking)
Comment #4
BarisW commentedThanks for the quick and proper support. I'm not sure what caused the error, but it's gone now.
I started with the clean starterkit and replaced each file from my custom theme. File by file, to see what's cauing the error.
I've now replaced everything and the error is gone. The only one that I didn't replace is the .info, I only copied the css and js declarations. I can recall that I removed some of the sections of the .info in the alpha7 version, maybe that's what caused the error.
Anyhow, it's fixed. Thanks. Case closed ;)