• Resolved Bartalbert

    (@bartalbert)


    I am using the latest version of Tablepress. When it is enabled my general search box of the theme does not work anymore. Searches end up in a blank page or in this error: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in …../wp-content/plugins/tablepress/models/model-table.php on line 161

    Changing the theme does not effect the result. Disabling Tablepress or fixes it. Disabling the add ons does not have any effect.

    Any help is appreciated.

    http://ww.wp.xz.cn/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this seems to be that the PHP Memory limit is reached on the server when WordPress searches the tables.
    To fix this, you could try increasing the Memory Limit, by following the instructions from http://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP to increase WP_MEMORY_LIMIT to e.g. 128M.
    The other option would be to turn off the search integration of TablePress (so that WordPress no longer searches in tables), by adding this line to the “functions.php” of your theme:

    add_filter( 'tablepress_wp_search_integration', '__return_false' );

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘General search does not work when Tablepress enabled’ is closed to new replies.