Well, this is pretty beyond me 😛 I figured I’d throw this error up here in hopes someone has a general idea of what it means.
I am trying the simplepie rss parser within in expressionengine, and i get this error. I am not a php programmer so this is a bit advanced for me.
“Warning: Invalid argument supplied for foreach() in /home/usr/public_html/site/system/core/core.functions.php(629) : eval()‘d code on line 12”
The chunk of code that is on line 629 is the following.. (well, the “return eval” line is 629)
function evaluate($str)
{
return eval('?>'.$str.'<?php ')
// ?><?php // BBEdit syntax coloring bug fix
}Does anyone know what that means? Not necessesarily looking for a way around it, I don’t want to break anything, but if it’s simple I might try it out.
I’m currently debating between SimplePie and the packaged magpie plugin. There are pros and cons for each, but just want to see if I can get SimplePie working at all.
Oh, and this error is happening when I try to spit out the results (4 feed sources), which is in a php foreach loop.
Thanks