[wp-trac] [WordPress Trac] #17618: Version 3.1.3: Clicking on media library tab within media uploads prints out warnings (XDebug enabled)
WordPress Trac
wp-trac at lists.automattic.com
Mon May 30 15:23:41 UTC 2011
#17618: Version 3.1.3: Clicking on media library tab within media uploads prints
out warnings (XDebug enabled)
--------------------------+-----------------------------
Reporter: VicePrez | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.1.3
Severity: normal | Keywords:
--------------------------+-----------------------------
I've pasted a small segment of the warnings that are returned by Xdebug in
the event of clicking on the media library tab under media uploads. I'm
not sure of its severity, but i wanted to report it. As far as I know the
problem doesn't repeat itself on my other dev site running Wordpress
3.2-beta2-18055.
As far as my the dev site running Wordpress 3.1.3, the warnings still get
printed out despite disabling all plugins, and switching to twentyten.
{{{
Warning: explode() expects parameter 2 to be string, array given in
/Applications/MAMP/htdocs/wordpress/wp-includes/query.php on line 2390
Call Stack
# Time Memory Function Location
1 0.0007 367384 {main}( ) ../media-upload.php:0
2 0.2912 18424536 do_action( ) ../media-upload.php:123
3 0.2912 18425364 call_user_func_array ( )
../plugin.php:395
4 0.2912 18425380 media_upload_library( ) ../plugin.php:0
5 0.2912 18425560 wp_iframe( ) ../media.php:811
6 0.3001 18440604 call_user_func_array ( )
../media.php:344
7 0.3001 18440780 media_upload_library_form( )
../media.php:0
8 0.3028 18443736 wp_edit_attachments_query( )
../media.php:1916
9 0.3040 18448792 wp( ) ../post.php:1019
10 0.3040 18448820 WP->main( ) ../functions.php:1527
11 0.3066 18463112 WP->query_posts( ) ../class-
wp.php:501
12 0.3067 18463224 WP_Query->query( ) ../class-
wp.php:454
13 0.3068 18464260 WP_Query->get_posts( ) ../query.php:2895
14 0.3077 18473140 explode ( ) ../query.php:2390
( ! ) Warning: in_array() expects parameter 2 to be array, null given in
/Applications/MAMP/htdocs/wordpress/wp-includes/query.php on line 2399
Call Stack
# Time Memory Function Location
1 0.0007 367384 {main}( ) ../media-upload.php:0
2 0.2912 18424536 do_action( ) ../media-upload.php:123
3 0.2912 18425364 call_user_func_array ( )
../plugin.php:395
4 0.2912 18425380 media_upload_library( ) ../plugin.php:0
5 0.2912 18425560 wp_iframe( ) ../media.php:811
6 0.3001 18440604 call_user_func_array ( )
../media.php:344
7 0.3001 18440780 media_upload_library_form( )
../media.php:0
8 0.3028 18443736 wp_edit_attachments_query( )
../media.php:1916
9 0.3040 18448792 wp( ) ../post.php:1019
10 0.3040 18448820 WP->main( ) ../functions.php:1527
11 0.3066 18463112 WP->query_posts( ) ../class-
wp.php:501
12 0.3067 18463224 WP_Query->query( ) ../class-
wp.php:454
13 0.3068 18464260 WP_Query->get_posts( ) ../query.php:2895
14 0.3187 18474144 in_array ( ) ../query.php:2399
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17618>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list