×
Blue Eagle 5 v1.5.3 has been Released (31 Mar 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.3 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.

Merged Moderate screen gives error message: Invalid argument - moderate.php line 44

More
7 years 2 months ago #11 by xillibit
Hello,

Please precise your Kunena version and the kunena template that your are using ?

I don't provide support by PM, because this can be useful for someone else.

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

More
7 years 2 months ago #12 by fifi
Kunena 2.0.3
with Cora (but same problem with Blue Eagle)

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

More
7 years 2 months ago #13 by xillibit
To fix that open /components/com_kunena/template/blue_eagle/html/topic/moderate.php line 42, do something like that :
<?php if ( !empty($this->topicIcons) ): ?>
				<div><?php echo JText::_('COM_KUNENA_MODERATION_CHANGE_TOPIC_ICON'); ?>:</div>
				<div class="kmoderate-topicicons">
					<?php foreach ($this->topicIcons as $id=>$icon): ?>
					<input type="radio" name="topic_emoticon" value="<?php echo $icon->id ?>" <?php echo ($icon->id == $this->topic->icon_id) ? ' checked="checked" ':'' ?> />
					<img src="<?php echo $this->ktemplate->getTopicIconIndexPath($icon->id, true);?>" alt="" border="0" />
					<?php endforeach; ?>
				</div>
        <?php endif; ?>

open /components/com_kunena/views/topic/view.html.php line 413 do somthing like that :
if ($this->config->topicicons) {
			$this->topicIcons = $this->ktemplate->getTopicIcons(false);
		} else {
       $this->topicIcons = array();
    }

I don't provide support by PM, because this can be useful for someone else.

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

More
More
7 years 2 months ago #15 by fifi
Thank's xillibit. The invalid argument has disapeared ;)

But still impossible to move a post in another subject :blink:

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

More
7 years 2 months ago #16 by Aviator
Hello,

when logged in as a moderator and trying to moderate a topic or post by clicking on the button "moderate", i get this messages:

Notice: Undefined property: KunenaViewTopic::$topicIcons in /data/www/....../html/......./components/com_kunena/template/blue_eagle/html/topic/moderate.php on line 44

Warning: Invalid argument supplied for foreach() in /data/www/....../html/......../components/com_kunena/template/blue_eagle/html/topic/moderate.php on line 44

(i have set the dots to replace the real path for public viewing in this forum post)

Searching around in this forum didnt lead me to success in this case.
Any ideas ?

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

More
7 years 2 months ago - 7 years 2 months ago #17 by sozzled
*** Topics merged ***

This issue has been addressed in K 2.0.4 which will be released later today, we expect.
Last edit: 7 years 2 months ago by sozzled.
The following user(s) said Thank You: Aviator

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

More
7 years 2 months ago - 7 years 2 months ago #18 by Aviator
Still no new version available, right ?
Cannot find a newer version than 2.0.3.

EDIT:
Sorry, used the automatic update button in Kunena. On the website is a new version online. will take a look now.
Last edit: 7 years 2 months ago by Aviator.

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

More
7 years 2 months ago #19 by Aviator
I have done the update to version 2.0.4 and the error message has gone. So clicking on the "moderate" button functions well now.
Thank you for your help.

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.304 seconds