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: strtolower() expects parameter 1 to be string, array given #439

Open
r-martins opened this issue Jul 16, 2019 · 0 comments · May be fixed by #440
Open

Warning: strtolower() expects parameter 1 to be string, array given #439

r-martins opened this issue Jul 16, 2019 · 0 comments · May be fixed by #440

Comments

@r-martins
Copy link

Quando atualizando uma loja com o módulo bem antigo, temos o seguinte erro:

Error in file: ".../app/code/community/PedroTeixeira/Correios/sql/pedroteixeira_correios_setup/upgrade-4.8.0-4.8.1.php" - Warning: strtolower() expects parameter 1 to be string, array given in .../lib/Varien/Db/Adapter/Pdo/Mysql.php on line 2721

#0 .../app/code/core/Mage/Core/Model/Resource/Setup.php(644): Mage::exception('Mage_Core', 'Error in file: ...')
#1 .../app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '4.8.0', '4.9.0')
#2 .../app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('4.8.0', '4.9.0')
#3 .../app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 .../app/code/core/Mage/Core/Model/App.php(428): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 .../app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Model_App->_initModules()
#6 .../app/Mage.php(686): Mage_Core_Model_App->run(Array)
#7 .../index.php(83): Mage::run('', 'store')
#8 {main}

r-martins added a commit to r-martins/correios that referenced this issue Jul 16, 2019
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

Successfully merging a pull request may close this issue.

1 participant