• pabloivme

    (@pabloivme)


    kount-fraud-prevention/kount.php:33

    You’re using session_start() to check if the session has started and this is incorrect. session_start() creates a session and returns whether the session was created or not. If headers had been sent it generates a very annoying warning.

    Please change to:
    if (session_status() !== PHP_SESSION_ACTIVE)

    Thanks

  • The topic ‘PHP Warning on wrong use of function’ is closed to new replies.