View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
18963Bug reportsSurvey editingpublic2023-07-31 15:02
Reporterjweberhofer Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version6.1.x 
Summary18963: On PHP 8.2 new DateTime() can not be invoked with null
Description

Showing the survey list as admin results in:


Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in XXX/limesurvey/application/models/Survey.php on line 1169
TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)6.1.8+230717
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmariadb
Server OS (if known)
Webserver software & version (if known)
PHP Version8.2.7

Users monitoring this issue

There are no users monitoring this issue.

Activities

jweberhofer

jweberhofer

2023-07-19 15:39

reporter   ~76149

Fix in pull request 3291

DenisChenu

DenisChenu

2023-07-19 19:31

developer   ~76175

https://github.com/LimeSurvey/LimeSurvey/pull/3291

guest

guest

2023-07-21 12:40

viewer   ~76214

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35199

tibor.pacalat

tibor.pacalat

2023-07-21 12:40

administrator   ~76215

Tested and merged.

LimeBot

LimeBot

2023-07-31 15:02

administrator   ~76368

Fixed in Release 6.2.0+230732

Related Changesets

LimeSurvey: master 7ae2b783

2023-07-21 14:39

jweberhofer

Committer: GitHub


Details Diff
Fixed issue 18963: On PHP 8.2 new DateTime() can not be invoked with null (#3291) Affected Issues
18963
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2023-07-19 15:38 jweberhofer New Issue
2023-07-19 15:39 jweberhofer Note Added: 76149
2023-07-19 15:39 jweberhofer Bug heat 0 => 2
2023-07-19 19:31 DenisChenu Note Added: 76175
2023-07-19 19:31 DenisChenu Bug heat 2 => 4
2023-07-19 19:31 DenisChenu Assigned To => tibor.pacalat
2023-07-19 19:31 DenisChenu Status new => ready for testing
2023-07-21 12:40 jweberhofer Changeset attached => LimeSurvey master 7ae2b783
2023-07-21 12:40 guest Note Added: 76214
2023-07-21 12:40 guest Bug heat 4 => 6
2023-07-21 12:40 tibor.pacalat Status ready for testing => resolved
2023-07-21 12:40 tibor.pacalat Resolution open => fixed
2023-07-21 12:40 tibor.pacalat Note Added: 76215
2023-07-21 12:40 tibor.pacalat Bug heat 6 => 8
2023-07-31 15:02 LimeBot Note Added: 76368
2023-07-31 15:02 LimeBot Status resolved => closed
2023-07-31 15:02 LimeBot Bug heat 8 => 10