Switching domain error -

I moved a funktionel piwik installation to a new domain,
i moved moved the database and i changed the config file with the database, to the correct user and database.
But i get this error .
Catchable fatal error: Argument 1 passed to Piwik\Plugin\Manager::makePluginsToLoad()

What can i do to fix it.

I tried making another installation with the piwik 2.12 version i used before,
and then change the config file to get the old database data., but then it says that the database has been updated and the code has not…

So i removed that again, and tried installing the new version…
But now i have to change the always_populate_raw… to -1, before i can go further.

I inserted :
php_flag always_populate_raw_post_data -1
in the .htaccess file.,

But its just keeps giving me the always_populate_raw… error…
And an error about the length of a scrollTo script.

Anybody know how to just use the first installation which i had in the first place… ?