Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning: array_intersect_key(): Argument #1 is not an array #11

Closed
rmcaninch opened this issue Nov 16, 2016 · 4 comments
Closed

PHP Warning: array_intersect_key(): Argument #1 is not an array #11

rmcaninch opened this issue Nov 16, 2016 · 4 comments

Comments

@rmcaninch
Copy link

rmcaninch commented Nov 16, 2016

Seeing this warning in the Roundcube error log.

PHP Warning: array_intersect_key(): Argument #1 is not an array in /usr/share/roundcube/program/steps/addressbook/save.inc on line 178

Seems to be when the contact is edited and moved to the default address book.

@sblaisot
Copy link
Owner

Hi,
What version of roundcube are you using ?
What version of automatic_addressbook plugin are you using ?

regards,

sb

@sblaisot
Copy link
Owner

You probably get this message when updating an existing contact in you default addressbook or something like that.
To help me investigate further, can you decribe step by step what you do to reproduce this bug / to get this message in the log.

thanks,

sb

@rmcaninch
Copy link
Author

rmcaninch commented Nov 16, 2016

Using Roundcube 1.1.5

I edited an entry in the Collected Addresses, the entry did move to my default address book. Just wanted to check on that warning.

Edited to add, I don't see this warning when adding a new entry directly to the default SQL address book.

@sblaisot
Copy link
Owner

Thank for your feedback.

It's probably a bug in roundcube itself. If I understand correctly, it doen't handle very well the move of the contact entry from the collected_addressbook to the default addressbook while editing when refreshing the contact list at the end of the process.

This is probably a regression in a recent version of roundcube.

This message is mostly harmless. I opened a bug on roundcube directly for that.

Closing this one now.

sb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants