Site logo

[Support request] Error in Generatepress Block Editor!

Home Forums Support [Support request] Error in Generatepress Block Editor!

Home Forums Support Error in Generatepress Block Editor!

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #2583906
    David
    Staff
    Customer Support

    There are 2 main errors there:

    error 1

    [27-Mar-2023 12:06:54 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_rocket_add_purge_posts_to_author' not found or invalid function name in /home/runcloud/webapps/siterentavel/wp-includes/class-wp-hook.php on line 308

    The WP Rocket Plugin is making a function callback wp_rocket_add_purge_posts_to_author and that function was either not found or was invalid.

    The only reference i could find to that function callback is in this article:

    https://docs.wp-rocket.me/article/1280-customize-access-to-options-for-user-roles

    Did you add that function to your site somewhere?

    error 2

    27-Mar-2023 11:55:17 UTC] WordPress database error Table 'siterentavelsdb.wp_rank_math_redirections_cache' doesn't exist for query SELECT * FROM wp_rank_math_redirections_cache WHERE ( object_id = 22 and object_type = 'post' ) ORDER BY object_id DESC made by require('wp-blog-header.php'), wp, WP->main, do_action_ref_array('wp'), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Redirections\Redirections->do_redirection, RankMath\Redirections\Redirector->__construct, RankMath\Redirections\Redirector->flow, RankMath\Redirections\Redirector->from_cache, RankMath\Redirections\Cache::get_by_object_id_or_url, MyThemeShop\Database\Query_Builder->get
    

    So something is querying the database, looking specifically for this table: siterentavelsdb.wp_rank_math_redirections_cache which looks to be where RankMath caches its redirections tables. And that table cannot be found.

    I found one support topic on this, see here:

    https://wordpress.org/support/topic/wp_rank_math_redirections-doesnt-exist/

    #2586798
    Kevin

    Thank you, I can’t believe it’s the cause of the errors, but for now it didn’t happen on any of the sites after yesterday’s macOS update. Let’s see!Thank you for pointing out these errors, I’ll check them out.

    #2586868
    David
    Staff
    Customer Support

    You’re welcome

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.