View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19983Bug reportsPrint Viewpublic2025-02-28 03:12
Reportertassoman Assigned Toadamzammit  
PrioritynoneSeverityminor 
Status closedResolutionduplicate 
Product Version6.6.x 
Fixed in Version6.6.x 
Summary19983: List of PHP 8.2 deprecations in library TCPDF (quexml)
Description

While testing my installation, got a list of deprecations, while viewing QUEXML PDF of my survey answers.


Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2109
Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2110
Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2115
Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2119
Deprecated: end(): Calling end() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 1992
Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2081
Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2099
Deprecated: current(): Calling current() on an object is deprecated in /opt/app-root/src/application/libraries/admin/quexmlpdf.php on line 2100
TCPDF ERROR: Some data has already been output, can't send PDF file

Steps To Reproduce

Steps to reproduce

  • install LS 6.10.x
  • create a survey
  • put some questions in it
  • activate survey
  • start answering questions
  • end answering
  • click: button print QUEXML
  • see: new window php deprecation errors, instead of PDF output.

Expected result

as participant I would like to see my quexml survey result when i click print quexml pdf button

Actual result

List of PHP deprecation errors.

Tagsanswers, deprecation, PDF, PHP, survey
Bug heat4
Complete LimeSurvey version number (& build)6.10.1
I will donate to the project if issue is resolvedNo
BrowserAny
Database type & versionAny
Server OS (if known)Any
Webserver software & version (if known)Apache
PHP Version8.2.25

Relationships

duplicate of 19839 closedtibor.pacalat Exporting a survey to PDF will result in PHP error 

Users monitoring this issue

tassoman

Activities

adamzammit

adamzammit

2025-02-28 03:10

developer   ~82161

This issue was fixed in https://bugs.limesurvey.org/view.php?id=19839 - that appears in release 6.10.3

Please upgrade to the latest version of LS for the fix.

adamzammit

adamzammit

2025-02-28 03:12

developer   ~82162

Hello tassoman,
This should already be fixed in recent versions.
Can you please check if this issue still exists in the latest version of LimeSurvey and let us know?
Thank you!

Issue History

Date Modified Username Field Change
2025-02-27 18:43 tassoman New Issue
2025-02-27 18:44 tassoman Issue Monitored: tassoman
2025-02-27 18:44 tassoman Bug heat 0 => 2
2025-02-27 18:49 tassoman Tag Attached: PDF
2025-02-27 18:49 tassoman Tag Attached: survey
2025-02-27 18:49 tassoman Tag Attached: answers
2025-02-27 18:49 tassoman Tag Attached: deprecation
2025-02-27 18:49 tassoman Tag Attached: PHP
2025-02-28 03:08 adamzammit Assigned To => adamzammit
2025-02-28 03:08 adamzammit Status new => assigned
2025-02-28 03:08 adamzammit Relationship added related to 19839
2025-02-28 03:10 adamzammit Note Added: 82161
2025-02-28 03:10 adamzammit Bug heat 2 => 4
2025-02-28 03:12 adamzammit Status assigned => closed
2025-02-28 03:12 adamzammit Resolution open => duplicate
2025-02-28 03:12 adamzammit Fixed in Version => 6.6.x
2025-02-28 03:12 adamzammit Note Added: 82162
2025-02-28 03:12 adamzammit Relationship replaced duplicate of 19839