Main menu
× Help Forum English

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

  • Mick_20
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 1 an 2 semaines - il y a 10 mois 2 semaines #18084 par 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?
Dernière édition: il y a 10 mois 2 semaines par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

 

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 1 an 2 semaines #18087 par Lyr!C
Réponse de Lyr!C sur le sujet 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.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Mick_20
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 1 an 2 semaines - il y a 1 an 2 semaines #18090 par Mick_20
Réponse de Mick_20 sur le sujet 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"
Dernière édition: il y a 1 an 2 semaines par Mick_20.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 1 an 2 semaines #18110 par Lyr!C
Réponse de Lyr!C sur le sujet 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.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 1 an 1 jour #18121 par Lyr!C
Réponse de Lyr!C sur le sujet 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

 

Fichier attaché :

Nom du fichier : pkg_iCagen...3-27.zip
Taille du ficher :2,471 ko

Latest version : iCagenda 3.9.2
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) .

Fichier attaché :

Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

  • gen2023
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 10 mois 3 semaines #18156 par gen2023
Réponse de gen2023 sur le sujet Call to a member function format() on bool
Hello. faced exactly the same problem in Russian.

Joomla! 3.10.11iCagenda 3.8.16
 

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 mois 3 semaines #18157 par Lyr!C
Réponse de Lyr!C sur le sujet 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.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 mois 2 semaines #18161 par Lyr!C
Réponse de Lyr!C sur le sujet 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.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 mois 2 semaines #18162 par Lyr!C
Réponse de Lyr!C sur le sujet 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.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.187 secondes

 

Follow Us

acymailing logo new

Créez vos templates Joomla avec Template Creator CK