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

Warning: array_merge(): Argument #1 is not an array in /Model/User.php on line 181 #1499

Closed
kingschnulli opened this issue Jun 4, 2014 · 1 comment

Comments

@kingschnulli
Copy link

I'm getting this message since yesterday after logging in, I can't really tell why this shows up - but my hoster updated our PHP Version to 5.4.29 from an older 5.4.x version. Everything is working so far, I only get this warning. Does anybody else experience this with this PHP Version?

Warning: array_merge(): Argument #1 is not an array in /path/to/symfony/vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Model/User.php on line 181

@stof
Copy link
Member

stof commented Jun 4, 2014

update your Doctrine version to the latest, or revert back to PHP 5.4.28.

PHP 5.4.29 introduced a BC break in the way serialize represents serializable classes, which broke Doctrine. Using the dev version of Doctrine fixes it.

@stof stof closed this as completed Jun 4, 2014
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