- Posts: 2
COMMUNITY FORUM
K2 system plugin breaks other components
- George
- Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago #116142
by George
K2 system plugin breaks other components was created 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?
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
11 years 1 month ago #116143
by George
Replied by George on topic Re: K2 system plugin breaks other components
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;
Instead of JRequest , input should be used: $input=JFactory::getApplication()->input;
Please Log in or Create an account to join the conversation.
- vikijel
- Offline
- New Member
Less
More
- Posts: 1
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:
i had the same problem and i fixed this
by replacing:
Log in or Create an account to join the conversation.