• Resolved remiCs

    (@emersong20)


    Using the wordpress plugin query monitor to debug, I noticed that the plugin makes several requests that return Error 404 – Not found:

    https://prnt.sc/h4u9cQFZmGXL

    This is an example of a link that returns an error that the plugin requests:
    https://www.youtube.com/oembed?url=https://www.youtu.be.com/embed/eGwffVhyoSU&format=json

    How could I fix that ?

    • This topic was modified 10 months, 1 week ago by remiCs.
    • This topic was modified 10 months, 1 week ago by remiCs.
    • This topic was modified 10 months, 1 week ago by remiCs.
    • This topic was modified 10 months, 1 week ago by remiCs.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter remiCs

    (@emersong20)

    After some trial and error, I noticed that the link could be rewritten as follows to be valid:
    https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=eGwffVhyoSU&format=json

    Plugin stacktrace:

    saswp_get_video_metadata()
    wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:3970
    saswp_default_video_object_schema()
    wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:3472
    saswp_get_all_schema_markup_output()
    wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:277
    saswp_schema_markup_output()
    wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:143
    do_action('wp_head')
    wp-includes/plugin.php:517
    wp_head()
    wp-includes/general-template.php:3052
    load_template('wp-content/themes/generatepress/header.php')
    wp-includes/template.php:790
    locate_template()
    wp-includes/template.php:725
    get_header()
    wp-includes/general-template.php:48

    Could you verify ?

    Plugin Author Magazine3

    (@magazine3)

    Hi, Thank you for reaching out to us. Could you please share the URL once so we can check on our end?

    Thread Starter remiCs

    (@emersong20)

    I believe I solved the problem. Just set the YouTube API KEY in the plugin settings and the site was fast again.

    Plugin Author Magazine3

    (@magazine3)

    Hi, As per your comment, everything seems to work fine on your end. We are closing this thread, but you can contact us if you need any help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Website is slow due to requests’ is closed to new replies.