Support Forum
I have the admin bar installed and I get the following message at the top of the page since svn up to 7893:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /problem-with-post-edit-buttonome/barbelfi/public_html/abftest.co.uk/wp-content/plugins/simple-press/sp-api/sp-api-class-user.php on line 182
No problem for a normal member so must be related to the admin bar?
Help!
Conrad
Oops it gets worse in topic view I get
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in/problem-with-post-edit-buttonome/barbelfi/public_html/abftest.co.uk/wp-content/plugins/simple-press/sp-api/sp-api-class-user.php on line182
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in/problem-with-post-edit-buttonome/barbelfi/public_html/abftest.co.uk/wp-content/plugins/simple-press/sp-api/sp-api-class-user.php on line182
Seeing a common theme here, perhaps I'll have a look at line 182....
edit had a look and it just made my head hurt, I look forward to reading about the fix in the morning 🙂
and this is the latest update??? line 182 does not make any sense... or do you mean the latest from an svn up??
and if so,need Andy to chime in as its some new code he wrote today that I dont understand what its for... though you might change
if(array_key_exists($id, $ins)) {
to
if (!empty($ins) && array_key_exists($id, $ins)) {
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)