Hi.
I have a fatal error "Call to undefined method K2ModelItem::getUserProfile()" when I click on the menu to form of K2 frontend. This error appeared after I changed the "component" to "index" in the file item.php to use the header from my template:
public function edit()
{
JRequest::setVar('tmpl', 'index');
I noticed that this error disappears if I disable the "K2 User" module, which is in the header of the template. Can you help me to solve my problem?
K2 v. 2.9.0, Joomla 3.9.12 Stable.
I have a fatal error "Call to undefined method K2ModelItem::getUserProfile()" when I click on the menu to form of K2 frontend. This error appeared after I changed the "component" to "index" in the file item.php to use the header from my template:
public function edit()
{
JRequest::setVar('tmpl', 'index');
I noticed that this error disappears if I disable the "K2 User" module, which is in the header of the template. Can you help me to solve my problem?
K2 v. 2.9.0, Joomla 3.9.12 Stable.