Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

500 undefined method stdClass::decrypt()

  • David_B
  • David_B's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 6 days ago #251376 by David_B
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition   Version 6.2.11+231007
Own server or LimeSurvey hosting: hosted on Hostinger web service provider
Survey theme/template: Fruity_Twentythree
PHP version : 
PHP 7.4.33

==================

I have made a new fresh install of Limsurvey 6. I have imported a survey that works fine on Limesurvey 4 and am testing it with 6. When I completed a survey and submitted it, I got this error on the next page:

500: Internal Server Error Call to undefined method stdClass::decrypt()

Any ideas on what I should do differently?

 

Please Log in to join the conversation.

More
6 months 5 days ago #251387 by jelo
Replied by jelo on topic 500 undefined method stdClass::decrypt()
Has the survey admin email notifications activated? If yes, deactivated it and try again. If the issue vanishes, try to to check the email server settings in LimeSurvey and reenter them and save them again.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • David_B
  • David_B's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 5 days ago - 6 months 5 days ago #251390 by David_B
Replied by David_B on topic 500 undefined method stdClass::decrypt()
Thanks jelo.

I have deleted the notification email addresses from the Global Survey settings so they are blank.

I have clicked "Inherit" to OFF in the survey and set the email addresses as blank for basic and detailed notifications .

Still getting the same result but I am also getting an inconsistent error when the survey link opens:

"One or more questions have not been answered in a valid manner. You cannot proceed until these answers are valid."

I can't quite work out what conditions are needed to create this error when I follow the survey link because it doesn't happen every time. When I click "Close"
on this error, no questions are visible. I submit and still get the 500 error.

Any thoughts?
Last edit: 6 months 5 days ago by David_B. Reason: changed OK to CLOSE

Please Log in to join the conversation.

More
6 months 4 days ago #251393 by jelo
Replied by jelo on topic 500 undefined method stdClass::decrypt()
Can you reproduce the main issue with every imported survey? If you create a new survey with a a few questions, is the issue still there?

If it is only a certain survey, I recommend to copy the survey and check again. If the issue still is there, I would recommend to delete parts of the survey and check again.

We cannot rule out bugs inside LimeSurvey. LS 6.3.0 has some issues around SMTP settings and emails. I would recommend to wait till 6.3.1 or above is available before updating.

When submitting a survey, the notification email part is triggered and the SMTP settings are encrypted. So errors around submitting a survey are often caused by something in the mail routines.

If you only have issues with LSS files exported via a LS4 version the survey files itself might contain incompatible data.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • David_B
  • David_B's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 days ago #251412 by David_B
Replied by David_B on topic 500 undefined method stdClass::decrypt()
I have made a survey with only one question. It seems to work OK.

So, you seem to be suggesting that I should reenter the survey anew in version 6?

I will give that a go.

Please Log in to join the conversation.

More
6 months 3 days ago #251413 by jelo
Replied by jelo on topic 500 undefined method stdClass::decrypt()

So, you seem to be suggesting that I should reenter the survey anew in version 6?
 
I wouldn't reenter everything. I would copy the survey, check for issues  and then removing parts to see if the issue vanishes.
Or create a new survey and import parts of the old survey via survey group imports.

It might be an bug in LS 6.X which will be fixed in the next update. We don't know. So reentering a complete survey might be a waste of time.

Copy your survey and start removing parts is a lot easier and quicker to check for issues around certain questions or survey settings.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 3 weeks ago - 5 months 3 weeks ago #251731 by DenisChenu
Replied by DenisChenu on topic 500 undefined method stdClass::decrypt()
Best is to test with debug set, the we can kow exactly what is  the issue.

manual.limesurvey.org/Debug_mode

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 months 3 weeks ago by DenisChenu.

Please Log in to join the conversation.

  • David_B
  • David_B's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 3 weeks ago #251810 by David_B
Replied by David_B on topic 500 undefined method stdClass::decrypt()
Thanks for the suggestions. I did a fresh install of 6.3.2 and it seems to work OK with the imported survey. Sorry I can't describe what fixed it. I have a new issue that I will post separately. Thanks again.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose