103 Posts
Osep45
8 years ago
3
Topic

Hi,

I have updating my site in Seblod 3.8.1 : I can create new article, but when I try to see them in front-end, I have a blank page with this message :

0 - DateTime::__construct(): Failed to parse time string

It doesn't happen with the articles that were created before the update.

I notice that, in these new articles, the publishing date has no seconds, so the publishing date is older that the created date.

For example : 

publishing date : 

2016-05-14 16:41:00

created date :

2016-05-14 16:41:34

Unfortunatly, when I change the created date, it doesn't fix the bug.

Could you give a fix please ?

Thanks in advance,

Osep45

Joomla 3.5.1

Seblod 3.8.1

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
0
Level 1

Hi,

check what you have set as default value or live value on those fields.

103 Posts
Osep45
8 years ago
1
Level 1

Hi,

After many tests, I discover that the problem is :

> in the search list 

> tab "Search"

> when I search with a calendar field, 

[2] valeur dynamique : "Date et heure"

[3] Correspondance : n'importe laquelle... disons "Strictement postérieure (>)"

Could you give a fix please ?

Thanks in advance,

PS : I had this list in a module on the same page of my content view : so, I though that the problem was coming from my content type... but it doesn't : no module > no problem !

4229 Posts
Kadministrator
8 years ago
0
Level 2

Your problem is most likely in live value, from what I know there is no such thing as "Date et heure" live value.You need to set it to "now" (in english).  See attached manual.

Get a VIP membership