WordPress.org

Ready to get started?Download WordPress

Forums

wp-table-reloaded search errors (5 posts)

  1. iperks
    Member
    Posted 3 years ago #

    I run a site here which uses the wp-table-reloaded plugin quite extensively. A colleague of mine has indicated that there is a problem with it when a site search is made:

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /xxxx/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 382

    Warning: Invalid argument supplied for foreach() in /xxxx/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 383

    Warning: Invalid argument supplied for foreach() in /xxxx/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 410

    This appears at several points across the page; I've no idea why it's doing this or how to prevent it. I've had a dig around online and on the plugin site and haven't found a fix or anyone else raising it as an issue - can anyone help?

    Thanks,

    Ian

  2. TobiasBg
    Member
    Posted 3 years ago #

    Hi,

    this error is the result of one of your tables having been corrupted.
    In the list of tables you should find at least one entry with "(no name)" or similar. That table is broken, for possible reasons see http://wordpress.org/support/topic/plugin-wp-table-reloaded-table-appears-to-be-empty-message
    As a result, the search feature can not search through this table and will give the mentioned error message.

    The proper fix is to find the broken table and either correct or remove it. Meanwhile, you can turn off searching through tables (on the "Plugin Options" screen of WP-Table Reloaded), so that your visitors are not bothered by the error message.

    Best wishes,
    Tobias

  3. iperks
    Member
    Posted 3 years ago #

    Hi Tobias,

    Thanks for the prompt response - easily found the offending table and have removed it - the search is now working perfectly!

    Thanks for your help.

    Regards,

    Ian

  4. iperks
    Member
    Posted 3 years ago #

    Also, I've spoken to my boss and we'll be donating some more money to your plugin site along with our thanks for your help.

    Regards,

    Ian

  5. TobiasBg
    Member
    Posted 3 years ago #

    Hi Ian,

    thanks a lot, it's great to hear that the solution worked, and of course it is also great to hear how much you value the plugin and the support!
    I appreciate that!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Topic