Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
110 views

InstallData not working on Magento 2.1

I have an InstallData script below which works absolutely fine on Magento 2.2 but failed to install data on Magento 2.1 class InstallData implements \Magento\Framework\Setup\InstallDataInterface { ...
Verdu's user avatar
  • 1,740
1 vote
1 answer
71 views

Error when trying to add custom attribute programmatically

I got this error when I try to create a custom attribute for products: The configuration parameter "formElement" is a required for "instruction" field. InstallData.php <?php namespace MyVendor\...
qvasz's user avatar
  • 134