Error report

Oklahoma City, OK(Zone 7a)

I was going throught the PDB and got this error:

Warning: Variable passed to each() is not an array or object in /www/garden/inc/pdb/pdb_themes.php on line 48

It was at the top of the page. I was doing a PDB search through the Hostas and the first hosta on the page was "June Bug", if that helps at all.

http://plantsdatabase.com/search.php?search_text=hosta%2C+lime&offset=560

This is the link to that page.

~Carla

That's odd... The error message is real (I know what would have caused it) but I'm not seeing it happen. I wonder if it was there for just a moment while I was uploading some code this morning.

Is it still doing it now?

dave

Oklahoma City, OK(Zone 7a)

I was headed through the alphabet (hostas only) to June Bug, when I got the error again. I didn't get past this page, when it happened.

http://plantsdatabase.com/search.php?search_text=hosta%2C+halcyon&offset=480

Warning: Variable passed to each() is not an array or object in /www/garden/inc/pdb/pdb_themes.php on line 48

Well, I still can't see the error, but I did check the code and added some more stuff that might make this error go away. Please do let me know if you see this error again and, if yes, if the error is the same or has changed to something else.

dave

Oklahoma City, OK(Zone 7a)

Thanks, Dave. I'll check it again in a little while.

Oklahoma City, OK(Zone 7a)

Sorry it took me so long to get back to this. I haven't been able to reproduce the error again. Just a fluke, perhaps?

Not a fluke, I fixed it based on the error message you gave.

dave

Oklahoma City, OK(Zone 7a)

Oh, cool. You're a genius with this programming stuff.

It's just like any other skill... programming is like speaking the computer's language. You learn the language and then tell it what to do. :) Sometimes you tell it to do the wrong thing, which it of course then does just like you said, and that's a bug. :)

dave

Manhattan Beach, CA(Zone 11)

Programmers' Axiom No.1: "Garbage in, garbage out!"

Post a Reply to this Thread

Please or sign up to post.
BACK TO TOP