spicywebau / craft-fieldlabels

Override Craft CMS field labels and instructions in the field layout designer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation failure when commerce not installed but in vendor

samuelbirch opened this issue · comments

I have commerce in my vendor folder but it is not installed within craft, so when i try and install fieldlabels i get the error:

Call to a member function getProductTypes() on null

line 222: $layouts['commerceProductType'] = $this->_mapCommerceLayouts($commerce->getProductTypes()->getAllProductTypes());

in Plugin.php

Thanks for reporting, @samuelbirch. This will be fixed in Field Labels 1.0.4 which will be released within the next day.