Skip to content

Instantly share code, notes, and snippets.

Created July 16, 2013 23:57
Show Gist options
  • Save anonymous/6016351 to your computer and use it in GitHub Desktop.
Save anonymous/6016351 to your computer and use it in GitHub Desktop.
Error when editing an item within the media library.
( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: Invalid argument supplied for foreach() in C:\html\master\personal\ssgnewwp\wp-admin\includes\media.php on line 1348
Call Stack
# Time Memory Function Location
1 0.0011 815752 {main}( ) ..\post.php:0
2 0.2720 33692144 include( 'C:\html\master\personal\ssgnewwp\wp-admin\edit-form-advanced.php' ) ..\post.php:185
3 0.3460 34401048 do_action( ) ..\edit-form-advanced.php:357
4 0.3460 34402416 call_user_func_array ( ) ..\plugin.php:406
5 0.3460 34402448 edit_form_image_editor( ) ..\plugin.php:406
6 0.3583 35177456 get_compat_media_markup( ) ..\media.php:2337
Variables in local scope (#6)
$args =
array (size=2)
'errors' => null
'in_modal' => boolean false
$aria_required =
Undefined
$attachment_id =
string '18' (length=2)
$class =
Undefined
$default_args =
array (size=2)
'errors' => null
'in_modal' => boolean false
$defaults =
array (size=6)
'input' => string 'text' (length=4)
'required' => boolean false
'value' => string '' (length=0)
'extra_rows' =>
array (size=0)
empty
'show_in_edit' => boolean true
'show_in_modal' => boolean true
$error =
Undefined
$extra_rows =
Undefined
$field =
Undefined
$form_fields =
null
$hidden_field =
Undefined
$hidden_fields =
array (size=0)
empty
$html =
Undefined
$id =
Undefined
$id_attr =
Undefined
$item =
string '' (length=0)
$media_meta =
null
$name =
Undefined
$post =
object(WP_Post)[275]
public 'ID' => int 18
public 'post_author' => string '1' (length=1)
public 'post_date' => string '2013-07-16 22:54:56' (length=19)
public 'post_date_gmt' => string '2013-07-16 22:54:56' (length=19)
public 'post_content' => string '' (length=0)
public 'post_title' => string '2ndbedroom1' (length=11)
public 'post_excerpt' => string '' (length=0)
public 'post_status' => string 'inherit' (length=7)
public 'comment_status' => string 'open' (length=4)
public 'ping_status' => string 'open' (length=4)
public 'post_password' => string '' (length=0)
public 'post_name' => string '2ndbedroom1' (length=11)
public 'to_ping' => string '' (length=0)
public 'pinged' => string '' (length=0)
public 'post_modified' => string '2013-07-16 22:54:56' (length=19)
public 'post_modified_gmt' => string '2013-07-16 22:54:56' (length=19)
public 'post_content_filtered' => string '' (length=0)
public 'post_parent' => int 0
public 'guid' => string 'http://ssgwp.localhost/wp-content/uploads/2013/07/2ndbedroom1.jpg' (length=65)
public 'menu_order' => int 0
public 'post_type' => string 'attachment' (length=10)
public 'post_mime_type' => string 'image/jpeg' (length=10)
public 'comment_count' => string '0' (length=1)
public 'filter' => string 'raw' (length=3)
$readonly =
Undefined
$required =
Undefined
$rows =
Undefined
$t =
Undefined
$taxonomy =
Undefined
$term =
Undefined
$terms =
Undefined
$user_can_edit =
boolean true
$value =
Undefined
$values =
Undefined
Uploaded on: Jul 16, 2013 @ 22:54
File URL:
File name: 2ndbedroom1.jpg
File type: JPG
Delete Permanently
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment