Support » Plugin: SportsPress - Sports Club & League Manager » DateTime::__construct(): Failed to parse time string (2017-31-12)

  • Resolved andrea10072


    Hello first time posting, hopefully won’t make mistakes.

    I was configuring my SportPress plugin for the calendar to show events from time x to time y, but i forgot to insert time x and this error is now showing on load “DateTime::__construct(): Failed to parse time string (2017-31-12)”.

    Where can I find the data so to delete the filter and fix the php parse ? I’m now downloading my whole site to local, but it could take quite some time to do such a massive search.

    If somebody could guide me to resolve the issue I would be grateful;

    P.s. the error is now shown in every page which contained the calendar, included the widget

Viewing 2 replies - 1 through 2 (of 2 total)
  • Would it help somebody –
    Found the solution by mistake, so to say, when navigating in the meta table of WP’s DB – Once I did find the ID related to the Calendar post, I changed the ‘from’ clause in the filters, on which Sportpress operates the query (From Date X to Date Y – Show calendars)

    Plugin Support Roch


    I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Kind Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DateTime::__construct(): Failed to parse time string (2017-31-12)’ is closed to new replies.