Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

The error code HTTP 500 Internal Server Error is a general-purpose message this indicates a general error in a web application. Please note that there is no general solution for this general error. You should first read HTTP 500 Internal Server Error before posting in this category.

Merged [Merged topic] Fatal Error: Cannot use object of type stdClass as array in plugins/user/profile/profile.php

More
14 years 8 months ago - 14 years 1 month ago #107125 by LightYarn
Hello everybody

Every time a user tries to edit his profile, the server shows up a 500-Internal-Server-Error. No matter which part you edit. If you hit "save" the error appears.

The full error message is:

500 Internal Server Error. Fatal Error was detected!

Fatal Error: Cannot use object of type stdClass as array in plugins/user/profile/profile.php on line 265

The error was detected in the User - Profile Plugin.


I am using Joomla 1.7 and Kunena 1.7


Greetings and thank you for your help
Last edit: 14 years 1 month ago by sozzled. Reason: Change topic icon

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

More
14 years 8 months ago #107177 by xillibit
Hello,

Never seen before this kind of error message, are-you using default template for Kunena and Joomla! ?

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
14 years 8 months ago - 14 years 8 months ago #107183 by LightYarn
I am using Kunena with the default template yes, but my Joomla-page has a default one. The URL is www.rdy2play.de if this helps...

Moreover I am using K2, but with a disabled "K2 User Plugin" so actually the users are administrated trough the standard Joomla User System.
Last edit: 14 years 8 months ago by LightYarn.

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

More
14 years 8 months ago #107262 by xillibit
So is it working now?

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
14 years 8 months ago #107263 by LightYarn
Uuuh no, actually i didn't change anything. I disabled the K2 User-Plugin before I installed Kunena (it threw some errors before, so i changed back to the joomla-user-system)

The error message is pointing to the standard "profile.php"

Fatal Error: Cannot use object of type stdClass as array in plugins/user/profile/profile.php on line 265

If the error would be caused by K2 the path would be something like "plugins/user/k2". I cant really see whats the Problem with line 265.
Code:
//Sanitize the date if (!empty($data['profile']['dob'])) { $date = new JDate($data['profile']['dob']); $data['profile']['dob'] = $date->toFormat('%Y-%m-%d'); }

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

More
14 years 8 months ago #107453 by LightYarn
I don't want to doubble-post but I found something like a "workaround" for this problem, which might be come in handy for people with the same issues. Its no fix, I know, but editing a profile is now working properly.

Line 265 in the profile.php contains a function which "sanitizes" the a date format. I just commented this function out. Formatting a date is much less important than editing your user profile in Kunena....at least for me. Moreover all user services and functions from joomla AND K2 are working properly too.

Seems to work now, even if this "fix" is just a cheap solution.

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

Time to create page: 0.308 seconds