I recently added Simple Facebook Connect to my site, and got it configured to work with Facebook easily. However, when I view any post, new or old, where the Facebook Connect button should be (under Facebook Publisher), I get the following:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /domainname/wp-content/plugins/simple-tags/inc/client.php on line 1310 Warning: shuffle() expects parameter 1 to be array, null given in /domainname/wp-content/plugins/simple-tags/inc/client.php on line 1311 Warning: Invalid argument supplied for foreach() in /domainname/wp-content/plugins/simple-tags/inc/client.php on line 1312
Thankfully, the error shows exactly what is causing the issue... the Simple Tags plugin.
Once I disable ST, SFC works perfectly! I reconfirmed that ST was causing the errors by disabling all other plugins except ST and SFC in WordPress. Oddly, it seems Simple Tags works fine even with the errors appearing?
I've been using Simple Tags for well over a year with no problems. I checked for PHP errors with only ST activated, and SFC deactivated, then again with all my other plugins enabled except SFC, and found nothing.
I need to continue using Simple Tags, and really want to be able to use SFC at the same, but I have no idea how to fix something like this.
Anyone have any suggestions? And if more information is needed, let me know and I'll post asap.