kylephillips / favorites

Simple and flexible favorite buttons for any WordPress post type.
https://favoriteposts.com
223 stars 86 forks source link

Not compatible with PHP8.1 #161

Open martinjankov opened 2 years ago

martinjankov commented 2 years ago

Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /plugins/favorites/app/Helpers.php:49

ajtatum commented 1 year ago

I recently found this repo and it looks like it does exactly what I'm looking for, but haven't seen a lot of responses to issues from @kylephillips. I'll test out this bug as I plan on using this in a PHP 8.1 environment.

@kylephillips - hope it's alright that I help out. Granted, I'm more proficient in .NET/C#, but know PHP pretty well and learning how to build WordPress plugins so I can stop buying plugins LOL. I also see a lot of pull requests, so if you need help in general in terms of managing this repo/project, please lmk and I'd be happy to help out where I can.