Main menu

Forum


× Help Forum English

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

  • Mick_20
  • Autore della discussione
  • New Member
  • New Member
Di più
1 Anno 4 Mesi fa - 1 Anno 2 Mesi fa #18084 da 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?
Ultima Modifica 1 Anno 2 Mesi fa da Lyr!C. Motivo: [SOLVED]

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Anno 4 Mesi fa #18087 da Lyr!C
Risposta da Lyr!C al 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.4
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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Mick_20
  • Autore della discussione
  • New Member
  • New Member
Di più
1 Anno 4 Mesi fa - 1 Anno 4 Mesi fa #18090 da Mick_20
Risposta da Mick_20 al 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"
Ultima Modifica 1 Anno 4 Mesi fa da Mick_20.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Anno 4 Mesi fa #18110 da Lyr!C
Risposta da Lyr!C al 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.4
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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Anno 3 Mesi fa #18121 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Nome del file: pkg_iCagen...3-27.zip
Dimensione del file:2,471 KB

Latest version : iCagenda 3.9.4
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 allegato:

Allegati:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • gen2023
  • New Member
  • New Member
Di più
1 Anno 2 Mesi fa #18156 da gen2023
Risposta da gen2023 al topic Call to a member function format() on bool
Hello. faced exactly the same problem in Russian.

Joomla! 3.10.11iCagenda 3.8.16
 

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Anno 2 Mesi fa #18157 da Lyr!C
Risposta da Lyr!C al 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.4
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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Anno 2 Mesi fa #18161 da Lyr!C
Risposta da Lyr!C al 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.4
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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Anno 2 Mesi fa #18162 da Lyr!C
Risposta da Lyr!C al 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.4
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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.300 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new