I upgraded to the latest SVN today... and I have this error in my logs:
[Sat Feb 13 11:39:47 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning: array_search() [
function.array-search]: Wrong datatype for second argument in /var/www/roundcube/plugins/markasjunk2/markasjunk2.php on line 35, referer: https://mail.mydomain.com/?_task=mail
I also tried upgrading to the latest markasjunk2 plugin in git as well.
It seems to be referencing this array:
if ($flag = array_search($rcmail->config->get('markasjunk2_ham_flag'), $GLOBALS['IMAP_FLAGS']))
But, I can't seem to make heads or tails of that... I haven't actually tested whether the plug in still works or not (haven't had to, yet). Any help would be appreciated...
Thanks
This was caused by recent changes in the SVN, a fix will be made once bugs in those recent changes are resolved. If you want to try the plugin try using it with r3257 of the RC trunk, this was before changes.
this error should be fixed in the repo version now.
And that it is... tested against your git. No more errors...
Thanks for the work, I definitely appreciate your plugins...
RC - Revision: 3359
Again the same error?
PHP Warning: array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument in xxxxxx/roundcube/plugins/markasjunk2/markasjunk2.php on line 35
Edit: sorry, markasjunk2 was not last version. update from repo and ok!