I'm following this: How to securely upgrade from 1.6.x to

Trying to upgrade and old Magento install (1.6.2) to I got:

Fatal error: Uncaught Error: [] operator not supported for strings in D:\laragon31\www\mage19310\app\code\core\Mage\Usa\sql\usa_setup\upgrade-

Stack trace: 
#0 D:\laragon31\www\mage19310\app\code\core\Mage\Core\Model\Resource\Setup.php(624):

include() #1 D:\laragon31\www\mage19310\app\code\core\Mage\Core\Model\Resource\Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '', '') #2 D:\laragon31\www\mage19310\app\code\core\Mage\Core\Model\Resource\Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('', '') #3 D:\laragon31\www\mage19310\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates() #4 D:\laragon31\www\mage19310\app\code\core\Mage\Core\Model\App.php(428): Mage_Core_Model_Resource_Setup::applyAllUpdates() #5 D:\laragon31\www\mage19310\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Model_App->_initModules() #6 D:\laragon31\www\mage19310\app\Mage.php(683): Mage_Core_Model_App->ru in D:\laragon31\www\mage19310\app\code\core\Mage\Usa\sql\usa_setup\upgrade- on line 93

What is a correct upgrade path? Thanks.

2 Answers 2


The second answer on the page will work, although you may need to verify that any plugins or theme enhancements work with or grab the latest 1.9.4 which provides php 7.2 support.

Link to 2nd answer on that page > https://magento.stackexchange.com/a/164735/56995

Also, don't forget to uncompress first (if using compression), delete /var (cache and sessions), and verify file permissions.

  • 1
    Thank you did, it as that page indicated, same result. Finally found the culprit was php version. Now it's running fine.
    – fran35
    Dec 3, 2018 at 11:29

The culcript was php version. I was using 5.3 and now 5.6

During insteller there wasn't any error shown / displayed, found by trial and error. It's running fine now.

  • Please mark your answer accepted, if it solved your issue. Dec 3, 2018 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.