Error critic in one URL

#71942
  • Resolved Thibaut Fontaine
    Rank Math pro

    Hi,

    I have an error critic in one URL : https://lerepaireduchef.fr/garantie/

    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/lerepaireduchef.fr/httpdocs/wp-includes/class-wp-hook.php on line 287PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price() on null in /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-content/plugins/woocommerce/includes/wc-product-functions.php:962nStack trace:n#0 /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-content/themes/themify-ultra-child/functions.php(327): wc_get_price_including_tax()n#1 /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-includes/class-wp-hook.php(287): {closure}()n#2 /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-includes/plugin.php(249): WP_Hook->apply_filters()n#3 /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(103): apply_filters_ref_array()n#4 /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-opengraph.php(173): RankMathOpenGraphOpenGraph->do_filter()n#5 /var/www/vhosts/lerepaireduchef.fr/httpdocs/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-facebook.php(338): RankMathOpenGr…’

    and this Error ***.***.**.** 404 GET /seo-math-rank/assets/admin/css/cmb2.css.map 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

    Hello,

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

    Hello Alberto,

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

    Alberto
    Rank Math business

    Hello,

    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:

    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.

    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?

    Hello,

    Any updates ?

    Thanks in advance

    Hello,

    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.

    Hello,

    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.

    Hi,

    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 !

    Alberto
    Rank Math business

    Hello,

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

You must be logged in to reply to this ticket.