Fatal error: Cannot use RankMath\Helper as Helper

#26622
  • Hello everybody,

    I am using the RankMath and it was flawless until today. Now, when I try to edit any page, I get this error:

    Fatal error: Cannot use RankMath\Helper as Helper because the name is already in use in /home/www/mydomain.cz/www/wp-content/plugins/seo-by-rank-math/includes/rest/class-post.php on line 19.

    When I deactivate the plugin, everything is back to normal.

    Thank you for your help! I really like your plugin

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

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

    Thank you.

    Hello,

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

    This error can be caused by conflicting plugins. Could you please perform the steps outlined on the following page to check if this is the case:

    Confirming a Theme/Plugin Conflict With Rank Math

    Looking forward to helping you. Thank you.

    Samuel
    Rank Math free

    I am also getting this error and performed the steps outlined in the link mentioned and I was unable to isolate a theme or plugin to the problem. Everything was fine and nothing changed other than the update to the Rank Math plugin.

    Is there a way to get the older version?

    Samuel
    Rank Math free

    I figured it out.

    Basically had to go to my host provider and have them upgrade my php to 7.3

    That worked for me.

    Thank you for your advice, but there is only one plugin activated – Polylang. And after the last update of Rank Math (well, not today’s update), Polylang cannot be deactivated.

    I have already try to switch PHP ver to 7.3., but without any result.

    Hello Lukáš,

    Thank you for follow up, That’s quite odd.

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

    Good morning,

    I am Facing the same issue + there is a problem with that toubleshooting plugin when i am trying to enable the plugin one by one. the trouble shooting mode is going off and i must start again from activating the mode then trying to enable the plugins.

    thanks

    Update – it seems that with a PHP 7.3 and current version it is OK. I need to check other user’s roles to check, if there isn’t problem there.

    Todd
    Rank Math free

    Hello,

    This issue is caused by PHP 5.6

    We recommend that you upgrade your PHP since PHP 5.6 is a 6-year-old technology that was released in 2014.

    In the meantime, we are also working on a way to make it work for older versions of PHP for users that cannot upgrade for one reason or the other.

    Thank you and we appreciate your patience.

    Indeed, there are no compatibility problems with the plugins I have installed and the error persists. But the PHP version of the server is 5.6.40-1 ~ dotdeb + 7.1.

    In my case, updating PHP is difficult (shared server), because it has to follow a long process (up to months) and it is also not certain that the request will proceed (hard to believe but true).

    I hope you can solve the problem.

    Hello,

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

    We are working on a way to make it work for older versions of PHP and will release an update of the same soon.

    We really appreciate your patience in this. 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 11 replies - 1 through 11 (of 11 total)

The ticket ‘Fatal error: Cannot use RankMath\Helper as Helper’ is closed to new replies.