• Resolved Rajesh Raval

    (@rajeshraval786)


    I am getting an error while saving table data and the error is PHP Fatal error:  Uncaught Error: Call to undefined method WP_Optimize::get_page_cache() in /nas/content/live/carlisleitdev/wp-content/plugins/tablepress/models/model-table.php:687

    • This topic was modified 1 year, 4 months ago by Rajesh Raval.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This error happens during the cache clearing of the WP Optimize plugin that TablePress does here. From what I can see, TablePress uses the mechanism from the WP Optimize Documentation.

    Therefore, I assume that something with your WP Optimize plugin is wrong. Can you please check if you are using the latest version, and can you please try re-installing it from a fresh download, to rule out missing/corrupted files in it?

    Regards,
    Tobias

    Thread Starter Rajesh Raval

    (@rajeshraval786)

    Hi @tobiasbg ,
    Thanks for the quick response I got it I had an older version of wp-optimize which doesn’t have cache functionality.

    But it’s good if you guys can check the version of the plugin as well while clearing the cache through functions.

    Thanks.

    • This reply was modified 1 year, 4 months ago by Rajesh Raval.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, I see. But this must be very old then, no?

    To get around this then, you could turn off TablePress trying to clear this cache, by adding this line to the end of your site’s “functions.php” file:

    add_filter( 'tablepress_flush_caching_plugins_caches', '__return_false' );

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to undefined method WP_Optimize::get_page’ is closed to new replies.