[wp-trac] [WordPress Trac] #59113: Call to undefined function str_contains() in wp-includes/load.php:1618

WordPress Trac noreply at wordpress.org
Tue Aug 15 20:40:19 UTC 2023


#59113: Call to undefined function str_contains() in wp-includes/load.php:1618
-------------------------------+------------------------------
 Reporter:  lernerconsult      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Bootstrap/Load     |     Version:  6.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback


Comment:

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

 The line number in the error message points to the
 `wp_convert_hr_to_bytes()` function. In all the scenarios I can think of,
 by the time this function runs, the polyfills from `compat.php` should
 already  be loaded.

 1. Could you provide the steps to reproduce the issue on a clean install?
 2. Could you confirm that your `wp-settings.php` file has `compat.php` on
 [source:tags/6.3/src/wp-settings.php?marks=34#L32  line 34]?

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


More information about the wp-trac mailing list