Error critic in one URL

  • Resolved Thibaut Fontaine
    Rank Math pro


    I have an error critic in one URL :

    When I desactivate rankmath, there is no more error.

    I have this error in my log :
    AH01071: Got error ‘PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘rewrite_search_slug_pagination’ not found or invalid function name in /var/www/vhosts/ on line 287PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price() on null in /var/www/vhosts/ trace:n#0 /var/www/vhosts/ wc_get_price_including_tax()n#1 /var/www/vhosts/ {closure}()n#2 /var/www/vhosts/ WP_Hook->apply_filters()n#3 /var/www/vhosts/ apply_filters_ref_array()n#4 /var/www/vhosts/ RankMathOpenGraphOpenGraph->do_filter()n#5 /var/www/vhosts/ RankMathOpenGr…’

    and this Error ***.***.**.** 404 GET /seo-math-rank/assets/admin/css/ HTTP/1.1

    and this Error ***.***.**.** 500 GET /garantie/ HTTP/1.1

    Can you help me please ?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Alberto
    Rank Math business


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

    Sorry for the issue you are facing.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), we would need you to determine if it is just Rank Math or if it is having a conflict with other plugin or theme.

    To determine that, please follow this troubleshooting guide:

    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.

    Hello Alberto,

    When I’m desactivating rankmath, I have no more issue about this problem.

    Rank Math business


    I think we might need to take a closer look at the settings. 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:

    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):

    We really look forward to helping you.


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

    Thank you.

    Please tell me on which page you are going to make changes to my site! After your visit these pages go into English! I don’t know why thanks in advance!

    Maybe I need to do something so that my pages are not translated into English?


    Any updates ?

    Thanks in advance


    The logins you provided do not give us permissions to disable plugins or run the troubleshooting mode.

    Did you follow the instructions my colleague gave you and keep only Rank Math enabled? If it works, you then need to re-enable each plugin one by one until you find the plugin causing this issue.

    Otherwise, please update the permission on the account you gave us so we can at least run the troubleshooting mode.


    It’s good you are admin now !

    Please be careful, when you make changes to my pages, the page is translated into english.

    Please tell me which pages you are acting on.


    Could you please check now?

    This code in your child theme’s functions.php file was causing this issue:

     * Allow developers to change the content of specific social meta tags.
     * The dynamic part of the hook name. $network, is the network slug
     * and $og_property, is the property which we are outputting.
     * @param string $content The content of the property.
    add_filter( "rank_math/opengraph/facebook/product_price_amount", function( $content ) {
        global $product;
        return wc_get_price_including_tax( $product );

    We have removed it for now and the error is gone.

    Please check from your end.

    Thanks a lot !

    Rank Math business


    We are super happy that this resolved your issue. 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 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 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this ticket.