I can’t access Search console

#46532
  • Resolved Payam
    Rank Math free

    Hi. When I click on Search console this I got error. and this is the log:

    Error Details
    =============
    An error of type E_ERROR was caused in line 77 of the file /home/trnet/public_html/wp-content/plugins/seo-by-rank-math/includes/class-helper.php. Error message: Uncaught Exception: DateTime::__construct(): Failed to parse time string (۱۳۹۹-۰۲-۰۵ ۲۰:۵۵:۰۹) at position 0 (�): Unexpected character in /home/trnet/public_html/wp-content/plugins/seo-by-rank-math/includes/class-helper.php:77
    Stack trace:
    #0 /home/trnet/public_html/wp-content/plugins/seo-by-rank-math/includes/class-helper.php(77): DateTime->__construct(‘\xDB\xB1\xDB\xB3\xDB\xB9\xDB\xB9-\xDB\xB0\xDB\xB2-\xDB…’)
    #1 /home/trnet/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/search-console/class-search-console.php(391): RankMath\Helper::get_midnight(‘\xDB\xB1\xDB\xB3\xDB\xB9\xDB\xB9-\xDB\xB0\xDB\xB2-\xDB…’)
    #2 /home/trnet/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/search-console/class-search-console.php(113): RankMath\Search_Console\Search_Console->get_filters()
    #3 /home/trnet/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/search-console/class-search-console.php(85): RankMath\Search_Console\Search_Console->set_current_tab()
    #4 /home/tr

    Can you help please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I will contact a dev team member so they can check the issue you are facing.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    It seems like some other plugin or your theme is converting the DateTime to a different language.

    The plugin or the theme should convert the DateTime only where it is needed. Most probably it would be needed on the frontend. On your site, it looks like the DateTime is converted everywhere.

    To find the culprit, please troubleshoot the issue by following the steps given here:
    https://rankmath.com/kb/check-plugin-conflicts/

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘I can’t access Search console’ is closed to new replies.