I randomly started getting this error when on video pages.

Warning: mime_content_type(http://tridenttacticalsolutions.us/wp-content/uploads/2014/07/Clear and Safe.mp4): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad request in /home/content/p3nexnas06_data02/56/2150556/html/wp-content/themes/Video/partials/content-single-video.php on line 10

Any reason this is happening? The video's load no problem but its still showing the error.

Thank you for everything in advance.

Clay

  • Vinod Dalvi
    • WP Unicorn

    Hi Clay,

    I hope you are well today and thank you for your question.

    This is a simple PHP warning and most of the time it doesn't affect functionality of site so it is nothing to worry about!

    Do you have WP_DEBUG set to true in your wp-config.php file?

    If you do then please set it to false.
    This will hide the warning messages and you will be able to use your site normally.

    It seems from your shared warning message that the warning is coming from the Video theme that you are using.

    Does this warning disappear if you switch the theme to the default theme like Twenty Thirteen?

    Could you please share me the page link where you are getting it so that i can troubleshoot it?

    Kind Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.