Welcome to the LimeSurvey Community Forum

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

Add survey - Copy - 500: Internal Server Error XMLWriter::startElement()

  • cavo789
  • cavo789's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 months 3 weeks ago #260124 by cavo789
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.5.1
Own server or LimeSurvey hosting: own
==================
We've migrated from LS 3.x to 6.4.2 and we got a fatal error when creating a new survey and using the "Copy" feature.

I've then upgrade from 6.4.2 to 6.5.1 and the error remains on page `/index.php/surveyAdministration/copy`

I'm running on PHP 8.1.27.  As far I understand, the problem comes from the codebase; using an invalid datatype when calling a function.





I found `"POST /index.php/surveyAdministration/copy HTTP/1.1" 500 7184` in my access log but nothing in the /etc/logs/error_log file; sorry.

Please Log in to join the conversation.

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 2 weeks ago #260256 by Mazi
Some follow up questions:

1. Can you create or import a survey?

2. What happens if you export and then import this survey or a different survey?

3. Can you break it down to certain surveys only?

4. Can you provide your problematic survey as LSS file for testing?

Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!

Please Log in to join the conversation.

  • cavo789
  • cavo789's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 months 1 week ago #261040 by cavo789
First of all, my apologies to have forgot to answer.

I can create a new survey and also duplicate another one. The problem was only by duplicating a given one.

The problem was discovered by my user i.e. someone in my company who create surveys. Since it was just a test on that moment, we agreed to not look further on this.

I think, for confidentiality reasons, I'm not allowed to export the survey and share it so, right now and until the user will ask to be able to clone that specific survey, I'm going to leave things as they are.

Perhaps the bug / problem will disappear in a next release of LimeSurvey.

Thanks Marcel for your answer.

Please Log in to join the conversation.

More
1 month 3 weeks ago #269148 by lintu
Hello,

Have you been able to resolve this issue? If so, how?

I am also getting a similar error while copying existing surveys:

500: Internal Server Error XMLWriter::writeElement(): Argument #2 ($content) must be of type ?string, stdClass given

Thanks.

Please Log in to join the conversation.

  • cavo789
  • cavo789's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 3 weeks ago #269150 by cavo789
Hi

That error was reported by someone and he didn't come back to me so no, no idea if it was a one shoot or not.
The following user(s) said Thank You: lintu

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose