Rank Math – Translatepress conflict

#56240
  • Resolved Luigi Renda
    Rank Math free

    Hi, after updating the plugin there are problems with updating single posts and single product posts. After I edit the post a blank page appears with this error:

    “There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.”

    Wordpress sent me this email:

    WordPress version 5.4.1
    Current theme: ecommerce by theme shop child (version 1.0)
    Current plugin: TranslatePress – Multilingual (version 1.7.4)
    PHP version 7.3.18

    Error Details
    =============
    An error of type E_ERROR was caused in line 1029 of the file /home/luigire/shoprenda.com/wp-content/plugins/translatepress-multilingual/includes/class-translation-manager.php. Error message: Uncaught ArgumentCountError: Too few arguments to function TRP_Translation_Manager::trp_sanitize_title(), 1 passed in /home/luigire/shoprenda.com/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /home/luigire/shoprenda.com/wp-content/plugins/translatepress-multilingual/includes/class-translation-manager.php:1029
    Stack trace:
    #0 /home/luigire/shoprenda.com/wp-includes/class-wp-hook.php(287): TRP_Translation_Manager->trp_sanitize_title(‘a873332718446’)
    #1 /home/luigire/shoprenda.com/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘a873332718446’, Array)
    #2 /home/luigire/shoprenda.com/wp-content/plugins/seo-by-rank-math/includes/class-cmb2.php(292): apply_filters(‘sanitize_title’, ‘a873332718446’)
    #3 /home/luigire/shoprenda.com/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(486): RankMath\CMB2::sanitize_permalink(‘a873332718446’, Array, Object(CMB2_Field))
    #4 /home/luigire/shoprenda.com/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.p

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sr
    Rank Math free

    Dear Rankmath team,

    I hope you feeling well!

    I have the same error on my systems, after upgrading to version 1.0.43. If I disable Rankmath, everything is fine again.

    Error Message:

    Wenn du Hilfe bei diesem Problem suchst, wirst du möglicherweise nach einigen der folgenden Informationen gefragt:
    WordPress-Version 5.4.1
    Aktuelles Theme: Enfold (Version 4.7.4)
    Aktuelles Plugin: TranslatePress – Multilingual (Version 1.7.4)
    PHP-Version 7.3.17-1+ubuntu18.04.1+deb.sury.org+1

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 1029 der Datei /opt/otobo-org/wp-content/plugins/translatepress-multilingual/includes/class-translation-manager.php verursacht. Fehlermeldung: Uncaught ArgumentCountError: Too few arguments to function TRP_Translation_Manager::trp_sanitize_title(), 1 passed in /opt/otobo-org/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /opt/otobo-org/wp-content/plugins/translatepress-multilingual/includes/class-translation-manager.php:1029
    Stack trace:
    #0 /opt/otobo-org/wp-includes/class-wp-hook.php(287): TRP_Translation_Manager->trp_sanitize_title(‘open-source-tic…’)
    #1 /opt/otobo-org/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘open-source-tic…’, Array)
    #2 /opt/otobo-org/wp-content/plugins/seo-by-rank-math/includes/class-cmb2.php(292): apply_filters(‘sanitize_title’, ‘open-source-tic…’)
    #3 /opt/otobo-org/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(486): RankMath\CMB2::sanitize_permalink(‘open-source-tic…’, Array, Object(CMB2_Field))
    #4 /opt/otobo-org/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(545): CMB2_Field->sanitization_cb(‘open-source-tic…’)
    #5 /opt/otob

    Hello,

    We released a quick Beta update to fix the issue.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates

    beta update

    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients
    remove transients rank math

    Please clear the caches, server, and WordPress after updating.

    If the issue is still not resolved, please let us know.

    We are here to assist. 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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Rank Math – Translatepress conflict’ is closed to new replies.