Showing deprecated Error on activating the Plgin

#95350
  • Resolved UXUI Guide
    Rank Math free

    Showing error when I activate the plugin

    Deprecated: WP_User->id was called with an argument that is deprecated since version


    Plugin is already installed.
    activate it and
    open this in new incognito window and check the error.

    Tried lot to rectify this.
    Please help.
    Thank you

    • This topic was modified 3 years, 11 months ago by UXUI Guide.
Viewing 10 replies - 1 through 10 (of 10 total)
  • waiting for reply..

    Hello,

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

    Can you please update the plugin to the latest version and check again?

    That may fix the issue for you.

    Thank you.
    ​​​​​​​

    After 2 days, you gave me this reply.

    I shared my login details also. In previous ticket your team asked me share login details. I shared the same.

    This is updated plugin..
    You replied without checking anything.

    Pls check once.. activate the plugin and see the issue.
    Thank you

    Hello,

    You are definitely not running the latest version. Please check this screenshot:

    Please update to the latest version and then check.

    As u said , I updated the plugin.. As soon as I activate , shows error

    Deprecated: WP_User->id was called with an argument that is deprecated since version 2.1.0! Use WP_User->ID instead. in /hermes/bosnacweb02/bosnacweb02aa/b57/ipg.**/databasename/wp-includes/functions.php on line 5057

    Deprecated: WP_User->id was called with an argument that is deprecated since version 2.1.0! Use WP_User->ID instead. in /hermes/bosnacweb02/bosnacweb02aa/b57/ipg.**/databsename/wp-includes/functions.php on line 5057

    What to do now..

    Hello,

    We are not seeing that and we see that you already updated to the latest version:
    https://i.rankmath.com/hGiS7L

    With that said, it seems like WP Debug mode is enabled via the wp-config.php file. Which is why you are seeing issues related to Elementor even when Rank Math is disabled.

    Please turn off the debug mode and then check.

    Yes.. error is not visible now.

    one question.. is this the real solution or we just had display the error visibility off.

    Hello,

    The issue you are seeing is not an actual error, it is just a notification to alert the developer that the function used is not recommended and there most likely a better/updated way of doing the same. It is nothing to be worried about from our end.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Yes , Thank you.

    Hello,

    If you need help with anything else, please open a new support ticket here so we can help:

    https://support.rankmath.com

    We are always here for assistance.

Viewing 10 replies - 1 through 10 (of 10 total)

The ticket ‘Showing deprecated Error on activating the Plgin’ is closed to new replies.