WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#33949 closed defect (bug) (duplicate)

gzinflate(): data error when passing youtube or vimeo url through wp_oembed_get() function in Debug Bar

Reported by: mmaumio Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Embeds Keywords:
Focuses: Cc:

Description

While passing any Youtube or Vimeo URL through the wp_oembed_get() function it returns a gzinflate(): data error in Debug Bar of Debug Bar Plugin.

That's the error I got in Debug Bar:
"WARNING: wp-includes/class-http.php:2136 - gzinflate(): data error
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/twentysixteen/custom-template.php'), wp_oembed_get, WP_oEmbed->get_html, WP_oEmbed->fetch, WP_oEmbed->_fetch_with_format, wp_safe_remote_get, WP_Http->get, WP_Http->request, WP_Http->_dispatch_request, WP_Http_Curl->request, WP_Http_Encoding::decompress, gzinflate"

I'm on Localhost (MAMP) in OS X Yosemite.
Php 5.6.2, Mysql 5.5.38.
Google Chrome latest.
Tested in several other themes including Twenty Sixteen.
http://d.pr/i/1etH7

Deactivated all plugins as well.

How to replicate:
Created a new template file.
Called the header and footer.
Then simply declared the function with a random Youtube Video URL as parameter.

Apology if it doesn't seem to be a bug rather than my ignorance.

Thank You

Attachments (1)

Screen Shot 2015-09-22 at 1.40.36 AM.png (68.9 KB) - added by mmaumio 4 years ago.
Screenshot of the Error

Download all attachments as: .zip

Change History (3)

@mmaumio
4 years ago

Screenshot of the Error

#1 @ocean90
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 4.3.1 deleted

Hello mmaumio, welcome to Trac.

Thanks for your report, we're already tracking this issue in #22952.

#2 @mmaumio
4 years ago

I'm happy to know that.
Thank you for your swift reply.

Please pardon my ignorance.

Take care

Note: See TracTickets for help on using tickets.