-
I received the below error when I try to open /wp-admin/admin.php?page=rank-math-search-console.
Uncaught Exception: DateTime::__construct(): Failed to parse time string (۱۳۹۸-۱۲-۲۹ ۰۲:۰۶:۴۵) at position 0 (�): Unexpected character in /home/yavaria1/public_html/wp-content/plugins/seo-by-rank-math/includes/class-helper.php on line 77
As you know the date_i18n retrieves the date in a localized format. First, I thought the date library not compatible with the Persian date. therefore, I’ve used the date instead of date_i18n and fixed the error but I see the date box didn’t load on the left side.
So, I guessed a plugin makes conflict there, that was wp_parsi that convert date from Georgia to Persian date. I deleted it and everything is good now!
However, maybe there was a better way to use plugins together, but I don’t know, now!
The ticket ‘Failed to parse time string – persian date’ is closed to new replies.