Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed fatal error by adding a check for product existence before call… #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AzizVorrez
Copy link

Fixes fatal error caused by calling is_type() method on undefined product object. Added a check to ensure the existence of the product object before calling is_type() method in order to prevent the error. This resolves the issue encountered on the WooCommerce cart page.

Copy link
Contributor

@tuyencntt tuyencntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed fatal error by adding a check for product existence before call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants