- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Error after update ( 2.66.0+170619)
- acury
- Topic Author
- Offline
- New Member
Less
More
6 years 9 months ago #156123
by acury
Error after update ( 2.66.0+170619) was created by acury
Hi!
After update to 2.66.0+170619, when i try acess surveys ou active surveys (in admin panel), i´m received this error message:
Internal Server Error
Call to a member function format() on boolean
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
2017-06-20 06:49:38
PHP 7
IIS Windows
SQL Server Database.
Tabks
After update to 2.66.0+170619, when i try acess surveys ou active surveys (in admin panel), i´m received this error message:
Internal Server Error
Call to a member function format() on boolean
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
2017-06-20 06:49:38
PHP 7
IIS Windows
SQL Server Database.
Tabks
The topic has been locked.
- crowland
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #156158
by crowland
Replied by crowland on topic Error after update ( 2.66.0+170619)
I have just installed and have the same issue.
I'm using PHP 5.6, IIS, SQL Server 2014
After some hunting around I resolved it with this change to "application/models/surveys.php" - line 779
original:
return convertDateTimeFormat($this->$attribute, 'Y-m-d', $dateformatdata);
change:
return convertDateTimeFormat($this->$attribute, 'Y-m-d H:i:s.u', $dateformatdata);
Hope that helps until it is fixed.
I'm using PHP 5.6, IIS, SQL Server 2014
After some hunting around I resolved it with this change to "application/models/surveys.php" - line 779
original:
return convertDateTimeFormat($this->$attribute, 'Y-m-d', $dateformatdata);
change:
return convertDateTimeFormat($this->$attribute, 'Y-m-d H:i:s.u', $dateformatdata);
Hope that helps until it is fixed.
The topic has been locked.
- ollehar
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 522
- Thank you received: 108
6 years 9 months ago #156174
by ollehar
Replied by ollehar on topic Error after update ( 2.66.0+170619)
Hi,
Thanks for reporting. Can you give us the exact URL where the problem happens, please?
Thanks for reporting. Can you give us the exact URL where the problem happens, please?
The topic has been locked.
- crowland
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #156175
by crowland
Replied by crowland on topic Error after update ( 2.66.0+170619)
/index.php/admin/survey/sa/listsurveys
The topic has been locked.
- ollehar
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 522
- Thank you received: 108
6 years 9 months ago #156176
by ollehar
Replied by ollehar on topic Error after update ( 2.66.0+170619)
OK, thanks. Can you enable debug = 2 and give us the error message, please? If any.
The topic has been locked.
- frederikprijck
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 1
6 years 9 months ago #156177
by frederikprijck
Replied by frederikprijck on topic Error after update ( 2.66.0+170619)
I confirm, I'm having the same error:
Fatal error: Call to a member function format() on boolean in ...\application\helpers\common_helper.php on line 3897
Fatal error: Call to a member function format() on boolean in ...\application\helpers\common_helper.php on line 3897
The topic has been locked.
- crowland
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #156179
by crowland
Replied by crowland on topic Error after update ( 2.66.0+170619)
Yes, same here. I then traced it back to the call to convertDateTimeFormat in this file "application/models/surveys.php" - line 779
The topic has been locked.
- ollehar
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 522
- Thank you received: 108
6 years 9 months ago #156180
by ollehar
Replied by ollehar on topic Error after update ( 2.66.0+170619)
Fixing commit:
github.com/LimeSurvey/LimeSurvey/commit/...dd2449d572c3cbc24033
Please monkey patch manually or wait for us to release.
Please monkey patch manually or wait for us to release.
The topic has been locked.