Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Parse error: syntax error, unexpected end of file #10

Description

@nhannqgh
magento > $product = Mage::getModel('catalog/product')->load(2);
magento > $name = $product->getName() . '-TEST';
magento > $price = $product->getPrice();
magento > $product->setPrice($price + 15);
magento > $product->setName($name);

_and when I enter the comment below:_
magento > $product->save()

=> Parse error: syntax error, unexpected end of file in /var/www/test.com/html/shell/imc.php(97) : eval()'d code on line 1

I'm using Magento 1.9.2.4 with PHP7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions