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

More
1 year 4 months ago #155617 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months ago #155626 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months ago #155630 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months 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 or Create an account to join the conversation.

More
1 year 4 months 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 or Create an account to join the conversation.

More
1 year 4 months ago #155950 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months ago #155952 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months 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 or Create an account to join the conversation.

More
1 year 4 months ago #155954 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months ago #155955 by ollehar
ollehar 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 or Create an account to join the conversation.

More
1 year 4 months 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 or Create an account to join the conversation.

More
1 year 4 months ago #155958 by ollehar
ollehar 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 or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!