• Resolved kendawes

    (@kendawes)


    Hi!
    My debug log is constantly getting filled with the following…

    PHP Deprecated: Non-static method OMAPI_ApiAuth::has_token() should not be called statically in /home/my-path/wp-content/plugins/optinmonster/OMAPI/RestApi.php on line 282

    I’m running PHP7.4

    Will you be addressing this deprecation soon?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support PC

    (@pranayachaudhary)

    Hi @kendawes

    Thanks for writing in and reporting this.

    Can you please ensure that you are running the latest version of the OptinMonster plugin?

    If yes, can you kindly send an email to support@optinmonster.com from your registered email address so that we can look into that and get that sorted out?

    Please include a link to this thread in your email so that we can get to that faster 😊

    Looking forward to hearing from you by email 😊

    I’m getting the same issue. Both on PHP 8.0 and 7.4. I found it because upon hitting “New Post,” I was getting a fatal error. When I turned debugging on, I saw the same token message.

    Disabling the Optinmonster plugin removed the fatal error.

    I am on the latest version of the plugin (Version 2.6.5), which was just released a couple of days ago. I suspect this new version introduced this issue.

    Plugin Support PC

    (@pranayachaudhary)

    Hi @grindbehind

    Thanks for chiming in and adding to this. It will help us get to the root of it.

    As we handle support via our ticketing system for a faster response, could you kindly write to support@optinmonster.com directly or use the support tab in your OptinMonster Dashboard.

    Once we hear from you, someone will reach out and assist.

    ​Looking forward to hearing from you.

    ​Have an awesome day ahead.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated PHP error’ is closed to new replies.