• We have had Simple Local Avatars installed for a long time. We were at 2.7.5. But a longtime user reported that he was not able to login to DerekandRomaine.com, then go to Chat, which transfers to our chat server running RocketChat. After clicking “Submit Consent” on the “Authorize 3rd Party Application” just before transferring to the chat server, he would see a pop-up error screen, instead of getting logged into RocketChat.

    The error screen is from your plugin:

    Warning: array_keys() expects parameter 1 to be array, null given to /home/customer/www/derekandromaine.com/public_html/wp-content/plugins/simple-local-avatars/includes/class-simple-local-avatars.php on line 348

    Warning: array_search() expects parameter 2 to be array, null given to /home/customer/www/derekandromaine.com/public_html/wp-content/plugins/simple-local-avatars/includes/class-simple-local-avatars.php on line 349

    When I disable the plugin, everything works. So I’m not sure if something was introduced in 2.7.5 that causes this conflict with something else?

Viewing 1 replies (of 1 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    @darrennye Thanks for the report! I’ve not been able to reproduce myself and in looking at the code, nothing has changed in regards to the lines you mention since v2.7.3.

    We could add some additional checking here that would suppress the PHP warnings that you’re seeing, so that’s something we can look to get out in the next release. That said, I’m curious if you have any other plugins that may be conflicting here? Would love to find the root cause of the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Error during authorization to RocketChat’ is closed to new replies.