An error of type E_ERROR was caused in line 77

#67591
  • Resolved Mark
    Rank Math free

    When the plugin is activated and you try to edit a post the site hits a critical error. Only way to edit the post is disable the plugin. Error message rec’d below:

    WordPress version 5.4.2
    Current theme: Child (version 1.0.0)
    Current plugin: Schema Markup Rich Snippets (version 1.0.3)
    PHP version 7.4.7

    Error Details
    =============
    An error of type E_ERROR was caused in line 77 of the file /home/REDACTED/public_html/wp-content/plugins/schema-markup-rich-snippets/includes/admin/metabox/class-metabox.php. Error message: Uncaught Error: Class ‘CMB2_Hookup’ not found in /home/REDACTED/public_html/wp-content/plugins/schema-markup-rich-snippets/includes/admin/metabox/class-metabox.php:77
    Stack trace:
    #0 /home/REDACTED/public_html/wp-includes/class-wp-hook.php(287): RANKMATH_SCHEMA\Admin\Metabox\Metabox->enqueue(‘post.php’)
    #1 /home/REDACTED/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home/REDACTED/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/REDACTED/public_html/wp-admin/admin-header.php(104): do_action(‘admin_enqueue_s…’, ‘post.php’)
    #4 /home/REDACTED/public_html/wp-admin/edit-form-advanced.php(419): require_once(‘/home/REDACTED…’)
    #5 /home/REDACTED/public_html/wp-admin/post.php(206): require(‘/home/REDACTED…’)
    #6 {main}
    thrown

    Please help.

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

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

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Please let us know if you find the culprit.

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Mark
    Rank Math free

    Hi,
    There is a conflict with the current popular theme DIVI.
    I’m using the latest version – DiviVersion: 4.4.9

    Can you please look into this.

    Many thanks.
    Mark

    Hi Mark,

    Please note that we have discontinued the Schema Markup Rich Snippets plugin that seems to be having this issue.

    The Schema option is now available as part of the Rank Math SEO Suite:
    https://rankmath.com/wordpress/plugin/seo-suite/

    Please use that instead of the standalone Schema plugin since the latter is no longer supported.

    Thank you.

    Mark
    Rank Math free

    As we are already using YoastSEO can you confirm the full suite will not adversely affect both the functionality of Yoast and also speed of the website.

    Also what is the suggested way to remove the standalone schema plugin and install the full suite without losing any data.

    Hello,

    Unfortunately if you are using Yoast, some functionality might conflict with Rank math.

    But if you consider the option, you can install Rank math suite, disable modules that you already have set up in Yoast from Rank math dashboard. You can then use our import/export option in the dashboard to import your schema data.

    Looking forward to helping you. Thank 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘An error of type E_ERROR was caused in line 77’ is closed to new replies.