Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#48621 closed defect (bug) (invalid)

class-oembed.php is deprecated since version 5.3.0 message

Reported by: scottrobg's profile scottrobg Owned by:
Milestone: Priority: normal
Severity: major Version: 5.3
Component: Embeds Keywords: reporter-feedback
Focuses: Cc:

Description

Since the latest version update today, this is appearing new the top of my site (funknstuff.net) pages ...

Notice: class-oembed.php is deprecated since version 5.3.0! Use wp-includes/class-wp-oembed.php instead. in /home/rog15c9/public_html/funknstuff/wp-includes/functions.php on line 4719

No idea what to do!

Change History (2)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Embeds
  • Keywords reporter-feedback added

Hi @scottrobg, welcome to WordPress Trac! Thanks for the report.

Does the issue still happen with all plugins disabled and a default theme (Twenty Twenty) activated?

#2 @Otto42
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello scottrobg! This is a bug reporting system, not a support forum. You should post to https://wordpress.org/support/forums for this type of issue instead.

To answer your question, yes, this message is correct. You need to update whatever plugins you have that might be using the oembed functionality, as this functionality changed in 5.3.

Additionally, you should not have "notices" enabled for your production website in the first place. This is a debugging notice, which should only ever appear on test sites. Live websites should not have the display_errors option of PHP enabled. If you have the WP_DEBUG constant set in your wp-config.php file, then you should set that to false. If you have a PHP.INI file in your system, it should have display_errors set to 0. This should be the case for all live websites.

So, turn off those settings, and update your plugins to newer versions.

Note: See TracTickets for help on using tickets.