View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19839 | Bug reports | Import/Export | public | 2024-11-19 11:48 | 2024-11-20 10:04 |
Reporter | Ulysseus Digital Unit | Assigned To | |||
Priority | none | Severity | minor | ||
Status | ready for testing | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 19839: Exporting a survey to PDF will result in PHP error | ||||
Description | When trying to export a survey, I get a PHP error | ||||
Steps To Reproduce | Steps to reproduceLimesurvey with recent PHP8. Expected resultPDF download Actual resultPHP error in /var/www/html/application/librarires/admin/quexmlpdf.php (1992) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | LimeSurvey Community Edition Version 6.4.3+240122 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | |||||
Database type & version | mariadb Ver 15.1 Distrib 10.5.8-MariaDB | ||||
Server OS (if known) | Ubuntu | ||||
Webserver software & version (if known) | Apache2 | ||||
PHP Version | 8.1.27 | ||||
sorry it's wrongly categorized as 6.6.x whereas it's 6.4.3+240122 |
|
Please update to the latest version and check if the bug can still be reproduced. Thank you. |
|
I can reproduce this on the latest version - if debug level is set to 1 or 2. The issue is that the functions end() and current() are deprecated on objects from PHP 8.1 So this isn't an error as yet, but a warning that is being converted to an error. I've written a patch that will fix these warnings too - pull request coming. For now running in non-debug mode (or where you don't print deprecation notices to the screen via config in PHP) will fix this. |
|
Great, thank you! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-11-19 11:48 | Ulysseus Digital Unit | New Issue | |
2024-11-19 11:48 | Ulysseus Digital Unit | File Added: image.png | |
2024-11-19 11:48 | Ulysseus Digital Unit | File Added: image-2.png | |
2024-11-19 12:23 | Ulysseus Digital Unit | Note Added: 81423 | |
2024-11-19 12:23 | Ulysseus Digital Unit | Bug heat | 0 => 2 |
2024-11-19 13:29 | c_schmitz | Assigned To | => adamzammit |
2024-11-19 13:29 | c_schmitz | Status | new => assigned |
2024-11-19 13:29 | c_schmitz | Note Added: 81424 | |
2024-11-19 13:29 | c_schmitz | Bug heat | 2 => 4 |
2024-11-20 01:39 | adamzammit | Note Added: 81445 | |
2024-11-20 01:39 | adamzammit | Bug heat | 4 => 6 |
2024-11-20 01:49 | adamzammit | Note Added: 81446 | |
2024-11-20 10:04 | c_schmitz | Note Added: 81450 | |
2024-11-20 10:04 | c_schmitz | Assigned To | adamzammit => |
2024-11-20 10:04 | c_schmitz | Status | assigned => ready for testing |