Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Undefined Index Error: Gallery on Options page
-
Hi Elliot,
Since upgrading to 3.5.1 (also tried 3.5.2) I'm getting the following error (on the front-end and back-end) of the site:Notice: Undefined index: 2428 in /home/luyendyk/public_html/tague_dev/wp-content/plugins/advanced-custom-fields/core/fields/gallery.php on line 346
After a bit of poking around, I found out the gallery element was trying to reference a media item that was deleted from the media library. The image showed up as a tiny blank square in the admin, so I deleted it and it cleared the error. Do you think you could add-in a check to see if the attachment ID exists? Thanks. -
-
Awesome - appreciated as always.