Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Error when after installation #4

@lqy79126

Description

@lqy79126

Hi there,
My Magento version is 1.9.4.3, After installation, Error showed as bellow, how to fix it?:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Mage_Core_Model_Resource_Setup::__construct(), 0 passed in /www/wwwroot/eleprotech.com/app/code/community/Amazon/MCF/sql/amazonmcf_product_setup/mysql4-upgrade-0.1.0-0.2.0.php on line 21 and exactly 1 expected in /www/wwwroot/eleprotech.com/app/code/core/Mage/Core/Model/Resource/Setup.php:127 Stack trace: #0 /www/wwwroot/eleprotech.com/app/code/community/Amazon/MCF/sql/amazonmcf_product_setup/mysql4-upgrade-0.1.0-0.2.0.php(21): Mage_Core_Model_Resource_Setup->__construct() #1 /www/wwwroot/eleprotech.com/app/code/core/Mage/Core/Model/Resource/Setup.php(624): include('/www/wwwroot/el...') #2 /www/wwwroot/eleprotech.com/app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.1.0', '0.4.0') #3 /www/wwwroot/eleprotech.com/app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('0.1.0', '0.4.0') #4 /www/wwwroot/eleprotech.com/app/code/core/Mage/C in /www/wwwroot/eleprotech.com/app/code/core/Mage/Core/Model/Resource/Setup.php on line 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions