Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.

×
RND Kcombo - Kunena game template (27 Nov 2017)

RND KCombo is a dark template and is best for game forums. It is also can be used in a lot of sites related to cinema, gaming, book forums and other.

Fatal error 500 when editting Kunena user profile

2 months 1 week ago #792 by Wouter NL
Hi,
I am using the kinstamnce template.
When I will edit the user profile in Kunena I receiove a fatal error 500 when clicking the Edit profile button.
In the Kunena log, I see this:

{"type":4096,"message":"Object of class stdClass could not be converted to string","file":"\/home\/u29749p23537\/domains\/bmwcruiser.nl\/public_html\/components\/com_kunena\/template\/kinstance\/layouts\/user\/edit\/profile\/default.php","line":114}


When I set the Error reporting in Joomla to Developer of Maximum, I don;t receive any information.
M<aybe that is because I am directed to a new page with nthis message:


@Support team: Please let me know if you need any credentials for access to the website.
The forum is public, but to edit the profile you need a user account.
bmwcruiser.nl/forum
Attachments:
The topic has been locked.
2 months 1 week ago #793 by Eugene S.
Hello Wouter,
The Kunena development team has updated template layout in new Kunena 5.1 and made various changes which affects templates made for previous Kunena 5.0.
I suppose you are using latest Kunena 5.1 version while our templates are designed for previous version 5.0.

We need to update all templates to make them Kunena 5.1 compliant. It is a huge work, so we are planning to finish the tasks this Summer.

Right now there are two ways:
- Downgrade Kunena back to version 5.0.
- Use default template until we finish the update.

Please await the new version of the template.

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
The topic has been locked.
2 months 1 week ago #794 by Wouter NL
POK thanks for your reply.

I don;t think it is a good idea to go back to Kunena 5.0
In 5.1 there are a couple of security updates.
So I hope you can update this template as soon as possible to the latest Kunena release.
The topic has been locked.
2 months 6 days ago - 2 months 6 days ago #798 by Dmitry
Hello Wouter!

A quick fix for this error - open file /components/com_kunena/template/{yourtemplate}/layouts/user/edit/profile/default.php and find this code:
<?php foreach ($this->social as $social) : ?>

	<?php if ($social != 'qq') : ?>
	<?php $tooltip =  JText::_("COM_KUNENA_MYPROFILE_{$social}"). '::' . JText::_("COM_KUNENA_MYPROFILE_{$social}_DESC"); ?>
	<?php else: ?>
	<?php $tooltip =  ''; ?>
	<?php endif; ?>
	
	<div class="control-group">
	
		<label class="control-label hasTooltip" for="social-<?php echo $social; ?>" title="<?php echo $tooltip; ?>">
			<?php echo JText::_('COM_KUNENA_MYPROFILE_' . $social); ?>
		</label>
		
		<div class="controls">
			<input class="form-control input-block-level" id="social-<?php echo $social; ?>" type="text" name="<?php echo $social ?>"
					   value="<?php echo $this->escape($this->profile->$social); ?>" />
		</div>
	</div>

<?php endforeach; ?>

Change it to:
<?php foreach ($this->social as $key => $social) : ?>

	<?php if ($social != 'qq') : ?>
	<?php $tooltip =  JText::_("COM_KUNENA_MYPROFILE_{$key}"). '::' . JText::_("COM_KUNENA_MYPROFILE_{$key}_DESC"); ?>
	<?php else: ?>
	<?php $tooltip =  ''; ?>
	<?php endif; ?>
	
	<div class="control-group">
	
		<label class="control-label hasTooltip" for="social-<?php echo $key; ?>" title="<?php echo $tooltip; ?>">
			<?php echo JText::_('COM_KUNENA_MYPROFILE_' . $key); ?>
		</label>
		
		<div class="controls">
			<input class="form-control input-block-level" id="social-<?php echo $key; ?>" type="text" name="<?php echo $key; ?>"
					   value="<?php echo $this->escape($this->profile->$key); ?>" />
		</div>
	</div>

<?php endforeach; ?>
The following user(s) said Thank You: Wouter NL
The topic has been locked.
2 months 4 days ago #808 by Wouter NL
Hi Dimitry,
Thanks for your solution.
That solved this issue.
The topic has been locked.
4 days 15 hours ago #823 by Dmitry
Nice! We will include this fix in next version update.
The topic has been locked.

Partners