Fatal Error

#464343
  • Resolved M Light
    Rank Math free

    Hello,

    Today, I logged into my wordpress dashboard so I could update some plugins. There were 3 that needed updating including Rank Math and another called preloader. Before I updated these apps I deleted an optimisation app from my previous hosting company (as I recently changed my host) and the website crashed. A fatal error came up on my screen and crashed my site. I couldn’t access my dashboard to rectify the issue.

    I contacted my hosting company who advised me to remove the plugins preloader and rank math but I had to disable them via Filezilla FTP and rename the plugin files. This temporarily fixed the issue and I deleted preloader as it’s not important. However, if I deleted Rank Math I was worried that my meta tags and all the work I had done with the app would also be deleted and I wouldn’t be able to recover it (is this the case?)

    The rank math app was deactivated on my plugin list so I tried to activate it and another fatal error message appeared:

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: INSERT command denied to user ‘o8763152’@’infong-eu-sd0006.clienthosting.eu’ for table ‘SERVMASK_PREFIX_actionscheduler_actions’ in /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(247): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(117): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/functions.php(40): ActionScheduler_ActionFactory->single_unique(‘action_schedule…’, Array, 1665847712, ‘action-schedule…’, false) #4 /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/Scheduler.php(89): as_schedule_single_action(1665847712, ‘action_schedule…’, Array, ‘action-schedule…’) #5 /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/Controller.php(119): Action_SchedulerMigrationScheduler->schedule_migration() #6 /homepages/33/d4296758739/htdocs/wordpress/wp-includes/class-wp-hook.php(307): Action_SchedulerMigrationController->schedule_migration(”) #7 /homepages/33/d4296758739/htdocs/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #8 /homepages/33/d4296758739/htdocs/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #9 /homepages/33/d4296758739/htdocs/wordpress/wp-settings.php(620): do_action(‘wp_loaded’) #10 /homepages/33/d4296758739/htdocs/wordpress/wp-config.php(196): require_once(‘/homepages/33/d…’) #11 /homepages/33/d4296758739/htdocs/wordpress/wp-load.php(50): require_once(‘/homepages/33/d…’) #12 /homepages/33/d4296758739/htdocs/wordpress/wp-admin/admin.php(34): require_once(‘/homepages/33/d…’) #13 /homepages/33/d4296758739/htdocs/wordpress/wp-admin/plugins.php(10): require_once(‘/homepages/33/d…’) #14 {main} thrown in /homepages/33/d4296758739/htdocs/wordpress/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    Again, I had to rename the file to deactivate it and access the backend of my site. I decided to sort the issue later as I had to upload a new post and when I tried to do this I received this error message:

    Warning: Attempt to read property “post_type” on null in /homepages/33/d4296758739/htdocs/wordpress/wp-admin/includes/post.php on line 703

    Fatal error: Uncaught Error: Attempt to assign property “post_content” on null in /homepages/33/d4296758739/htdocs/wordpress/wp-admin/includes/post.php:742 Stack trace: #0 /homepages/33/d4296758739/htdocs/wordpress/wp-admin/post-new.php(66): get_default_post_to_edit(‘post’, true) #1 {main} thrown in /homepages/33/d4296758739/htdocs/wordpress/wp-admin/includes/post.php on line 742

    Can you please help me to fix this issue. I followed the instructions on this support page (https://rankmath.com/kb/fatal-error-after-1-0-49-update/) but the Repair Action Scheduler plugin didn’t do anything.

    Please note that the version of my rank math plugin is Version: 1.0.98.2
    My current WordPress version is 6.0.2

    I can see in the code that WooCommerce comes up. I previously had the plugin, however, I deleted it a few weeks ago.

    Thank you

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    The version of Rank Math FREE you’re using currently is not seems to be the updated one.
    https://rankmath.com/changelog/free/

    Can you please try installing the latest version (v1.0.99) of Rank Math plugin and see if the issue resolves for you?

    Here’s how you can Manually Install Rank Math via FTP (or SFTP).

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    I updated the plugin as per the instructions, then tried to activate the plugin and it’s still coming up with an error and crashing my site.

    Anas
    Rank Math business

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anas
    Rank Math business

    Hello,

    You have only added the FTP login details. We would also need your WordPress login details to fix the issue.

    Please add the WordPress login details in the sensitive data section so we can check.

    We look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Kindly share your WordPress’s admin URL so we can access the dashboard using the login information you have shared.

    Looking forward to helping you on this one.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    The “Repair Action Scheduler” plugin doesn’t seem to do anything upon activation. The plugin should automatically be deactivated once the repair is completed.

    I would like to disable all the plugins and activate Rank Math to see if there are other plugins that may be conflicting with Rank Math.

    However, the troubleshooting mode isn’t working well on your end.

    Is it possible for you to create a staging website for us to deeply debug the issue without worrying about breaking your live site? If so, please create one, replicate the issue there and share the admin login here so we can further determine what’s causing this issue.

    Looking forward to helping you with this one.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I created a staging site via WP Staging and I received this message: Error establishing a database connection

    Anas
    Rank Math business

    Hello,

    This seems like an issue with the tables related to ActionScheduler, the database has reached its maximum capacity you need to delete entries from the table wp_actionscheduler_actions to accommodate for more actions to be added to the website.

    You can try to install a cleanup plugin that should help clear some orphaned database entries or ask your web host to increase the database size.
    https://wordpress.org/plugins/advanced-database-cleaner/

    Please take a complete backup of your website before proceeding.

    For the issue with the staging site, please follow this guide:
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/

    We look forward to helping 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 12 replies - 1 through 12 (of 12 total)

The ticket ‘Fatal Error’ is closed to new replies.