[v1.2.3- M2MetaTagsTemplate] Uncaught TypeError: preg_match() expects parameter 2 to be string, boolean given

Created by Rosa Truong, Modified on Thu, 13 Jan 2022 at 09:57 AM by Rosa Truong

Issue:


We are using version 1.2.3 of module M2MetaTagsTemplate on our site. When using template '[product_description]' and description set config 'Use Default Value' in the Scope Storeview, we are facing an issue 

The issue just happens with the product without Description.


Solution:


To solve the issue above, we have modified this file app/code/Bss/MetaTagManager/Helper/Data.php

Please apply this file to your site to fix the issue.


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

We'd like to help.


Attachments (1)

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article