By vivalditec on Monday, 21 September 2015
Posted in Technical Issues
Replies 10
Likes 0
Views 750
Votes 0
Hi, we are receiving this error on the EasySocial Dashboard page.
If you are logged in the Dashboard loads as usual.

This also happens if you try to view the Profile of a specific user, I tied googling around and only found 2 other issues with this error on the forums and both were related to EasyBlog but I can view the blog section fine without errors.
Hi there,

Can you provide us with your Joomla backend and FTP access instead so we can take a closer look on your site? If possible kindly provide us with your PhpMyAdmin access so we can take a closer look on your database as well.

Please advise.
·
Tuesday, 22 September 2015 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

We don't feel comfortable giving direct access at the moment.

Here are some things we have noticed that might help us troubleshoot:

Since yesterday, a lot of "empty" rows in the xx_easyblog_revisions have been piling up, with post_id and created_by = 0.

This is their data: {"id":null,"created_by":null,"created":null,"modified":null,"title":null,"permalink":null,"content":null,"intro":null,"excerpt":null,"category_id":null,"published":null,"state":null,"publish_up":null,"publish_down":null,"ordering":null,"vote":null,"hits":null,"access":null,"allowcomment":null,"subscription":null,"frontpage":null,"isnew":null,"blogpassword":null,"latitude":null,"longitude":null,"address":null,"posttype":null,"source_id":0,"source_type":"easyblog.sitewide","robots":null,"copyrights":null,"image":null,"language":null,"locked":false,"ip":null,"doctype":"legacy","document":null,"autoposting":null,"categories":[],"tags":[],"fields":[],"keywords":null,"description":null,"custom_title":null,"send_notification_emails":null,"association":[]}


Also, for a while now, we have been seeing a lot of this in our apache logs:
PHP Notice:  Undefined variable: profile in /var/www/components/com_easyblog/views/blogger/view.feed.php on line 70
PHP Notice: Undefined variable: profile in /var/www/components/com_easyblog/views/tags/view.feed.php on line 69
PHP Fatal error: Call to undefined method EasyBlogTableBlog::getPrimaryCategory() in /var/www/components/com_easyblog/views/featured/view.feed.php on line 65
·
Tuesday, 22 September 2015 17:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Hm, it's quite hard to identify the exact issue if we do not have direct access to your site. Let's try to fix the error in your apache logs first by downloading attachments below in the respective file path below.
1) /components/com_easyblog/views/blogger/view.feed.php
2) /components/com_easyblog/views/tags/view.feed.php
3) /components/com_easyblog/views/featured/view.feed.php

Rename all file to view.feed.php afterwards and see how it goes.
·
Tuesday, 22 September 2015 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, I replaced the files, here's the diff

/var/www/components/com_easyblog/views/blogger$ diff view.feed.php 1-view.feed.php 
70c70
< $item->authorEmail = $this->getRssEmail($profile);
---
> $item->authorEmail = $this->getRssEmail($author);


/var/www/components/com_easyblog/views/tags$ diff view.feed.php 2-view.feed.php 
69c69
< $item->authorEmail = $this->getRssEmail($profile);
---
> $item->authorEmail = $this->getRssEmail($post->author);


/var/www/components/com_easyblog/views/featured$ diff view.feed.php 3-view.feed.php 
62c62,63
< $category = EB::table('Category');
---
> $post = EB::post($row->id);
> $category = EB::table('Category');
65c66
< $primaryCategory = $blog->getPrimaryCategory();
---
> $primaryCategory = $post->getPrimaryCategory();
·
Tuesday, 22 September 2015 20:00
·
0 Likes
·
0 Votes
·
0 Comments
·
We also get these errors in apache when we try to access the broken profile, the one that shows the 400 error page:

[Tue Sep 22 12:04:42 2015] [error] [client x.x.x.x] PHP Notice:  Undefined offset: 1 in /var/www/administrator/components/com_easyblog/includes/videos/videos.php on line 386
[Tue Sep 22 12:04:45 2015] [error] [client x.x.x.x] PHP Notice: Undefined property: stdClass::$uri in /var/www/administrator/components/com_easyblog/includes/videos/videos.php on line 373
[Tue Sep 22 12:04:45 2015] [error] [client x.x.x.x] PHP Notice: Undefined property: stdClass::$autoplay in /var/www/administrator/components/com_easyblog/includes/videos/videos.php on line 376
[Tue Sep 22 12:04:45 2015] [error] [client x.x.x.x] PHP Notice: Undefined property: stdClass::$uri in /var/www/administrator/components/com_easyblog/includes/videos/videos.php on line 377
[Tue Sep 22 12:04:45 2015] [error] [client x.x.x.x] PHP Notice: Undefined offset: 1 in /var/www/administrator/components/com_easyblog/includes/videos/videos.php on line 386
·
Tuesday, 22 September 2015 20:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vivalditec,

We are not entirely sure why the error in your easysocial profile is related with easyblog components. We need direct access to your site in order to find out the exact cause of this issue as we are not able to replicate this issue in our local instance. So far only you facing this issue while the rest of our easyblog + easysocial users did not have this kind of issue. Hope you understand.

By the way if you are requested to submit your site details, you may do so under the tab Site Details below. Please be rest assured that these information will only be visible to the support team from Stack Ideas. You can also store this in your site details area here, http://stackideas.com/dashboard/site to avoid having to enter these information multiple times.
·
Wednesday, 23 September 2015 13:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

Thanks for your help, the feed errors are fixed, now we need to fix that profile. I suspect it might be caused by our template, which is getting a bit dated and might be incompatible with the latest easyblog. I added my email address to site details below. If you send me a line I'll reply with details on how to access our server with ssh/sftp. We can even schedule a skype call tomorrow afternoon your time (early morning in Iceland) if there are any questions.
·
Wednesday, 23 September 2015 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vivalditec,

I am really sorry for the delay of this reply as it was public holiday for all of us here yesterday in Malaysia.

I suspect it might be caused by our template, which is getting a bit dated and might be incompatible with the latest easyblog.

Can you check the following file path and see if there any com_easyblog or com_easysocial folder inside /templates/[your template]/html/ folder? If yes you can try to temporarily rename the folder to com_easyblog_bak or com_easysocial_bak and then see how it goes.
·
Friday, 25 September 2015 16:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your reply Ezrul,

Yes, we do indeed have a com_easysocial override for a custom dashboard in our html folder, I suspect it needs to be updated. I'll look into that and report back later.

Thanks
·
Friday, 25 September 2015 22:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Let us know if you need any more assistance on this.
·
Monday, 28 September 2015 00:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post