By Bruno Alecrim on Friday, 01 April 2016
Posted in Technical Issues
Likes 0
Views 411
Votes 0
Hi I am getting some error messages in some blog posts of our site:

"Warning: Creating default object from empty value in /home/xxxxx/public_html/administrator/components/com_easyblog/includes/videos/videos.php on line 222"

It appear in the preview of many blog posts, here in this link you check it, and this appear also in other sections. How to fix it?

http://tutorialmaster.com.br/cursos/curso-de-illustrator.html?start=10

Thanks
Bruno
Hi Bruno,

I am really sorry for the delay of this reply.

It seems like the issue was caused by the incorrect embed youtube link in which you have included the {user_group 2} as part of the embed. Refer code snippet below.
// The code that causing the issue:
{user_group 2}[embed=videolink]{"video":"https://youtu.be/watch?v=aYE0bZD0o28","width","width":"640","height":"360"}[/embed]{/user_group}

// The correct embed code suppose to looks like below:
[embed=videolink]{"video":"https://youtu.be/watch?v=aYE0bZD0o28","width","width":"640","height":"360"}[/embed]


May I know what is this {user_group 2} for?
·
Friday, 01 April 2016 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Friend, thanks for your response, Now I see and I will fix it.

This is a very interesting plugin that will show content to specific user groups.
So if the user is GUESS it shows content A, if user is REGISTERED it shows the content B.

I am starting to use this to allow visitors to go inside our blog post (without asking to login) but also avoid him to see the videos... doing this way we offer more free content but we still ask user to be registered to see all key information, in this case, the video.

With Best Regards
Bruno Alecrim
·
Friday, 01 April 2016 22:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Bruno, glad that your issues are resolved now
·
Saturday, 02 April 2016 14:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post