Using video snippet breaks page

#1114
  • Resolved Michael Beale
    Rank Math pro
    Content AI Starter

    When I use the ‘video’ snippet it can’t display my page, instead I get an error message, shown below.

    When I revert back to ‘none’ for snippet settings, the page comes back.

    Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (PT3M41) in /home/micha991/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-facebook.php:545 Stack trace: #0 /home/micha991/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-facebook.php(545): DateInterval->__construct(‘PT3M41’) #1 /home/micha991/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-facebook.php(530): RankMath\OpenGraph\Facebook->duration_to_seconds(‘PT3M41’) #2 /home/micha991/public_html/wp-includes/class-wp-hook.php(286): RankMath\OpenGraph\Facebook->video(Object(RankMath\OpenGraph\Facebook)) #3 /home/micha991/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /home/micha991/public_html/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #5 /home/micha991/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(90): do_action_ref_array(‘rank_math/openg…’, Array) #6 /home/micha991/public_html/ in /home/micha991/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-facebook.php on line 545

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

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

    It is working fine on our end:
    http://i.mythemeshop.com/04OCIY

    Can you please send a screencast showing the values you are entering and the error message popping up?

    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)

You must be logged in to reply to this ticket.