Parse error: syntax error, unexpected T_OBJECT_OPERATOR #621

Closed
myst67 opened this Issue Jul 24, 2014 · 3 comments

Comments

Projects
None yet
3 participants

myst67 commented Jul 24, 2014

Hi
getting this error while installing magento2 in localhost
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in C:\xampp\htdocs\magento2\app\bootstrap.php on line 65

Contributor

tzyganu commented Jul 24, 2014

@myst67 Are you using php 5.3? If so it won't work.
The line in question is

(new \Magento\Framework\Autoload\IncludePath())->addIncludePath(array(BP . '/app/code', BP . '/lib/internal'));

Class member access on instantiation works starting PHP 5.4

Contributor

verklov commented Aug 5, 2014

Hi @myst67, was the reason of the issue you experienced in the PHP version as @tzyganu suggested? If yes, please note that the minimum supported version of PHP for Magento 2 is PHP 5.4.

Please let us know whether the issue is gone now or is still valid for you. Thank you!

verklov self-assigned this Aug 5, 2014

verklov added the major-check label Aug 5, 2014

myst67 commented Aug 19, 2014

Thanks guys.. It helps me a lot.. :)

myst67 closed this Aug 19, 2014

@magento-team magento-team added a commit that referenced this issue Sep 15, 2014

@magento-team magento-team 0.1.0-alpha95
* Modularity
   * Log module became switchable
   * New switchable module TaxImportExport was created
 * Sales module improvement:
   * Performance was improved
   * Complexity of the order persistence logic was reduced
 * Unit tests coverage for modules was increased:
   * Magento\Rule
   * Magento\Contact
 * Framework:
   * Composite and bundle save/load processors were added
   * Support for the complex custom attributes were added
   * Generic abstract data objects, that is simple and extensible (supports custom attributes), were created
 * Search Library:
   * Approach of matching the fields to table names was implemented
   * MySQL Adapter Library for Match and Filtered query types was added
   * Ability to filter queries was added
   * Response handler for MySQL adapter was added
   * XML declarations for full-text search were added
 * Functional tests:
   * Add Products to Order from Last Ordered Products Section
   * Add Products to Order from Products in Comparison List Section
   * Add Products to Order from Recently Compared Products Section
   * Create Configurable Product
   * Create Store
   * Create Website
   * Delete Product From Customer Wishlist On Backend
   * Delete Store
   * Delete Website
   * Viewed Products Report
   * Products In Cart Report
   * Manage Product Review from Customer Page
   * Mass Assign Customer Group
   * New Account Report
   * Update Product Review From Product Page
   * Update Store
   * Manage Product Review From Customer Page
 * Other:
   * Session.name ini set
   * Calls to setPublicCookie became more secured
   * Generating the session ID for sensitive data was added
 * Fixed bugs:
   * Placing the order from backend
   * Redirecting the customer to empty shopping cart instead of displaying credit card iFrame on checkout with for PayPal Payflow Link
   * Showing the message for multiple shipping address checkout in Authorize partial approval flow
   * Mess detector failure
   * flv_player security vulnerability
   * Calling the inexistent method in cart with shopping cart price rules
   * Overriding a non-empty custom attribute value with empty value in store view scope
   * Editing in 'WYSIWYG editor' by clicking "Use Default" checkbox when switched to store view scope
   * RSS list page vulnerability
   * Applying the store View title on frontend for configurable attributes
   * Viewing the uploaded sample in downloadable product
   * Google Shopping: Problem with publishing products if change value for option 'Update Google Shopping Item when Product is Updated'
   * Configuration scope of items' InStock status on order cancellation
   * Creating the new customer in admin
 * GitHub requests:
   * #621-- Parse error: syntax error, unexpected T_OBJECT_OPERATOR
   * #651-- Multishipping checkout add/edit address page issue
7ad2dc7

@magento-team magento-team pushed a commit that referenced this issue Sep 23, 2015

@slopukhov slopukhov Merge pull request #621 from magento-troll/bugfixes
[Troll] Bugfixes
8fc2cde

@mmansoorebay mmansoorebay pushed a commit that referenced this issue Dec 1, 2016

@slavvka slavvka Merge pull request #621 from magento-frontend/MAGETWO-56989
[Frontend] Magetwo 56989: Deployment process can't be executed on separate machine
3f4fe5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment