dxw / whippet-server

Whippet Server launches a stand-alone web server for a specific WordPress installation. It makes WordPress easier to develop with, for example, by adding lots of debug information to the terminal without cluttering up or breaking your templates.
ISC License
80 stars 6 forks source link

Notice: Array to string conversion #29

Closed mallorydxw closed 9 years ago

mallorydxw commented 10 years ago

[2014-07-03 20:14:50] Notice: Array to string conversion in [...]/whippet/lib/whippet.class.php at line 766 [2014-07-03 20:14:50] Parameters: numberposts => '5', orderby => 'menu_order', order => 'ASC', include => '3632,3641,3648,3649,3650,3652,3689,3694,3698,3710,3714,3718,3721,3724,3728,3731,3734,3740,3743,3746,3749,3755,3758,3761,3764,3767,3770,3776,3779,3785,3788,3874,4926,8025,8436,8488,9268,9310,9317,9318,9319,9320,9573,14686', post_type => 'nav_menu_item', suppress_filters => '1', post_status => 'publish', output => 'ARRAY_A', output_key => 'menu_order', nopaging => '1', posts_per_page => '44', post__in => 'Array', ignore_sticky_posts => '1', no_found_rows => '1'

Some parameters like post__in can be arrays.