Main menu

Forum


× Help Forum English

[SOLVED][Lang pack issue] Call to a member function format() on bool

  • Mick_20
  • Topic Author
  • New Member
  • New Member
More
1 year 6 months ago - 1 year 4 months ago #18084 by Mick_20
Hello,

I recently installed the free version !Cagenda on Joomla 3.10.11 and immediately when creating the first event I got an error:
Call to a member function format() on bool

See screenshot


Can you help me figure this out?
Last edit: 1 year 4 months ago by Lyr!C. Reason: [SOLVED]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
1 year 6 months ago #18087 by Lyr!C
Replied by Lyr!C on topic Call to a member function format() on bool
Hello,

First, try with turning on error reporting option of Joomla as well as debug mode to get more informations on the issue.

And after, do a test with English language.
As it's maybe due to a missing functionnality in Joomla 3, which could give trouble with some languages (just found one with cz-CZ).

Joomla 4 is not concerned by this issue.

Best regards,
Cyril

Latest version : iCagenda 3.9.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Mick_20
  • Topic Author
  • New Member
  • New Member
More
1 year 6 months ago - 1 year 6 months ago #18090 by Mick_20
Replied by Mick_20 on topic Call to a member function format() on bool
Replaced the date strings in the administrator /ru_RU/ru-RU.ini file with a different format

from
;DATE_FORMAT_CALENDAR_DATE="%d-%m-%Y"
;DATE_FORMAT_CALENDAR_DATETIME="%d-%m-%Y %H:%M:%S"
;DATE_FORMAT_FILTER_DATE="d.m.Y"
;DATE_FORMAT_FILTER_DATETIME="d-m-Y, H:i:s"

to
DATE_FORMAT_CALENDAR_DATE="%Y-%m-%d"
DATE_FORMAT_CALENDAR_DATETIME="%Y-%m-%d %H:%M:%S"
DATE_FORMAT_FILTER_DATE="Y-m-d"
DATE_FORMAT_FILTER_DATETIME="Y-m-d H:i:s"
Last edit: 1 year 6 months ago by Mick_20.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
1 year 6 months ago #18110 by Lyr!C
Replied by Lyr!C on topic Call to a member function format() on bool
Hello,

I think you don't need to edit language strings with latest iCagenda version, which includes the patch for J3 ;-)

Best regards,
Cyril

Latest version : iCagenda 3.9.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
1 year 6 months ago #18121 by Lyr!C
Replied by Lyr!C on topic Call to a member function format() on bool
Hello,

There's an issue in last version if submit form send and no date entered for period...

Attached a version with a patch (which will be included in next version 3.8.16 coming soon).
If you could install it and test it to confirm issue is fixed ?

Thank you!
Best regards,
Cyril

 

File Attachment:

File Name: pkg_iCagen...3-27.zip
File Size:2,471 KB

Latest version : iCagenda 3.9.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Attachments:

Please Log in or Create an account to join the conversation.

  • gen2023
  • New Member
  • New Member
More
1 year 5 months ago #18156 by gen2023
Replied by gen2023 on topic Call to a member function format() on bool
Hello. faced exactly the same problem in Russian.

Joomla! 3.10.11iCagenda 3.8.16
 

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
1 year 5 months ago #18157 by Lyr!C
Replied by Lyr!C on topic Call to a member function format() on bool

Hello. faced exactly the same problem in Russian.

Joomla! 3.10.11iCagenda 3.8.16

 
Hello,
Could you confirm that with another language (English for example), you don't have the issue?
Best regards,
Cyril
 

Latest version : iCagenda 3.9.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
1 year 4 months ago #18161 by Lyr!C
Replied by Lyr!C on topic Call to a member function format() on bool
Hi!

I was able to reproduce the issue, and working on a fix for next release 3.8.17 ;-)

Cyril

Latest version : iCagenda 3.9.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
1 year 4 months ago #18162 by Lyr!C
Replied by Lyr!C on topic Call to a member function format() on bool
So, the issue is not in iCagenda, but the ru-RU language pack for J3.

Mick was is the good way!

The error is having a different format for date and datetime strings for calendar picker filters.

The solution is to replace J3 strings by J4 strings in file ROOT/administrator/language/ru-RU/ru-RU.ini on lines 1009 to 1012.

Replace this:
DATE_FORMAT_CALENDAR_DATE="%d-%m-%Y"
DATE_FORMAT_CALENDAR_DATETIME="%d-%m-%Y %H:%M:%S"
DATE_FORMAT_FILTER_DATE="d.m.Y"
DATE_FORMAT_FILTER_DATETIME="d-m-Y, H:i:s"

By this (J4 strings):
DATE_FORMAT_CALENDAR_DATE="%d.%m.%Y"
DATE_FORMAT_CALENDAR_DATETIME="%d.%m.%Y, %H:%M:%S"
DATE_FORMAT_FILTER_DATE="d.m.Y"
DATE_FORMAT_FILTER_DATETIME="d.m.Y, H:i:s"

Hope this helps?

Would be good to inform ru-RU translation team ;-)

Best regards,
Cyril


 

Latest version : iCagenda 3.9.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.174 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new