Support Forum

Error on Subscription plugin (when unsubscribing from Forums)

CB Chris Buckley
Chris Buckley
Member

Hi,

When I am subscribed to a particular forum or two, but then I deselect any subscriptions in the “Forum Subscription” section, I get the following error:

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in C:Inetpubvhostsaihhp.orghttpdocswp-contentsp-resourcesforum-pluginssubscriptionslibrarysp-subscriptions-components.php on line 71

 

It seems to have worked ok and unsubscribed fine, but the error doesn’t look very nice.

Thanks,

Chris.

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Do you mean you see that on the screen? If so that is not good and means that your php error display is not set up in the preferred, prescribed or recommended way for a production site. Both ‘Notices’ and ‘Warnings’ should really be turned off on a live site.

I will add the warning to our list that we fix when we find them but I do recommend you get your host to reset your error display.

CB Chris Buckley
Chris Buckley
Member

Hi, yes the error is shown to the screen. It’s our own dedicated server so we can turn this off as we wish. 

 

Just thought you would like to know!

Chris.

YS Yellow Swordfish
Yellow Swordfish
Member

Oh yes thanks.
i have added it to the list. As I say we try and fix these up when we find them.