Fatal error upon plugin activation (v1.0.42.3)

#49775
  • Resolved Jack Sharkey
    Rank Math free

    Hey Rank Math Support Team! I recently submitted ticket https://support.rankmath.com/ticket/issue-with-the-activation-fatal-error-2/ and then failed to respond in time, so my fault for letting that fall off. Unfortunately I wasn’t able to resolve the issue by testing conflicts with other plugins or updating WordPress version. I was also hoping that the issue might resolve itself when the newest version came out (v1.0.42.3), but looks like it’s pretty much the same issue we were running into with version v1.0.42.2. Any ideas if there is anything else on our end that might be causing this issue upon activation? We’re migrating from Yoast to Rank Math, but based on research didn’t see that there was any “cleaning” of the DB that would be necessary or anything that would need to be removed that could cause this fatal error. Any help would definitely be incredibly appreciated, thanks!

    Error message upon activation:
    Warning: include_once(/srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory in /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/helper-functions.php on line 44 Warning: include_once(): Failed opening ‘/srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Hookup.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/helper-functions.php on line 44 Fatal error: Uncaught Error: Class ‘CMB2_Hookup’ not found in /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-content/plugins/seo-by-rank-math/includes/admin/class-registration.php:220 Stack trace: #0 /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-includes/class-wp-hook.php(286): RankMath\Admin\Registration->render_page(”) #1 /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-admin/admin.php(169): do_action(‘admin_init’) #4 {main} thrown in /srv/bindings/42c24416a5a3480ea0af99db8c5489a9/code/wp-content/plugins/seo-by-rank-math/includes/admin/class-registration.php on line 220
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    • This topic was modified 4 years, 10 months ago by Jack Sharkey.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Alberto
    Rank Math business

    Could you provide us some login data so we can check it in detail? Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    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.

    Hey Alberto, no problem! I just created a an admin login for Rank Math support team and shared details in the “Sensitive Data” field.

    Also, wanted to mention that we are hosting this WP site in a Pantheon environment, and the site I just shared is a login to a multidev environment of the live site. We have run into this issue consistently when trying to activate the plugin on live site and in any multidev environment, but have had success activating locally so also looking into whether or not it’s because of a case sensitivity issue with CMB2 PHP package and because Pantheon hosting environment enforces strict casing sensitivity.

    Hey Alberto and Rank Math Support Team! I was actually able to track this issue down and solve with the help of another dev on my team, Tanner Hodges. He found a GH issue, and more specifically the following comment in it relating to the problem:

    https://github.com/CMB2/CMB2/issues/1333#issuecomment-578244979

    Looks like you guys solved the issue on your end when you renamed the file to “CMB2_Hookup.php” (from “CMB2_hookup.php”), but unfortunately because our site is in a Pantheon environment (which has a Git-based workflow), the file renaming isn’t tracked. Additionally, there is strict case sensitivity in their server environment as well.

    Hope the above link helps so you guys can provide the above info to anyone else who creates a similar ticket in the near future/runs into the same problem, or even for writing up a quick how-to on solving the issue.

    Thanks again for being willing to look into it though!

    Alberto
    Rank Math business

    Hello,

    Thanks for the information, I am sure other users in the future will find it very useful.

    Then, is your problem solved? If yes, do you want I set this thread as solved? Remember you can always ask us any question, we will be here to support you.

    Looking forward to help you.

    Sure thing, will update to “Resolved” now! Thanks again for helping! And yeah – hopefully this will help anyone in the future who runs into same situation 👍

    Alberto
    Rank Math business

    Hello Jack,

    Again, we are super happy that you were able to resolve your issue. As I said before, if you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    No problem Alberto! Just left a review using my personal WordPress.org login now! https://wordpress.org/support/topic/great-plugin-and-support-team-14/#new-post

    Todd
    Rank Math free

    Hi Jack,

    Thank you so much.

    We really appreciate it.

    If you need help with anything else, please open a new support ticket here so we can help.

    We are always here for assistance.

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

The ticket ‘Fatal error upon plugin activation (v1.0.42.3)’ is closed to new replies.