- 🇮🇳India rahulrasgon
Fixed as a part of https://www.drupal.org/project/video_embed_tiktok/issues/3276183#comment... 🐛 json_decode return objects rather than array. Fixed
Thanks Automatically closed - issue fixed for 2 weeks with no activity.
When saving videos under the dev branch, it generates the following error:
Notice: Trying to access array offset on value of type null in /var/www/docroot/modules/contrib/video_embed_tiktok/src/Plugin/video_embed_field/Provider/Tiktok.php on line 52
Install module, setup video field to enable TikTok URL support, then try to save a TikTok video. Error appears.
Just switch the code to properly handle a class object instead of an array response. Eazy peazy.
None, I will attach a patch to this ticket.
None, enjoy the fix.
None
None
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Fixed as a part of
https://www.drupal.org/project/video_embed_tiktok/issues/3276183#comment...
🐛
json_decode return objects rather than array.
Fixed
Thanks
Automatically closed - issue fixed for 2 weeks with no activity.