PHP Depreciated Error

#665913
  • Resolved Build Review
    Rank Math free

    Hi, My error logfile is being bloated with these three errors repeated over and over. I need to keep my log file while developing. Is there a fix for this or can we turn off Rank Math depreciated errors please?

    [05-Nov-2023 22:46:06 UTC] PHP Deprecated: Calling static trait method RankMath\Helpers\Conditional::is_heartbeat is deprecated, it should only be called on a class using the trait in /home/customer/www/buildreview.org/public_html/wp-content/plugins/seo-by-rank-math/includes/module/class-manager.php on line 45
    [05-Nov-2023 22:46:06 UTC] PHP Deprecated: Calling static trait method RankMath\Helpers\Param::post is deprecated, it should only be called on a class using the trait in /home/customer/www/buildreview.org/public_html/wp-content/plugins/seo-by-rank-math/includes/helpers/class-conditional.php on line 367
    [05-Nov-2023 22:46:06 UTC] PHP Deprecated: Calling static trait method RankMath\Helpers\Param::request is deprecated, it should only be called on a class using the trait in /home/customer/www/buildreview.org/public_html/wp-content/plugins/seo-by-rank-math/rank-math.php on line 329

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, I apologize for the issue you are facing with the PHP Deprecated error. This error message indicates that some methods in the Rank Math plugin are using deprecated code.

    To resolve this issue, you can try updating the Rank Math plugin to the latest version. Developers often release updates to fix such deprecated code issues and improve compatibility with the latest versions of PHP.

    If updating the plugin doesn’t resolve the issue, I recommend reaching out to the Rank Math support team by replying to your existing ticket. They will be able to provide you with further assistance and help you resolve the PHP Deprecated error.

    Please let me know if there’s anything else I can help you with.

    Sources:
    How to Make Your Theme Rank Math Compatible » Rank Math
    The #1 WordPress SEO Plugin in 2023 – Rank Math
    Sorry, You Are Not Allowed to Access This Page » Rank Math

    Rank Math is at the latest version. We believe this issue to be a genuine bug. Any help to resolve will be appreciated.

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue. This issue has already been fixed in the latest beta version of the plugin.

    Can you please update the Rank Math Free to the beta version of v1.0.206 and check if that fixes the issue for you?

    https://rankmath.com/kb/version-control/#beta-updates

    The stable version will be out asap.

    If you are unable to activate the Beta update you can manually install the Beta version of our plugins via FTP or a file manager in your web hosting control panel by following these steps:

    – Download the latest beta version of Rank Math from https://i.rankmath.com/f/yeWrwj
    – Access your site’s root directory using FTP or a file manager.
    – Navigate to the /wp-content/plugins/ directory.
    – Locate the seo-by-rank-math folder, which is the Rank Math plugin directory.
    – Delete or rename the existing folder for the current version.
    – Upload the beta version you downloaded to the /wp-content/plugins/ directory.
    – After uploading, extract the content of the Zip file and then visit your WordPress dashboard. This should activate the beta version.

    Let us know how this goes. Please let us know if you have further questions or concerns.

    Thank you.

    Hello again,

    As a follow-up, we’ve released the stable version of the Rank Math plugin where the Deprecated warnings issue has been fixed. https://rankmath.com/changelog/free/

    So, you can now try to update to the latest version of the Rank Math plugin and see if that works for you.

    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: https://rankmath.com/kb/rank-math-status-and-tools/#rank-math-transients

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

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘PHP Depreciated Error’ is closed to new replies.