Read before updating: How to Update Kunena Templates - More detail

User Profile view produces errors with Kunena 5.1

dexter33's Avatar Topic Author
Premium Member Premium Member
  • Posts: 84
  • Thanks: 5

User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#12970
Hi everyone

I would like to know if other Kunena 5.1 users are experiencing the same error as myself ?

I installed Kunena 5.1 and the update to NTS Kay theme (v5.2.1) on my test website, which is carbon copy of my live website.
I am experiencing a major error, when I go to the Members list and select a User Profile.
I cannot work out if this problem is being caused by Kunena 5.1 or NTS Kay 5.2.1 ?
I have already posted a message on the official Kunena Support Forum and am waiting for a reply.
Here is a direct link to my message on the Kunena Forums:
www.kunena.org/forum/k5-1-support/151297...pgrade-to-kunena-5-1

The problem seems to affect about 80% of the Members on my forum, but about 20% of the oldest accounts are not experiencing any errors.

Here is an example from my test website, of a user profile that is producing errors:
www.moviestudiozen.com/msz_test1/forum/user/47-cebwdlive

Here is an example of a user profile that is working OK:
www.moviestudiozen.com/msz_test1/forum/user/42-doctorzen

During my testing, I discovered something weird.
If I turn on the Joomla Debug System, the error goes away and all User Profiles display correctly.

This is what the error page looks like:


Regards
Derek
Don't panic!

Attachments:

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

dexter33's Avatar Topic Author
Premium Member Premium Member
  • Posts: 84
  • Thanks: 5

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#12971
**NEW UPDATE**

I discovered something just now, that I should have checked before this !
The problem only occurs when forum members are logged in.
If a User Profile that is displaying the errors is viewed in Public view (not logged in), the page displays correctly with no errors.
Don't panic!

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

Huyen Nguyen's Avatar
Moderator Moderator
  • Posts: 558
  • Thanks: 140

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#12983
Hi,

Thank you about bug report. We will check this case our local.

Best regards,
Huyen Nguyen
Nice Theme Store's Support Department.
Support email: 9themestore[at]gmail.com
** Please post your site url here if it has been lived **

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

dexter33's Avatar Topic Author
Premium Member Premium Member
  • Posts: 84
  • Thanks: 5

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#12997
Hi Huyen

One of the Kunena Moderators at www.kunena.org/ logged into my test Kunena Forum site and investigated the problem.
Apparently this bug is being caused by a Template problem - I think the same problem existed in Crypsis and Crypsisb3.

Rich from Kunena.org said this:
www.kunena.org/forum/k5-1-support/151297...to-kunena-5-1#200237
I've installed a nev dev-build now. This error should be fixed with Kunena templates, but also your NTS_Kay template need a update. Please contact the author of this template.

Other users are also seeing the same problem.
User Profiles can be viewed OK in public mode, but don't work when a user logins in.

I will wait for a new NTS Kay theme build version from you guys...
Thank you.
Don't panic!

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

dexter33's Avatar Topic Author
Premium Member Premium Member
  • Posts: 84
  • Thanks: 5

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#13064
Are there any updates about when this problem with NTS Kay theme will be fixed ?

Until this bug is fixed, I am not able to update my forum to the latest build version of Kunena.
Users need to be able to view and edit their profile.

Thank you.
Don't panic!

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

dexter33's Avatar Topic Author
Premium Member Premium Member
  • Posts: 84
  • Thanks: 5

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#13112
I case this helps, when I go to a User Profile and page produces errors, here is the error report from server logs:

/administrator/logs/kunena.php

2018-06-08 23:49:05 CRITICAL 202.161.104.114 kunena Rendering Error in layout User/Attachments: Call to a member function getFilename() on null in /hsphere/local/home/morezen1/moviestudiozen.com/msz_test1/libraries/kunena/layout/base.php on line 166 called from /hsphere/local/home/morezen1/moviestudiozen.com/msz_test1/libraries/kunena/layout/layout.php on line 79
Don't panic!

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

redcardell's Avatar
New Member New Member
  • Posts: 7
  • Thanks: 2

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#13136
After updating to NTSKay 5.2.2 again 500 Internal Server Error after calling the user profile.:

Kunena Logs

Kunena Error ID:74

{
"type": 1,
"message": "Call to a member function getFilename() on null",
"file": "/var/www/vhosts/*******/httpdocs/*******/components/com_kunena/template/nts_kay/layouts/user/attachments/default.php",
"line": 147
}

Attachments:

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

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: User Profile view produces errors with Kunena 5.1

7 years 10 months ago
#13137
Hi redcardell,

Please try to uninstall the NTS Kay template on your site and install the NTS Kay template version 5.2.2 again. It's working fine on your localhost.

If error still appear on your site, send us your site url we'll help you check this issue.

Best regards,
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore

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

Time to create page: 0.308 seconds