http://www.512kbps.com
Warning: Cannot modify header information - headers already sent by (output started at /home/kbps/public_html/wp-includes/general-template.php:372) in /home/kbps/public_html/wp-includes/feed-rss2.php on line 8
Fatal error: Method Varien_Object::__tostring() cannot take arguments in /magento/lib/Varien/Object.php
Quick fix actually:
File: /lib/Varien/Object.php (Line 484)
Change from:
public function ___toString(array $arrAttributes = array(), $valueSeparator=’,’)
to:
public function __invoke(array $arrAttributes = array(), $valueSeparator=’,’)
AND
File /app/code/core/Mage/Core/Controller/Request/Http.php (Line 199)
Change from:
$host = split(’:’, $_SERVER['HTTP_HOST']);
to:
$host = explode(’:’, $_SERVER['HTTP_HOST']);
And there you go. Make sure you make both mods, otherwise it will not work.
Tags: Admin Side, magento not working, php 5.3, php error