ho-nl / magento2-Ho_Templatehints

H&O Magento 2 Advanced Template Hints module
BSD 2-Clause "Simplified" License
270 stars 68 forks source link

Syntax Error #29

Closed turtlecreations closed 7 years ago

turtlecreations commented 7 years ago

I get the folowing error after installation via Composer.

Parse error: syntax error, unexpected '?' in /magento/vendor/honl/magento2-templatehints/Plugin/View/LayoutPlugin.php on line 150

I followed the steps in the readme

JeroenVanLeusden commented 7 years ago

This module will work with PHP 7 and up. I've updated these constraints on the develop branch. The line you mentions is a new PHP7 operator.