I am using Magneto and when i try to edit customer returns this massage:

Fatal error: Declaration of Mage_Customer_Model_Customer_Attribute_Source_Website::getAllOptions() must be compatible with Mage_Eav_Model_Entity_Attribute_Source_Table::getAllOptions($withEmpty = true, $defaultValues = false) in /home/reprosty/public_html/app/code/core/Mage/Customer/Model/Customer/Attribute/Source/Website.php on line 34

any suggestions?

1 Answer 1


It seems like you are running on PHP 7.x where method signature compatibility is strictly enforced. The only current version of Magento 1.x that supports PHP 7.x is or patched previous versions.

If you're running a previous version and don't want to upgrade to for some reason then the Magento 1 PHP 7.2 patches are available here

Please refer to this also: https://inchoo.net/magento/magento-1-official-php-7-2-patches/

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.