[v1.0.6]. How to fix the issue with used code?

Created by Rosa Truong, Modified on Wed, 23 Feb, 2022 at 3:27 PM by Rosa Truong

Issue: 


I have used module version 1.06 on M2.4.1. However, when I try to check a used code it gives me an error


Solution:


The issue happens due to the module's bug.

To solve the issue, we have modified two files as below

app/code/Bss/GiftCard/Model/ResourceModel/Pattern/History/Collection.php

app/code/Bss/GiftCard/Observer/SalesOrderAfterPlace.php


Please apply two files to fix the issue.


If you have any issues, please feel free to contact us.

We'd like to help.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article