• Resolved gavpedz

    (@gavpedz)


    i get this error in the header when clicking on media in admin only seems to happen in media

    Warning: explode() expects parameter 2 to be string, array given in /mypath/public_html/wp-includes/query.php on line 2390

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

    Warning: in_array() expects parameter 2 to be array, null given in /mypath/public_html/wp-includes/query.php on line 2399

Viewing 15 replies - 16 through 30 (of 31 total)
  • Admittedly it’s a (minor) “Oops” but equally importantly why are you running live sites with display_errors on? That’s hardly secure, guys.

    In the meantime just use the Hotfix plugin: https://www.ads-software.com/extend/plugins/hotfix/

    Do not hack core. Please just install the Hotfix plugin.

    https://www.ads-software.com/extend/plugins/hotfix/

    Thanks and sorry for the inconvenience.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    equally importantly why are you running live sites with display_errors on

    It defaulted to on in my case and I’d never noticed until now. *ahem* Turned off.

    @esmi, this isn’t a live site; I’m developing off-line so I want errors on. Would just hope to see only my own errors. ??

    Install the Hotfix plugin. Or wait until the issue is resolved in WP 3.1.4.

    Or wait until the issue is resolved in WP 3.1.4.

    We haven’t decided on 3.1.4 yet. Install Hotfix for dev sites and display_errors off for production sites.

    Thanks, Nacin. I’ll keep that in mind.

    Yes, installing the hotfix plugin solved the problem. Thanks!
    I’m running in a production environment, but I’m not sure how to change the ‘display_errors’ setting? Can someone explain how to disable this setting. I have never changed it as far as I know so I suppose it must be a default setting that it is on?

    Hi everyone – same problem for me too so will apply hotfix. As for ‘display_errors’ – never heard of it so no idea where to change it or how to check current status. Can someeone please tell me where to look for this to change it please? thanks in advance…

    If your server is running PHP as an Apache module, and allows PHP overrides, you can add this line to your site’s .htaccess file to turn error display off:

    php_flag display_errors off

    Or, in your server or site’s php.ini file, change display_errors value to Off instead of On:

    display_errors = Off

    I was having this issue also, glad I found this thread. Applied the Hotfix plugin – error is gone. Thanks.

    I have the some problem.

    And just happen after i made a deploy from one server to another server.

    And i fixed it with the plugin. If it help i could try to get both php parameters

    I had this problem too, installed Hotfix, worked like a charm!

    This may or may not be related, but I installed W3 Total Cache which required permissions changes (755 to 777) on wp-content and wp-content/.htaccess. and then back again.

    I began receiving the errors shortly after that.

    You know what I love about WP? Every time I have a WP problem, I find a WP answer.

    The hotfix plugin works ??

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Error message when i click on media in admin’ is closed to new replies.