foreach errors
Posted: Sat Jun 17, 2006 5:21 am
Hi,
First of all, sorry, I didn't actually take note of the file or line when the errors popped up. I had a good idea of what was causing the error, so I just fixed it.
Using a fresh install on WinXP, using PHP 5.1.1, there were more than a few foreach errors the first time I logged in. They seemed to revolve around the categories.
It appears the scripts are trying to foreach through an array of categories, but since it's a fresh install, there are no categories, and so, no array.
In the admin area, this happened on the edit entries page, and categories page.
- Sean
First of all, sorry, I didn't actually take note of the file or line when the errors popped up. I had a good idea of what was causing the error, so I just fixed it.
Using a fresh install on WinXP, using PHP 5.1.1, there were more than a few foreach errors the first time I logged in. They seemed to revolve around the categories.
It appears the scripts are trying to foreach through an array of categories, but since it's a fresh install, there are no categories, and so, no array.
In the admin area, this happened on the edit entries page, and categories page.
- Sean