View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18404 | Bug reports | Question editor | public | 2022-10-06 19:42 | 2022-10-12 14:44 |
| Reporter | leober | Assigned To | gabrieljenik | ||
| Priority | high | Severity | block | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 5.4.x | ||||
| Summary | 18404: Error after copying question: Trying to property 'language' of non-object | ||||
| Description | Your LimeSurvey version: Own server or LimeSurvey hosting: Survey theme/template: After copying a question from any survey, I get this error: "Trying to property 'language' of non-object." I updated to LimeSurvey 5.4.4, and now there is no option to copy questions. Am I missing something? | ||||
| Steps To Reproduce | Step 1: Step 2: Step 3: Step 4: Step 5: (Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected resultSurvey question copied Actual resultI get this error: "Trying to property 'language' of non-object" I'm attaching a screenshot of the actual error. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 5.4.4 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | Chrome / Version 106.0.5249.91 | ||||
| Database type & version | MariaDB - 10.3.36 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | cPanel & WHM v106.0.8 | ||||
| PHP Version | 7.4 | ||||
| related to | 18394 | confirmed | Sometimes, when creating/copying questions, code dump can ocurr | |
| related to | 18323 | closed | gabrieljenik | When copying a question with sub-questions, the sub-questions are not copied |
|
Is the survey active? |
|
|
Yes, that's right. My main issue after updating to the latest version 5.4.4 is that the error persists and now when I drag questions downward things get mucked up. It was a bad idea to update without testing, I might need to revert to a previous version. Any thoughts? |
|
|
Are you describing a separate bug related to organizing questions? That is, changing question position. |
|
|
Which version did you update from? |
|
|
Does this happen with a plain simple survey? |
|
|
I was able to fix the issue by deploying a new Moodle instance with the latest update. I had to manually replicate all the settings I have in the current instance. I assume that after updating, something went wrong in the database. Now everything is working as expected. You can close the issue. Thanks anyway for your help! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-10-06 19:42 | leober | New Issue | |
| 2022-10-06 19:42 | leober | File Added: PHP notice error.jpg | |
| 2022-10-06 19:43 | leober | Issue Monitored: leober | |
| 2022-10-06 19:43 | leober | Bug heat | 0 => 2 |
| 2022-10-07 09:21 | ollehar | Priority | none => high |
| 2022-10-07 09:22 | ollehar | Note Added: 72158 | |
| 2022-10-07 09:22 | ollehar | Bug heat | 2 => 4 |
| 2022-10-07 12:06 | leober | Note Added: 72161 | |
| 2022-10-07 12:06 | leober | Bug heat | 4 => 6 |
| 2022-10-07 15:28 | ollehar | Note Added: 72163 | |
| 2022-10-07 15:29 | ollehar | Note Added: 72164 | |
| 2022-10-12 01:30 | gabrieljenik | Relationship added | related to 18394 |
| 2022-10-12 01:31 | gabrieljenik | Relationship added | related to 18323 |
| 2022-10-12 01:35 | gabrieljenik | Note Added: 72209 | |
| 2022-10-12 01:35 | gabrieljenik | Bug heat | 6 => 8 |
| 2022-10-12 02:10 | leober | Note Added: 72210 | |
| 2022-10-12 14:44 | gabrieljenik | Assigned To | => gabrieljenik |
| 2022-10-12 14:44 | gabrieljenik | Status | new => closed |
| 2022-10-12 14:44 | gabrieljenik | Resolution | open => no change required |