Keyword

Live search on Error 500 code

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
1 month 4 weeks ago - 1 month 4 weeks ago #180543 by Uzi
Live search on Error 500 code was created by Uzi
Hello

I have PHP 8 and K2 installed. The live search module is not working. I get the following error:
1 0: Attempt to modify property "query" on null in file: /home/xxx/domains/xxx.nl/public_html/components/com_k2/views/itemlist/view.html.php line: 743 

I checked the code and this is the line:
 $pathway = $app->getPathWay();        
if (!isset($menuActive->query['task'])) {         
THIS THROWS THE ERROR >>>>  $menuActive->query['task'] = '';  
}

Anyone know how to fix this?
Last edit: 1 month 4 weeks ago by Uzi.

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

More
1 month 2 weeks ago #180564 by JoomlaWorks
Replied by JoomlaWorks on topic Live search on Error 500 code
I recommend you try K2 v2.11 (dev) from getk2.org/downloads/?f=K2_Development_Release.zip as the code is changed around these lines with additional checks.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum