Support » Plugin: WP Editor » If your plugin is going haywire, click here for the fix – Jan 2020.

  • If you’re reading this, your plugins are probably going bananas and you can’t deactivate. The great thing, is you don’t have to deactivate but you can.

    Just go to Plugins > Plugin Editor > (select plugin to edit) WP Editor > Select

    Under Plugin Files on the right, click classes > WPEditor.php

    Scroll down to line 324

    Replace

    $data = ”;

    with

    $data = array()

    Update file. If that doesn’t work, then I don’t know what else can be done.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You forgot the apostrophe

    $data = array();

    With a bit of a delay, thank you!

    I can confirm $data = array(); works, and the plugin didn’t break 🙂

    This is caused by an incompatibility with PHP 7.1 and higher. Upgrading my old sites from 7.0 to 7.4 made my admin section go wonky. This is the fix.

    If your Installed Plugins page was not showing all plugins, you could not select all, and buttons under plugin names were missing, replacing the line as OP states does the trick.

    $data = array(); is still working in August 2020. Thank you!

    Deactivating a plugin without admin access can be done by renaming the plugin folder under wp-content/plugins.

    • This reply was modified 1 year, 1 month ago by sdaveCL.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘If your plugin is going haywire, click here for the fix – Jan 2020.’ is closed to new replies.