Rank Math Pro Plugin Error

#982993
  • Resolved Dean Ainsworth
    Rank Math free

    Hi – I’m having an issue with RM Pro on a client site at https://www.totalcareersolutions.com

    When the Pro version of the plugin is enabled, the General Settings page isn’t working, at the bottom the following error is produced. The error goes away when the PRO plugin is disabled.

    Fatal error: Uncaught Error: Object of class CMB2_Field could not be converted to string in /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php:249 Stack trace: #0 /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(872): CMB2_Base->peform_param_callback(‘render_row_cb’) #1 /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2.php(472): CMB2_Field->render_field() #2 /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2.php(268): CMB2->render_field(Array) #3 /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Hookup.php(795): CMB2->show_form(0, ‘options-page’) #4 /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php(283): CMB2_Hookup->show_form_for_type(‘options-page’) #5 /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/includes/a in /home/totalcar/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php on line 249

    Please could you advise on what the issue could be?

    Thank you

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

    We apologize for the issue you are facing with the Rank Math Pro plugin on your client’s site. The error you are encountering seems to be related to a conflict within the CMB2 library used by Rank Math, which is causing the General Settings page to malfunction when the Pro version is enabled.

    To troubleshoot this issue, we recommend the following steps:

    1. Backup Your Site: Before making any changes, ensure that you have a complete backup of your website and database.

    2. Check for Plugin Conflicts: Deactivate all other plugins except for Rank Math Pro and see if the issue persists. If the error goes away, reactivate the plugins one by one to identify which one is causing the conflict.

    3. Theme Conflict: Switch to a default WordPress theme (like Twenty Twenty-One) to check if the issue is related to your current theme.

    4. Update Plugins and Themes: Ensure that all your plugins and themes are up to date, including Rank Math Pro.

    5. Repair Action Scheduler: If you suspect issues with scheduled actions, you can use our Repair Action Scheduler plugin to fix potential problems automatically.

    6. Clear Cache: Clear any caching on your site, including server-side cache, to ensure that you are seeing the latest changes.

    If these steps do not resolve the issue, please reply to this ticket with any additional details or errors you encounter, and a human agent from our support team will assist you further.

    Thank you for bringing this to our attention, and we hope to resolve it quickly for you!

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    We have a fix ready for this that will be released in the upcoming plugin release.

    If you would like our team to apply the fix to your website right now, please share your WordPress and FTP credentials in the sensitive data section so we can make the necessary modifications to our file to correct the issue.

    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/

    Looking forward to helping you.

    Hello,

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

    Thank you.

    Hi – Thank you. I have provided FTP and WP Login details.

    FTP is limited to the wp-content/plugins folder but I’m sure this is enough access?

    Hello,

    Unfortunately, the login you’ve shared for the WordPress website is not working. Please update the login in the sensitive data section so that we can fix the issue on your website.

    However, you can also add the ob_start(); function on line 113 of the wp-content/plugins/seo-by-rank-math-pro/includes/modules/analytics/class-analytics.php file to fix the issue.

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

    Thank you.

    Hi – I added the function as advised and this is now resolved. Thank you for your help.

    Hello,

    We are glad to know that this issue has been resolved. Thank you for letting us know.

    This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.

    We appreciate your patience and cooperation throughout this process.

    Thank you for choosing Rank Math.

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

The ticket ‘Rank Math Pro Plugin Error’ is closed to new replies.