UPGRADE Notice: Array to string conversion in ..Abstract.php


Im trying to upgrade shopware from version 4.X to latest 5.

As a first step, I have updated PHP to version 5.5.9, but just after upgrade, im not able to access /backend due to following error:

Notice : Array to string conversion in …engine/Library/Zend/Db/Adapter/Pdo/Abstract.php on line 75

I tried to google solution, but seems there was nobody having this issue before :frowning:

Not sure if this is related to database connection, just in case my config file is:

<?php return array (
  'db' =\>   array (     'username' =\> 'root',     'password' =\> 'complicated',     'host' =\> 'localhost',     'port' =\> '3306',     'dbname' =\> 'shopware',     'front' =\> array('showException' =\> true)   ), );    

Do you really have a "
" in your config.php? If so, please remove it.

Timme Hosting - schnelles nginx-Hosting


he meant the

(strange forum code injection) - remove it if it really is in your config. It has nothing to do there.

I have already managed this, there were several issues, one was php config format, another was on php settings and other related to previously used theme.