• Resolved heathen666

    (@heathen666)


    I knew doing a bulk update of plugins wasn’t a good idea, I got a fatal error updating something and have been getting errors on my site all night. I probably took the most aggressive approach and deleted the active_plugins field in the wp-options table in my database so no plugins are running.

    Obviously I’m getting errors now as WP Hide & Security Enhancer is no longer running but installed.

    Can you please help me out of this mess?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Maya

    (@tdgu)

    When the WP Hide plugin is active, it turn on the output buffering so any notices and warnings are not visible, the WordPress can continue to run and push any required headers. Now, once the plugin is not active anymore, another plugin/plugins which produce any notice / warring block any headers so the code stops.
    I suggest so you turn off the plugins one by one to see which one produce the issue, or turn off the notice / warning php notifications and keep just fatal errors.

    Thanks

    Thread Starter heathen666

    (@heathen666)

    Hmmm I forgot to include some information.

    I currently cannot log into the wordpress portal.

    When I attempt to log in I’m getting the following

    Warning: in_array() expects parameter 2 to be array, boolean given in /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php on line 18

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-login.php on line 421

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-login.php on line 434

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-includes/pluggable.php on line 920

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-includes/pluggable.php on line 921

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-includes/pluggable.php on line 922

    Plugin Contributor Maya

    (@tdgu)

    I guess you right, as if there’s no active plugin on your site it might trigger the warning.
    For now, update the line 17 with he following:

    $active_plugins = (array)get_option('active_plugins');

    Thread Starter heathen666

    (@heathen666)

    In which file? wp-hide-loader.php?

    Plugin Contributor Maya

    (@tdgu)

    Sorry i meant this file /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php

    Thread Starter heathen666

    (@heathen666)

    Fixed.

    Back into my admin portal now.

    Thanks for the help

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Warning: in_array() expects parameter 2…’ is closed to new replies.