{"id":293,"date":"2011-06-04T12:01:09","date_gmt":"2011-06-04T11:01:09","guid":{"rendered":"http:\/\/blog.ludovicfavre.ch\/?p=293"},"modified":"2011-06-05T10:31:08","modified_gmt":"2011-06-05T09:31:08","slug":"corriger-un-bug-dans-la-partie-me","status":"publish","type":"post","link":"https:\/\/www.ludovicfavre.ch\/blog\/2011\/06\/corriger-un-bug-dans-la-partie-me\/","title":{"rendered":"Corriger un bug dans le modules m\u00e9dia de WordPress 3.1.3"},"content":{"rendered":"<p>Avec la mise \u00e0 jour 3.1.3 de WordPress, une erreur appara\u00eet dans la partie admin-M\u00e9dias du CMS:<\/p>\n<blockquote><p><strong>Warning<\/strong>: explode() expects parameter 2 to be string, array given in\u00a0<strong>\/home\/www\/***\/wp-includes\/query.php<\/strong> on line\u00a0<strong>2390<\/strong><\/p>\n<p><strong>Warning<\/strong>: in_array() expects parameter 2 to be array, null given in\u00a0<strong>\/home\/www\/***\/wp-includes\/query.php<\/strong> on line\u00a0<strong>2399<\/strong><\/p><\/blockquote>\n<p><span style=\"color: #000000;\">Il s&rsquo;agit d&rsquo;un fix qui n&rsquo;a pas \u00e9t\u00e9 suffisament v\u00e9rifi\u00e9 mais une correction est d\u00e9j\u00e0 disponible sur cette adresse (il faut \u00e9diter query.php):\u00a0<a href=\"http:\/\/core.trac.wordpress.org\/changeset\/18047\">http:\/\/core.trac.wordpress.org\/changeset\/18047<\/a><\/span><\/p>\n<p><span style=\"color: #000000;\">Et une discussion dans le support de WordPress en parle \u00e9galement:\u00a0<a href=\"http:\/\/wordpress.org\/support\/topic\/error-message-when-i-click-on-media-in-admin\">http:\/\/wordpress.org\/support\/topic\/error-message-when-i-click-on-media-in-admin<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Avec la mise \u00e0 jour 3.1.3 de WordPress, une erreur appara\u00eet dans la partie admin-M\u00e9dias du CMS: Warning: explode() expects parameter 2 to be string, array given in\u00a0\/home\/www\/***\/wp-includes\/query.php on line\u00a02390 Warning: in_array() expects parameter 2 to be array, null given &hellip; <a href=\"https:\/\/www.ludovicfavre.ch\/blog\/2011\/06\/corriger-un-bug-dans-la-partie-me\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[41,70],"tags":[39],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-coding","category-php","tag-error"],"_links":{"self":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/comments?post=293"}],"version-history":[{"count":4,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":343,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts\/293\/revisions\/343"}],"wp:attachment":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}