When installing the Magento 1.3.2.4, you have got this error
Fatal error: Method Varien_Object::__tostring() cannot take arguments in D:\PamySoft\Study\Magento\Magento132\lib\Varien\Object.php on line 488
Solution to fix: 2 steps
Step 1) At the file: <magento>/lib/Varien/Object.php (Line 484)
Change from:
to:
Step 2) At the File <magento>/app/code/core/Mage/Core/Controller/Request/Http.php (Line 274)
Change from:
to:
Checked at: Magento 1.3.2.4
Fatal error: Method Varien_Object::__tostring() cannot take arguments in D:\PamySoft\Study\Magento\Magento132\lib\Varien\Object.php on line 488
Solution to fix: 2 steps
Step 1) At the file: <magento>/lib/Varien/Object.php (Line 484)
Change from:
public function __toString(array $arrAttributes = array(), $valueSeparator=',') |
public function __invoke(array $arrAttributes = array(), $valueSeparator=',') |
Change from:
$host = split(':', $_SERVER['HTTP_HOST']); |
$host = explode(':', $_SERVER['HTTP_HOST']); |
After, the process being followed next error arose:
ReplyDeleteFatal error: Call to a member function getFrontNameByRoute() on a non-object in C:\wamp\www\magento1.3\app\code\core\Mage\Core\Controller\Varien\Front.php on line 180
Provide me suggestions..