Keyword

DateTime::__construct(): Failed to parse time string (10.30.2011) at position 8

  • saovry
  • saovry's Avatar Topic Author
  • Offline
  • Senior Member
More
2 years 11 months ago #178573 by saovry
Users still can add items in the category very well but it is an error when we want to view items category. We get this error.

DateTime::__construct(): Failed to parse time string (10.30.2011) at position 8 (1): Unexpected character
/home/admin/public_html/khmercdp.org/libraries/src/Date/Date.php (112)
An error has occurred while processing your request.You may not be able to visit this page because of:
  • an out-of-date bookmark/favourite
  • mistyped address
  • a search engine that has an out-of-date listing for this site
  • you have no access to this page

thank

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

More
2 years 11 months ago #178582 by JoomlaWorks
You should ask about this on the Joomla forum. As you can see from the file path, it's not related to K2.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • saovry
  • saovry's Avatar Topic Author
  • Offline
  • Senior Member
More
2 years 10 months ago - 2 years 10 months ago #178946 by saovry
Hello Fotis, 
I contacted with Joomla forum and they don’t know the really problem also.
Now I just try to disable plugins and K2 Items. Now I just know the problem is with Extra Fields of Date when I disable it, my website working perfect.

And my client need this field so I can’t disable it to make the whole website working because they insert many data already.

Do you have any ideas to help me Fotis..?

Here is the video 
www.dropbox.com/s/9k0eiugn6igi2q1/date_of_birth.mov?dl=0

My detail PHP version7.4.15Database version5.7.33  K2 v2.10.4 [Dev Build 20210205]
Last edit: 2 years 10 months ago by saovry.

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

More
2 years 10 months ago #178967 by JoomlaWorks
Could be the language file you have or some override that relates to dates. Can you tell me your language setup in Joomla and if you've downloaded any K2 language packs from getk2.org/extend/translations?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • saovry
  • saovry's Avatar Topic Author
  • Offline
  • Senior Member
More
2 years 10 months ago #178971 by saovry
Thank you for your respond
I never download  any translations from the link you showed me. And this version   K2 v2.10.4 [Dev Build 20210205]  was from you. You sent to me.
 

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

More
2 years 10 months ago #178984 by JoomlaWorks
Since the pages fail entirely, the problem could then be in some plugin or module or even your template. You need to search where a date is referenced on the K2 item view.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • saovry
  • saovry's Avatar Topic Author
  • Offline
  • Senior Member
More
2 years 10 months ago #179019 by saovry
I am using this plugin Multiple Categories for K2 – Joomla! plugin is it a problem or not? I disable it and run the page again but I still see the error
DateTime::__construct(): Failed to parse time string (10.30.2011) at position 8
thank 

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

More
2 years 9 months ago #179046 by JoomlaWorks
You have date parsing issues as I explained in the other post of yours. You need to figure this one out on your own. Start with the customizations you did in the first place, anywhere in K2 or the template.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum