- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
500 undefined method stdClass::decrypt()
- David_B
- Topic Author
- Offline
- New Member
Less
More
6 months 6 days ago #251376
by David_B
500 undefined method stdClass::decrypt() was created 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?
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?
Attachments:
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
6 months 5 days ago #251387
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
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?
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
6 months 4 days ago #251393
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
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.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
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.
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
6 months 3 days ago #251413
by jelo
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
Replied by jelo on topic 500 undefined method stdClass::decrypt()
I wouldn't reenter everything. I would copy the survey, check for issues and then removing parts to see if the issue vanishes.So, you seem to be suggesting that I should reenter the survey anew in version 6?
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 months 3 weeks ago - 5 months 3 weeks ago #251731
by DenisChenu
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.
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
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.