The value of parameter 'id' must be either a string or an integer
Hi all,
I just received the following error when trying to load one of my pages:
The value of parameter 'id' must be either a string or an integer
This makes sense to me, however I've checked all of the IDs used on the page and they are all auto-assigned ints. The code it is flagging up as incorrect is as follows:
Sorry I tried to delete this thread as I solved the issue. I wasnt performing a check to see if an image was present before outputting it to the page. I've resolved this now by replaceing the image with a dummy image if no content is found.
The value of parameter 'id' must be either a string or an integer
Hi all,
I just received the following error when trying to load one of my pages:
This makes sense to me, however I've checked all of the IDs used on the page and they are all auto-assigned ints. The code it is flagging up as incorrect is as follows:
Any ideas why it might be doing this?
Hi Jason,
I've seen that error when loading content - where are you populating the item variable?
Sorry I tried to delete this thread as I solved the issue. I wasnt performing a check to see if an image was present before outputting it to the page. I've resolved this now by replaceing the image with a dummy image if no content is found.
is working on a reply...