Member
Member
thebluebus   2012-08-18, 22:54
#1

I've just noticed my debug log is full of these errors:

` Backtrace: NOTICE: Undefined variable: firstPageImages in /site/image.php on line 122

include called

from index.php [92] `

what is causing this? line 122 in image.php is:

`

`

Member
Member
sbillard   2012-08-18, 23:03
#2

I can only guess since you have told us nothing of what theme you are using. But almost certainly this is because the theme did not setup the $firstPageImages variable that it is referencing in that line.

BTW, it is fairly unusual for the image.php script to be looping on the images. Normally it is used to display just the single image it was launched to show. The next_image() loop is normally found only in the album.php script.

Member
Member
thebluebus   2012-08-18, 23:19
#3

sorry, its a custom theme. It has this section below the image to show more from the same category

`

                                    " title="">

`

can you give me any pointers? do you need to see the whole file? also what do you mean by setup the variable?

thanks a lot

Member
Member
sbillard   2012-08-18, 23:47
#4

Most likely you should just remove the parameter. But only the theme author knows what was intended. Sorry, but for obvious reasons we cannot provide support to themes we did not develop.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.