[wp-trac] [WordPress Trac] #17600: Warnings showing in media-upload.php chain
WordPress Trac
wp-trac at lists.automattic.com
Sat May 28 19:25:34 UTC 2011
#17600: Warnings showing in media-upload.php chain
---------------------------+-----------------------------
Reporter: rhuan.barreto | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.1.3
Severity: normal | Keywords:
---------------------------+-----------------------------
The warnings are shown on simply open of Media Files tab of the popup
iframe Upload Image. I've installed the backtrace tool and the warnings
was the following:
Backtrace from warning 'explode() expects parameter 2 to be string, array
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2390:
/home/rhuancom/public_html/blog/wp-includes/query.php 2390 calling
explode()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
Backtrace from warning 'in_array() expects parameter 2 to be array, null
given' at /home/rhuancom/public_html/blog/wp-includes/query.php 2399:
/home/rhuancom/public_html/blog/wp-includes/query.php 2399 calling
in_array()
/home/rhuancom/public_html/blog/wp-includes/query.php 2895 calling
get_posts()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 454 calling
query()
/home/rhuancom/public_html/blog/wp-includes/class-wp.php 501 calling
query_posts()
/home/rhuancom/public_html/blog/wp-includes/functions.php 1527 calling
main()
/home/rhuancom/public_html/blog/wp-admin/includes/post.php 1019 calling
wp()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 1916 calling
wp_edit_attachments_query()
calling media_upload_library_form()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 344 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/includes/media.php 811 calling
wp_iframe()
calling media_upload_library()
/home/rhuancom/public_html/blog/wp-includes/plugin.php 395 calling
call_user_func_array()
/home/rhuancom/public_html/blog/wp-admin/media-upload.php 123 calling
do_action()
These errors appear above the search box. And similar errors appear below
the box. This don't prevent from searching and adding an image, but it's
seems to be a bug and i'm reporting here.
Sorry for any wrong english. I'm brazilian.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17600>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list