Keyword

Huge Amout of K2 PHP Notices

  • Lance Thompson
  • Lance Thompson's Avatar Topic Author
  • Offline
  • New Member
More
7 years 7 months ago #164696 by Lance Thompson
Huge Amout of K2 PHP Notices was created by Lance Thompson
Hi,

I have some PHP notices that are repeatedly happening and filling up my error logs. The messages are:

2017-10-12 11:11:39 - PHP Notice: Undefined index: task in /home/xxxxxxxx/public_html/components/com_k2/helpers/route.php on line 241
2017-10-12 11:11:39 - PHP Notice: Undefined index: task in /home/xxxxxxxx/public_html/components/com_k2/helpers/route.php on line 241
2017-10-12 11:11:39 - PHP Notice: Undefined index: task in /home/xxxxxxxx/public_html/components/com_k2/helpers/route.php on line 241
2017-10-12 11:11:39 - PHP Notice: Undefined index: task in /home/xxxxxxxx/public_html/components/com_k2/helpers/route.php on line 241
2017-10-12 11:11:39 - PHP Notice: Undefined index: task in /home/xxxxxxxx/public_html/components/com_k2/helpers/route.php on line 241

and

2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 564
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 571
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 564
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 571
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 564
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 571
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 564
2017-10-12 11:11:39 - PHP Notice: Undefined index: view in /home/xxxxxxxx/public_html/components/com_k2/router.php on line 571


Short of turning off error reporting, are there any fixes for these?

Thank you!

Lance

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #164698 by Krikor Boghossian
Replied by Krikor Boghossian on topic Huge Amout of K2 PHP Notices
Which version of Joomla! and K2 are you using?

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

  • Lance Thompson
  • Lance Thompson's Avatar Topic Author
  • Offline
  • New Member
More
7 years 7 months ago #164700 by Lance Thompson
Replied by Lance Thompson on topic Huge Amout of K2 PHP Notices
Sorry, I even thought I needed to add that info then forgot...

Joomla. 3.8.1
K2 2.8.0
PHP 5.6.31 <- I need to update this...

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #164711 by Krikor Boghossian
Replied by Krikor Boghossian on topic Huge Amout of K2 PHP Notices
Are you using any SEO extensions?
Which view produces these notices?

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

  • Lance Thompson
  • Lance Thompson's Avatar Topic Author
  • Offline
  • New Member
More
7 years 7 months ago #164716 by Lance Thompson
Replied by Lance Thompson on topic Huge Amout of K2 PHP Notices
Hi,

No additional SEO extensions beyond what's in Joomla by default. I am using RS Firewall but I don't think that could be causing an issues.

I've also using Mijoshop now that I think about it. Are there any conflicts between it and K2?

NOTE: There errors are showing up in Mijoshop's error logs if that helps any.

Thanks!

Lance

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #164728 by Krikor Boghossian
Replied by Krikor Boghossian on topic Huge Amout of K2 PHP Notices
Dumb question, is this a global log, like the error_log or is it related only to Mijo shop?

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

  • Lance Thompson
  • Lance Thompson's Avatar Topic Author
  • Offline
  • New Member
More
7 years 7 months ago #164730 by Lance Thompson
Replied by Lance Thompson on topic Huge Amout of K2 PHP Notices
I believe it's a global log file since it's catching other extensions notices as well. I'm not sure how to tell?

The file is located in : public_html/components/com_mijoshop/opencart/system/logs/error.log

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #164748 by Krikor Boghossian
Replied by Krikor Boghossian on topic Huge Amout of K2 PHP Notices
I will investigate the issue, however I cannot verify the issue in my own installations.

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


Powered by Kunena Forum