Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: image link in a plugin folder – dev question


nit3watch
Participant

@nit3watch

@r-a-y miester last of the last thing :P

Im getting a error for groups that dont have the db field

Warning: in_array() expects parameter 2 to be array, string given in F:Programmesxampphtdocswordpresswp-contentpluginsbuddypress-group-credit-cardsbp-group-credit-cards.php on line 101

Would saying ‘else return something’ be the right path, and what should I return to avoid the error?

Edit, thinking about it, how would I say if ‘gcard_group_card’ doesn’t exist, don’t return anuthing?

Skip to toolbar