By Richard on Monday, 31 March 2014
Posted in General Issues
Replies 11
Likes 0
Views 538
Votes 0
When installing the K2 plugin:

JInstaller: :Install: File does not exist ../en-GB.plg_k2_easysocial.sys.ini

When the plugin is enabled:

Warning: Creating default object from empty value in ../plugins/k2/easysocial/easysocial.php on line 248

Any suggestions?
Hello Richard,

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Monday, 31 March 2014 16:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I've provided login info in the site details.

I've also uninstalled the K2 plugin (http://stackideas.com/apps/item/57-k2-article) so you can install it and see what happens.
·
Tuesday, 01 April 2014 02:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Just checking to see if this is still being looked at,
Thanks again.
·
Tuesday, 01 April 2014 14:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Richard,

Ah, I am so sorry. I missed your thread earlier. Anyway this issue seems like it's just missing a language file but it wouldn't cause any errors but as for the other error, I tried to login to the FTP but it isn't working Can you please advise?
·
Wednesday, 02 April 2014 02:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I've provided ftp and site details again.
·
Wednesday, 02 April 2014 03:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Richard,

Thanks, I have installed the K2 plugin for EasySocial but don't seem to hit the errors. May I know where can I reproduce the errors that you are getting earlier?
·
Wednesday, 02 April 2014 11:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

If you view the blog section you'll see the errors
·
Wednesday, 02 April 2014 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Viewing the homepage also reproduces the errors. I need to disable it again to actually do stuff on the site, feel free to enable it again once you have a chance to look.
·
Wednesday, 02 April 2014 12:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Richard,

Regarding your issue, I've added a fix on your site and now with K2 plugin for EasySocial enabled, you no longer hit the same error now The fix will be added into next release of EasySocial. For the quick fix, open the file 'JOOMLA/plugins/k2/easysocial/easysocial.php' and add below code at line after 441:

JTable::addIncludePath( JPATH_ROOT . '/administrator/components/com_k2/tables' );


Hope this help and have a nice day
Sam
·
Wednesday, 02 April 2014 14:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

The error still shows everywhere K2 is: Warning: Creating default object from empty value in /plugins/k2/easysocial/easysocial.php on line 259
·
Thursday, 03 April 2014 00:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Richard,

There's something odd with your K2 setup as the author metadata is not available for some reasons. I have added the codes below to fix this,


if (!$item->author) {
$item->author = new stdClass();
}
·
Thursday, 03 April 2014 00:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post