1. University
  2. Saturday, 04 January 2020
Please what should i do I updated k2 component and the below error occurred

Fatal error: Can't use method return value in write context in /home/webtarge/public_html/components/com_k2/views/item/view.html.php on line 468
Attachments (1)
Responses (3)
this is an old template before K2 v2.9 era.
Try this method, DELETE this file

  1. more than a month ago
  2. University
  3. # 1
Thank you sir for responding. However, your suggestion did not work. This is what works I navigated to the affected error line in this directory /public_html/components/com_k2/views/item/view.html.php.

Like this: Line 468: if (empty($params->get('page_title'))) {...............

I deleted "empty" after 'if' statement. please see the screenshot and yhat was it.
Attachments (1)
  1. more than a month ago
  2. University
  3. # 2
In general, the file path which you have shown me is directly from k2, not from us.
So ask K2 developer forum.
But before do the last test:
RENAME this folder for 60sec and check again.
  1. more than a month ago
  2. University
  3. # 3

There are no replies made for this post yet.
Be one of the first to reply to this post!

This forum is archived

This forum has been archived. Please use JoomShaper official support system.