• Resolved paulchoix

    (@paulchoix)


    In class-mooauth-widget.php there is a call to setcookie() on line 304. Since this morning (we only use our WordPress instance on weekdays), this line caused a fatal error.

    By modifiying the code, I was able to resolve the issue. I replaced this line:

    set_cookie('mo_oauth_sso_' . $appname . '_state', ...)

    With this:

    set_cookie('mo_oauth_sso_' . sanitize_key($appname) . '_state', ...)

    I am not sure why this works (ChatGPT suggests it is an issue with the way PHP 8 handles cookies).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author teamwpminiorange

    (@teamwpminiorange)

    Hello,

    Apologies for the inconvenience caused.
    The issue occurred due to cookie names containing spaces, which affected applications with such names.

    We have released a fix in version 6.26.14. I request you to please update to the latest version, and this should resolve the issue.

    Thank you
    Team miniOrange

    Plugin Author teamwpminiorange

    (@teamwpminiorange)

    Hello @paulchoix,

    We have not heard back from you in a while and assuming that my previous response answered your questions and hence marking this thread as resolved.

    You can contact us anytime again if need help by posting again on this forum.

    Thank you
    Team miniOrange

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

You must be logged in to reply to this topic.