DB errors on a fresh install

#96165
  • Resolved misterelvis
    Rank Math free

    Hi there

    I’ve freshly installed RankMath on a WordPress site and keep getting error like this in several spots in WP-Admin:

    Table 'mydb.wp_rank_math_analytics_gsc' doesn't exist

    I’ve tried reinstalling without success. Error pops up in several spots, e.g. when editing menu items.
    I am not using the Analytics Connect option.

    A similar issues has already been reported in the WP support forums.

    Thanks for feedback.
    Aaron

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ah I just found out that the errors go away if I disable the Analytics Module which seems to be activated by default.

    Hello,

    Sorry for any inconvenience that might have been caused due to that.

    It seems like new tables are not getting created in the Database or some old plugin has left an incorrect entry.

    Please follow these steps to fix the issue:

    1. Take a complete backup of your website

    2. Install this plugin: https://wordpress.org/plugins/code-snippets/

    3. Head over to the Snippets menu in the left sidebar and click Add New
    add new snippet

    4. Give that post any name and copy the below code in the Code field

    add_action( 'init', function() {
    	delete_option( 'schema-ActionScheduler_StoreSchema' );
    } );

    5. Select ‘Only run in administration area’ option and click the Save and Activate button
    run only in admin area wordpress

    6. Open WordPress Dashboard in a new window

    7. Then deactivate recently created snippet from here
    disable snippet

    8. Then activate the Rank Math plugin again

    9. Please disable the Code Snippets plugin if you are not going to use it

    Here’s a video screencast:
    https://i.rankmath.com/79gPbv

    Please clear all the cache, including the server after following the above process.

    That should resolve the issue. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘DB errors on a fresh install’ is closed to new replies.