Programare & stuff > Magento

Uncaught Error: Function name must be a string in /var/web/mage/app/code/core/Ma

(1/1)

Admin:
In caz ca incercati sa instalati magento si apare eroarea:
Uncaught Error: Function name must be a string in /var/web/mage/app/code/core/Mage/Core/Model/Layout.php:555\n

mergeti in home-ul mage si de acolo:
app\code\core\Mage\Core\Model\Layout.php:555 ...

Iar in layout.php
in loc de
$out .= $this->getBlock($callback[0])->$callback[1]();
puneti:
$out .= $this->getBlock($callback[0])->{$callback[1]}();

&& done!

Navigare

[0] Indexul de Mesaje

Du-te la versiunea completă