Incompatibility between Rankmath and WPML

#25864
  • Resolved Leonardo Vitali
    Rank Math free

    I’ve found an incompatibility between WPML and Rankmath in the latest WP version (5.3) with both plugins latest versions over PHP 7.1 (not tested over other PHP versions or other WPML/ Rankmath/WP versions)

    When both plugins are active at the same time an error appears in the apache2 log:
    PHP Warning: ftp_nlist() expects parameter 1 to be resource, null given
    PHP Warning: ftp_pwd() expects parameter 1 to be resource, null given

    How this affect?
    When I go to Rankmath->General Settings-> Edit .htaccess if WPML Multilingual CMS plugin is activated an error appears:

    .htaccess file not found.

    But if I disable WPML then that error goes away. Same happens with the Apache error log. As soon as I disable WPML the PHP Warnings go away. For some reason there seems to be an incompatibility with the WP_Filesystem class and the methods of this class (get_contents returns null), @ file /seo-by-rank-math/includes/admin/class-admin-helper-php

    EXTRA:
    Also happens exactly the same if I activate Accelerated Mobile Pages plugin (AMP for WP).
    Maybe this could be more helpful than WPML, because it’s a free plugin for testing purposes.

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

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

    I have raised this problem with our dev team and we will be investigating further and then get back to you.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Ok, thanks for checking it.

    Hello,

    I couldn’t reproduce this issue on my setup. Can you [lease 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/

    Looking forward to helping you. 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Incompatibility between Rankmath and WPML’ is closed to new replies.