Plugin could not be activated because it triggered a fatal error.

#91604
  • Resolved Soft CodeOn
    Rank Math free

    Hi,
    RankMath Team!
    I hope you’re doing great. Today I got an email from the website which shows this fatal error by rank math plugin? I tried to uninstall and it has done to uninstall but now I want to install it again it shows error. Please let me know what can be the problem. I’m very disappointed by taking this error. and don’t have to use woo commerce plugin etc.
    error message added in sensitive data please take a look now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting the support and 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

    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 for your support. I did the same and the problem has solved. But If it can be fixed without a plugin it will better for my site performance.

    Hello,

    Glad it’s sorted.

    Please disable the Code Snippets plugin. You do not need anymore.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.​​

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

The ticket ‘Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.