View Single Post
Old 10-14-2011, 11:43 AM   #136
Pope Viper
Member
Pope Viper began at the beginning.
 
Pope Viper's Avatar
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Device: none
Finally got this fixed. This error was appearing because I had PHP error reporting set to e_all.

I back it down to just fatal errors, and it went away.

I did poke around a bit, and found this on the smarty website:

Quote:
Q: PHP Error Reporting level is set to E_ALL and smarty throws "undefined index"-errors. What can I do?

A: If you're getting it in a section loop, and especially if smarty's returning a few empty loop products at the end of your loop, it's a bug. Work around it by including your section code in an {if} statement which checks that a value which should not be empty, really isn't empty.
Pope Viper is offline   Reply With Quote