Error when setting up Rank Math

#580916
  • Resolved Anonymous
    Rank Math free

    Hello,
    I have a relatively fresh wordpress installation and have installed Rank Math as one of the first plugsins.

    Immediately after activating the plugin I got a white screen. This could be corrected by reloading the website.
    However, is received serious errors (without eMail on the part of WordPress) during the setup of Rank Math.

    The debug mode gave the following message:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “disable_embeds_rewrites” not found or invalid function name in /var/www/vhosts/an…itz.de/wp-includes/class-wp-hook.php:308 Stack trace: #0 /var/www/vhosts/an…itz.de/wp-includes/plugin.php(205): WP_Hook->apply_filters() #1 /var/www/vhosts/an…itz.de/wp-includes/class-wp-rewrite.php(1468): apply_filters() #2 /var/www/vhosts/an…itz.de/wp-includes/class-wp-rewrite.php(1489): WP_Rewrite->rewrite_rules() #3 /var/www/vhosts/an…itz.de/wp-includes/class-wp-rewrite.php(1860): WP_Rewrite->wp_rewrite_rules() #4 /var/www/vhosts/an…itz.de/wp-includes/class-wp-hook.php(308): WP_Rewrite->flush_rules() #5 /var/www/vhosts/an…itz.de/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/vhosts/an…itz.de/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/vhosts/an…itz.de/wp-settings.php(645): do_action() #8 /var/www/vhosts/an…itz.de/wp-config.php(181): require_once(‘…’) #9 /var/www/vhosts/an…itz.de/wp-load.php(50): require_once(‘…’) #10 /var/www/vhosts/an…itz.de/wp-admin/admin.php(34): require_once(‘…’) #11 {main} thrown in /var/www/vhosts/an…itz.de/wp-includes/class-wp-hook.php on line 308
    Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.

    Unfortunately, I am still a beginner in WordPress and cannot interpret the error.

    There were no error messages before activating Rank Math.

    I thank you in advance for the support.

    Best regards
    Lutz

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

    Thank you for your query and we are so sorry about the trouble this must have caused.

    If you have already gone through the preliminary troubleshooting as shown here:
    https://rankmath.com/blog/fix-wordpress-critical-error/

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    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/

    We really look forward to helping you.

    Anonymous
    Rank Math free

    Hello,
    in the meantime I have checked all settings / entries in htaccess, config and function.php and found the error using the exclusion method.

    It was not at Rank Math !

    I had in a snippet of the function.php a function call too much and this has triggered the error.

    So the request can be closed.

    Hello,

    Glad that everything has been sorted out. 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.

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

The ticket ‘Error when setting up Rank Math’ is closed to new replies.