Fatal error: Call to a member function format() on boolean in /var/www/html/lime

More
4 months 2 weeks ago #155617 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
Sure, it's still a bug that needs to be fixed.

Please Log in to join the conversation.

More
4 months 2 weeks ago #155626 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
Can you confirm this: The bug only happens when you click "Next" and then "Previous" and then "Next" again (going to the next question group then back then forward).

Please Log in to join the conversation.

More
4 months 2 weeks ago #155630 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
I supplied a fix. Please pull and test.

Please Log in to join the conversation.

More
4 months 2 weeks ago #155633 by mferraz
mferraz replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
Perfect! It's working now!

Thank you once more :)
The following user(s) said Thank You: LouisGac

Please Log in to join the conversation.

More
4 months 1 week ago #155949 by mferraz
mferraz replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
It seems that we're getting the same behaviour on other survey. :(

Limesurvey version: 2.65.6+170615


I'm sending the survey in attach
Attachments:

Please Log in to join the conversation.

More
4 months 1 week ago #155950 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
Thanks for reporting, will check right now.
The following user(s) said Thank You: mferraz

Please Log in to join the conversation.

More
4 months 1 week ago #155952 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
I pushed a fix. Please pull and try again.
The following user(s) said Thank You: mferraz

Please Log in to join the conversation.

More
4 months 1 week ago #155953 by mferraz
mferraz replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
It seems to be working! Thank you again for your quick reply!

Please Log in to join the conversation.

More
4 months 1 week ago #155954 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
Do you have any default values for your first datetime question?

Please Log in to join the conversation.

More
4 months 1 week ago #155955 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
Caused by default answer {date('Y-m-d')}.

Please Log in to join the conversation.

More
4 months 1 week ago #155956 by mferraz
mferraz replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
I think I've used 7 of June.

Please Log in to join the conversation.

More
4 months 1 week ago #155958 by olle
olle replied the topic: Fatal error: Call to a member function format() on boolean in /var/www/html/lime
After the fix, you need to use this expression in default answer for it to work:

{date('Y-m-d H:i')}
The following user(s) said Thank You: mferraz

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now