Critical error CMB2_Base.php, line 249

#985723
  • Resolved Alessandro Stella
    Rank Math free

    Hello,
    I hope you are fine!

    There may be a problem between Complianz and RankMath.
    I inherited a WordPress project that I didn’t create.
    This project uses RankMath 1.0.239 and I have just installed and configured Complianz Premium 7.4.2..
    Everything worked fine before installing Complianz. After installing and configuring Complianz, the website seems to be working fine, but I received the following message in my admin email address:

    
    Un errore di E_ERROR è stato causato nella linea 249 del file /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php. Messaggio di errore: Uncaught Error: Object of class CMB2_Field could not be converted to string in /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php:249
    Stack trace:
    #0 /home2/frdigiun/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 /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2.php(472): CMB2_Field->render_field()
    #2 /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2.php(268): CMB2->render_field(Array)
    #3 /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Hookup.php(795): CMB2->show_form(0, 'options-page')
    #4 /home2/frdigiun/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 /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-options.php(303): CMB2_Options_Hookup->options_page_metabox()
    #6 /home2/frdigiun/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php(194): RankMath\Admin\Options->display(Object(CMB2_Options_Hookup))
    #7 /home2/frdigiun/public_html/wp-includes/class-wp-hook.php(324): CMB2_Options_Hookup->options_page_output('')
    #8 /home2/frdigiun/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #9 /home2/frdigiun/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /home2/frdigiun/public_html/wp-admin/admin.php(259): do_action('rank-math_page_...')
    #11 {main}
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the critical error you are experiencing with the CMB2_Base.php file after installing Complianz Premium. This issue seems to be related to a conflict between the Complianz plugin and Rank Math, particularly in how they handle certain parameters.

    To troubleshoot this issue, we recommend the following steps:

    1. Deactivate Complianz: Temporarily deactivate the Complianz plugin to see if the error persists. This will help confirm if Complianz is indeed causing the conflict.

    2. Check for Updates: Ensure that both Rank Math and Complianz are updated to their latest versions. Sometimes, plugin updates include fixes for compatibility issues.

    3. Debugging: If you are comfortable with debugging, you can enable WordPress debugging to get more detailed error messages. You can do this by adding the following lines to your wp-config.php file:

      define( 'WP_DEBUG', true );
      define( 'WP_DEBUG_LOG', true );
      define( 'WP_DEBUG_DISPLAY', false );

      After enabling debugging, check the wp-content/debug.log file for more information about the error.

    4. Conflict Testing: If the issue persists, deactivate all other plugins except for Rank Math and Complianz to see if there is a conflict with another plugin.

    5. Reach Out for Support: If none of the above steps resolve the issue, please reply to this ticket with your site URL and any additional details. A human agent from our support team will take over and assist you further.

    Thank you for bringing this concern to our attention. We hope to resolve it quickly for you!

    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.

    However, it looks like you’re currently using the Rank Math PRO plugin on your websites, but the account you have used to open this ticket is the Rank Math free version.

    Please search and forward a receipt from FastSpring.com so we can locate your account and verify it.

    Looking 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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Critical error CMB2_Base.php, line 249’ is closed to new replies.