WP Editor
advanced-cache.php conflict error? (3 posts)

  1. Rancel
    Posted 2 years ago #

    I have this warning in plugins Drop-ins section.
    Warning: Invalid argument supplied for foreach() in /home/content/88/11194688/html/PrimarySite/wp-admin/includes/class-wp-list-table.php on line 344


  2. hahimwayeal
    Posted 2 years ago #

    I was able to fix this error by adding these lines:

    if( isset( $_REQUEST['plugin_status'] ) && in_array( $_REQUEST['plugin_status'], array('mustuse', 'dropins') ) ) {
    $data = $links;
    else if(WPEditorSetting::getValue('replace_plugin_edit_links') == 1) {

    in place of

    if(WPEditorSetting::getValue('replace_plugin_edit_links') == 1) {

    in WPEditor.php line 252.
    I took a piece of code from class-wp-list-table.php line 21 and made it so that only mustuse and dropins would not have their plugin lists edited by WP-Editor.

  3. benjaminprojas
    Plugin Author

    Posted 2 years ago #

    Thanks hahimwayeal,

    I will try to have a fix for this in the next release of WP Editor.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.