×
Blue Eagle 5 v1.5.4 has been Released (13 Sep 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.4 which is now available for download. This version addresses most of the issues that were discovered in development.

× Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Bug [Problem assumed resolved - no response from user] Errors in Joomla error_log file

More
8 years 10 months ago - 8 years 10 months ago #1 by vlado85
Hi,

I have Kunena 1.6.3 version. Forum is working fine, bu I have problems in my Joomla error_log file:

[06-Nov-2011 09:45:11] PHP Warning: Invalid argument supplied for foreach() in /home/rsplane1/public_html/components/com_kunena/funcs/latestx.php on line 129
[06-Nov-2011 19:16:35] PHP Warning: Invalid argument supplied for foreach() in /home/rsplane1/public_html/components/com_kunena/funcs/showcat.php on line 123

---

latestx.php on line 129
			foreach ( $this->messages as $message ) {
				if ($message->parent == 0) {
					$this->threads [$message->thread] = $message;
					$routerlist [$message->id] = $message->subject;
					if ($this->func == 'mylatest' && $message->myfavorite) $this->highlight++;
				}
				if ($message->id == $message->lastid) {
					$this->lastreply [$message->thread] = $message;
				}
				if (isset($this->loadids) && in_array($message->id, $this->loadids)) {
					$this->customreply [$message->id] = $message;
				}
				$userlist[intval($message->userid)] = intval($message->userid);
				$userlist[intval($message->modified_by)] = intval($message->modified_by);
			}


showcat.php on line 123
			foreach ( $this->messages as $message ) {
				if ($message->parent == 0) {
					$this->threads [$message->thread] = $message;
					$routerlist [$message->id] = $message->subject;
					if ($message->ordering) $this->highlight++;
				}
				if ($message->id == $message->lastid) {
					$this->lastreply [$message->thread] = $message;
				}
				$userlist[intval($message->userid)] = intval($message->userid);
				$userlist[intval($message->modified_by)] = intval($message->modified_by);
			}


Does anyone know what is the problem?
Last edit: 8 years 10 months ago by vlado85.

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

More
8 years 10 months ago - 8 years 10 months ago #2 by xillibit
Hello,

I advise you to update Kunena to version 1.7 and re-try.

I don't provide support by PM, because this can be useful for someone else.
Last edit: 8 years 10 months ago by sozzled. Reason: Fix small typographical error

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

More
8 years 4 months ago #3 by sozzled
*** Topic closed - unsupported version and no further response from user ***

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.113 seconds