×
Kunena 5.1.5 Released - Security Release (14 Oct 2018)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× This section is for questions directly related to the procedure for installing Kunena for the first time or upgrading from an older version of Kunena.

Use this category:
  • to ask how to install or upgrade; or
  • if you encountered problems during the installation or upgrade procedure.

Use a different category to ask questions about problems that you may be having after you successfully installed or upgraded the currently supported version. If you are unsure what is the current supported version of Kunena, please go to the download page.

Question error message on profile

More
3 months 6 days ago #1 by chris72a
Hi All, I have rejuvenated a site that was on Kunena 1 basically a complete rebuild to get everything up to date, all is going well except for one error when I click on the profile page am getting below error

Warning: Invalid argument supplied for foreach() in /home/obtrail/public_html/j3/components/com_kunena/template/crypsis/layouts/user/item/social/default.php on line 16

I'm not using the crypsis template and I have not been able to get rid of the error, whilst it is not fatal, it is annoying only that I have spent a heap of time getting the site back up and running would be nice to be error free. Any advice ideas would be much appreciated, the site itself is www.obtrailriders.com

Cheers
Chris.

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

More
3 months 6 days ago #2 by chris72a
Replied by chris72a on topic error message on profile
just as a follow up this is what is in the file

<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.User
*
* @copyright Copyright (C) 2008 - 2018 Kunena Team. All rights reserved.
* @license www.gnu.org/copyleft/gpl.html GNU/GPL
* @link www.kunena.org
**/
defined('_JEXEC') or die;

$showAll = isset($this->showAll) ? $this->showAll : false;
?>
<div class="inline">
<?php foreach ($this->socials as $key => $social)
{
if (!empty($this->profile->$key))
{
echo $this->profile->socialButtonsTemplate($key, $showAll);
}
}
?>
</div>

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

More
3 months 6 days ago #3 by chris72a
Replied by chris72a on topic error message on profile
ok after all that, brain snap turned error reporting to none (had it on developer) that has removed showing the error which is good enough for me.

Cheers
Chris.

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

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