[wp-trac] [WordPress Trac] #62652: Ambiguous class resolution SimplePie_Core in wordpress 6.7

WordPress Trac noreply at wordpress.org
Sat Mar 22 23:43:33 UTC 2025


#62652: Ambiguous class resolution SimplePie_Core in wordpress 6.7
--------------------------------+------------------------------
 Reporter:  vahidjavani         |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => External Libraries


Old description:

> I have updated WordPress to 6.7 and now getting these warnings, any idea
> how to fix it?
> ```
> Warning: Ambiguous class resolution, "SimplePie_Core" was found in both
> "/var/www/public/wp-includes/SimplePie/src/Core.php" and "/var/www/public
> /wp-includes/SimplePie/library/SimplePie/Core.php", the first will be
> used.
> ```
>
> These are the two files:
> https://github.com/WordPress/WordPress/blob/6.7-branch/wp-
> includes/SimplePie/src/Core.php
> https://github.com/WordPress/WordPress/blob/6.7-branch/wp-
> includes/SimplePie/library/SimplePie/Core.php

New description:

 I have updated WordPress to 6.7 and now getting these warnings, any idea
 how to fix it?

 `Warning: Ambiguous class resolution, "SimplePie_Core" was found in both
 "/.../wp-includes/SimplePie/src/Core.php" and "/.../wp-
 includes/SimplePie/library/SimplePie/Core.php", the first will be used.`

 These are the two files:
 https://github.com/WordPress/WordPress/blob/6.7-branch/wp-
 includes/SimplePie/src/Core.php
 https://github.com/WordPress/WordPress/blob/6.7-branch/wp-
 includes/SimplePie/library/SimplePie/Core.php

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62652#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list