Fixed View oEmbed media details (Reddit) => Server errors

soloarquitectura

Well-known member
Affected version
2.0.0 Beta 4
I don't know if it's a general problem.
Here are the steps:

Insert -> Media -> Enter media URL:
https://www.reddit.com/r/pics/comments/72rpy5/this_guy_has_outstanding_woodworking_skills/
(sample)

CP -> oEmbed log -> Click Reddit: This guy has outstanding woodworking skills (oEmbed media details)

CP -> Server error logs:

Template error: Accessed unknown getter 'url' on XF:Oembed[2]
A moment ago src/XF/Mvc/Entity/Entity.php:175
Accessed unknown getter 'url' on XF:Oembed[2]
A moment ago src/XF/Mvc/Entity/Entity.php:179
 
I can reproduce that.

It seems to be an issue with the log_oembed_view template. It's trying to access a field called url which doesn't exist. Not sure if that's something we removed or if it means the URL from the BB code media site entity or similar.
 
Top Bottom