facebook-for-magento2 icon indicating copy to clipboard operation
facebook-for-magento2 copied to clipboard

[Bug]:

Open felilee96 opened this issue 3 years ago • 1 comments

Contact Details

[email protected]

What happened?

Error message: A required field is missing: availability

Hi, we are a Magento solution company and we are helping our client to install Facebook Business Extension on their Magento 2 platform. After our installation and setup, we checked the microdata with the Facebook Debug tool and it shows the error: A required field is missing: availability .

Error logs related to extensions:
[2022-03-08 15:00:08] FBE.INFO: response from fb: {"error":{"message":"Fatal","type":"OAuthException","code":-1,"error_subcode":1798130,"is_transient":false,"error_user_title":"\u7a7a\u306e\u5546\u54c1\u30bb\u30c3\u30c8\u306f\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093","error_user_msg":"\u7a7a\u306e\u5546\u54c1\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u30ab\u30bf\u30ed\u30b0\u306b\u5546\u54c1\u3092\u8ffd\u52a0\u3057\u3066\u3001\u5c11\u306a\u304f\u3068\u30821\u3064\u306e\u5546\u54c1\u304c\u542b\u307e\u308c\u308b\u5546\u54c1\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002","fbtrace_id":"Aa1_PHwj3OBsRuaRSYKZ9M7"}} [] []

system.log [2022-03-08 04:10:08] main.CRITICAL: Notice: Undefined variable: fp in /var/www/prod/htdocs/vendor/facebook/facebook-for-magento2/Helper/LogOrganization.php on line 74 [] []

Can you please advise on how to fix this problem? We can’t find anyway to add the missing OGP code into Facebook extension/ the product page. Looking forward to hearing from you.

Regards, Felicia

Magento Version

magento2-2.3.6-p1-1.4.4

Plugin Version

1.4.4

Relevant log output

{"message":"Fatal","type":"OAuthException","code":-1,"error_subcode":1798130,"is_transient":false,"error_user_title":"\u7a7a\u306e\u5546\u54c1\u30bb\u30c3\u30c8\u306f\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093","error_user_msg":"\u7a7a\u306e\u5546\u54c1\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u30ab\u30bf\u30ed\u30b0\u306b\u5546\u54c1\u3092\u8ffd\u52a0\u3057\u3066\u3001\u5c11\u306a\u304f\u3068\u30821\u3064\u306e\u5546\u54c1\u304c\u542b\u307e\u308c\u308b\u5546\u54c1\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002","fbtrace_id":"Aa1_PHwj3OBsRuaRSYKZ9M7"}} [] []

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

felilee96 avatar Mar 24 '22 07:03 felilee96

Fixed here #96, you can try to patch your instance.

Bashev avatar Mar 29 '22 17:03 Bashev