Keyword

K2 system plugin breaks other components

  • George
  • George's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #116142 by George
Hi,

On Joomla 3.x version when K2 system plugin is active it breaks the functionality of other components.
Some base functionality like edit is not working anymore. When trying to edit an item instead of going to edit mode and show edit.php layout it shows the list layout. It prevents the access to edit mode.

Links like index.php?option=com_jbusinessdirectory&view=company&layout=edit&id=12 are not working anymore.

This is happening only the K2 system plugin is active in Joomla 3.x. For Joomla 2.5 version everything is OK.

Do you have a solution for this?

Please Log in or Create an account to join the conversation.

  • George
  • George's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #116143 by George
It seems that the error is caused by use of deprecated method JRequest::getVar() in the k2 system plugin. When the method is called there is an exception thrown causing some problems for other components.

Instead of JRequest , input should be used: $input=JFactory::getApplication()->input;

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #116144 by vikijel
Replied by vikijel on topic Re: K2 system plugin breaks other components
Hi,

i had the same problem and i fixed this
by replacing:
Log in  or Create an account to join the conversation.