Issue: 


When we installed the module v1.0.1 on Magento 2.2.9 CE, we got the issue:

Fatal error: Interface 'Magento\Framework\Setup\Patch\DataPatchInterface' not found in /app/code/Bss/RewardPoint/Setup/Patch/Data/AddProductAttribute.php on line 29


Solution: 


Our Magento 2 Reward Points only supports on Magento 2.3.x as the information from our product page

Hence, our module does not support Magento 2.2.x.

You could fix the Fatal issue yourself by following our guide below:


Step 1: Delete module's name in the table setup_module 

+ Delete via database admin

+ Or via SSH command and sql command: DELETE FROM setup_module WHERE setup_module.module = "Bss_RewardPoint"


- Step 2: 

+ Upload the attachment below file following path: app/code/Bss/RewardPoint/Setup/InstallData.php 

+ Delete this file following path: app/code/Bss/RewardPoint/Setup/Patch/Data/AddProductAttribute.php


- Step 3: 

Flush the cache + run upgrade and deploy command


Please check and follow our guide.


If you need further assistance, please don't hesitate to contact us.