By Neel on Sunday, 24 August 2014
Posted in Technical Issues
Replies 9
Likes 0
Views 574
Votes 0
Hi Mark,

After enabling the K2 Article plugin, I am getting php notice in K2 categories pages:

NOTICE: UNDEFINED PROPERTY: TABLEK2CATEGORY::$CREATED_BY IN C:\WAMP\WWW\PLUGINS\K2\EASYSOCIAL\EASYSOCIAL.PHP ON LINE 242
Hello Neel,

Sorry for late reply to this,
Can you try download my attachment file and install from your extension manager and see how it goes? (please uninstall K2 article plugin before you install again)
If the error still persists, can you temporary upload your test site to live site so we can able to directly check this issues in your site? Please advise.
·
Monday, 08 September 2014 13:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Neel,

Hm, the property should be there. Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Sunday, 24 August 2014 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I don't have an url yet Mark. I am still testing these in local host. I also received a few more errors with this plugin such as error when I save an article from k2 front end, points and badges not working, etc.. I do have a few more test to do so I can see if it's this plugin or something else causing the other errors. So I am gonna leave this for now and will get back to it once I get a chance to test it in my live dev site. Will keep you posted then..
·
Sunday, 24 August 2014 14:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Neel,

Sure, when your dev site is up and available, let us know
·
Sunday, 24 August 2014 23:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Here is an update on this K2 Plugin error again. Sorry, I still dont have a live dev site yet. But I installed another new joomla installation in my localhost and I installed this K2 Article App (the add-on plugin you created) and I noticed that the same errors happens. I have made a list of errors (or notices) I am receiving from this plugin. I know I can hide these using by changing the Error Reporting settings to none in Joomla, but isint it better to update these if required. You should be able to check it from your end itself with K2 v2.6.8 + latest Easysocial + K2 App. Are you able to confirm from your end please. Here is my report:

1) When installing the K2 Article app, I get this error (appears to have a language file missing?):
	Warning
JInstaller: :Install: File does not exist C:\wamp\www\tmp\install_53f8e6d49eaf4\en-GB.plg_k2_easysocial.sys.ini


2) After enabling the Plugin, when I go to the K2 Category pages, I am seeing these notices:
Warning: Creating default object from empty value in C:\wamp\www\plugins\k2\easysocial\easysocial.php on line 248

NOTICE: UNDEFINED PROPERTY: TABLEK2CATEGORY::$CREATED_BY IN C:\WAMP\WWW\PLUGINS\K2\EASYSOCIAL\EASYSOCIAL.PHP ON LINE 242


3) When I edit an article in K2 while the K2 Article plugin is enabled:
Notice: Undefined variable: params in C:\wamp\www\plugins\k2\easysocial\easysocial.php on line 347


If possible, are you able to check these in your dev site please? I would really appreciate your help Mark.
·
Monday, 08 September 2014 05:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your reply Arlex. I will set up a temp dev site now and will update back after installing your attached plugin. there a few things that needs to be checked with es and k2 integration and I understand that it's probably easier for you with the dev site then. I'll be back.
·
Monday, 08 September 2014 16:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Neel,

Okay, keep us updated then.
·
Monday, 08 September 2014 18:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I just installed the plugin you attached and now none of the warnings are showing! Perfect! So this now fixes the warnings I received in K2 category pages and php error I saw when editing articles. Thanks heaps for the fix. Is this going to be updated in your App directory as well?

The only thing missing is the language file for this plugin. In the backend it is still showing like: PLG_K2_EASYSOCIAL_XML_DESCRIPTION, PLG_K2_EASYSOCIAL, etc.. etc.. Other than that, its all good now.

Thanks again.
·
Monday, 08 September 2014 18:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Please edit the file /administrator/language/en-GB/en-GB.plg_k2_easysocial.ini and ensure that the text below is in the language file,


PLG_K2_EASYSOCIAL="K2 - EasySocial"
PLG_K2_EASYSOCIAL_XML_DESCRIPTION="This plugin adds integrations with the famous K2 CCK extension for Joomla!."
·
Monday, 08 September 2014 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post