WP plugin: Code Snippets causing database error in Rank Math

#880656
  • Resolved seniorcurator00
    Rank Math free

    [ref: Ticket ##880635 for similar issue]

    Hello.

    I just installed a plugin I’ve used on other websites called, “Code Snippets”.

    I was following the suggestion from Rank Math support 091224 Email for a different issue (robots.txt file is not writable.) that referred to this page: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    As soon as I activated the “Code Snippets” plugin, an error message appeared via the plugin, “Query Monitor”. A screenshot is attached below.

    The error went away once I deactivated it (immediately). I haven’t uninstalled (removed) it.

    I want to be able to use “Code Snippets” as it makes website development easier from a workflow perspective.

    Please advise.

    Thank you.

    Sherry

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

    We apologize for the issue you are facing with the Code Snippets plugin causing a database error in Rank Math. It seems that the error you encountered may be related to a conflict between the Code Snippets plugin and Rank Math, particularly if it is executing queries that interfere with the database operations.

    To resolve this issue, you can try the following steps:

    1. Check for Conflicts: Since you mentioned that the error disappeared when you deactivated the Code Snippets plugin, it might be worth checking if any specific snippet you added is causing the conflict. You can do this by activating the Code Snippets plugin again and selectively enabling snippets one at a time to identify the problematic one.

    2. Use the Repair Action Scheduler Plugin: If your issue is related to the Action Scheduler, you can use our Repair Action Scheduler plugin to fix any issues automatically. This might help if the database tables are not set up correctly.

    3. Clear Cache: After making changes, ensure to clear all caches, including server-side caches, to see if that resolves any lingering issues.

    4. Advanced Users: If you’re comfortable with coding, you can also try adding a custom snippet to delete any problematic options related to Action Scheduler as mentioned in our documentation. Here’s how:

      • Go to the Snippets menu in your WordPress admin.
      • Click on Add New and use the following code:
        add_action( 'init', function() { delete_option( 'schema-ActionScheduler_StoreSchema' ); } );
      • Save and activate this snippet, then deactivate it after it runs.
    5. Contact Support: If the problem persists, please reply to this ticket, and a human agent from our support team will assist you further.

    Thank you for bringing this concern to our attention. We hope these steps help you resolve the issue so you can continue using the Code Snippets plugin without problems!

    Hello again.

    I realized after I sent this ticket that it was posted on a forum. It contains quite a bit of sensitive information, from the message text to the image. I thought that this ticket system was similar to the ones that I’m used to whereby the info was viewable only internally at the company.

    I don’t want this information to be available to anyone outside of Rank Math.

    Please advise.

    Thank you.

    Hello,

    Thank you for contacting support.

    This particular error you shared is about a missing database table from the Code Snippets plugin so it’s not related to our plugin. You would need to get in touch with their support to request further assistance on this matter.

    We are going to close this ticket and remove the image with the sensitive information from the ticket.

    Don’t hesitate to get in touch if you have any other questions about our plugin.

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

The ticket ‘WP plugin: Code Snippets causing database error in Rank Math’ is closed to new replies.