Support » Plugin: Advanced Custom Fields » still notices in 3.5.8.1

  • Hi,

    I get this on image upload in wp editor.

    PHP Notice: Undefined index: sizes in …pluginss/advanced-custom-fields/core/fields/image.php on line 783

    This breaks the ajax call of the image upload for people who have WP_DEBUG on true.

    Also, makes me wonder why ACF needs to run on ajax calls like that. It can be good to load your plugin selectively only where needed (performance gain).

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
  • proposed change:

    if( isset( $meta['sizes'] ) && is_array( $meta['sizes'] ) )

    That is without looking at the consequences of what happens if it does not exit, but it will at least avoid the php notice.

Viewing 1 replies (of 1 total)
  • The topic ‘still notices in 3.5.8.1’ is closed to new replies.