Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#56739 closed defect (bug) (invalid)

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated

Reported by: imadarshakshat Owned by:
Priority: normal Milestone:
Component: Script Loader Version:
Severity: normal Keywords: php81
Cc: Focuses:

Description

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in D:\xampp\htdocs\wp\wp-includes\functions.wp-styles.php on line 90
Steps to Reproduce:
1) Install WordPress 6.1 beta3.
2) Visit Admin Dashboard

Change History (3)

#1 @imadarshakshat
4 years ago

  • Resolutioninvalid
  • Status newclosed

#2 @imadarshakshat
4 years ago

The issue was due to CoBlocks plugin by GoDaddy.

#3 @SergeyBiryukov
4 years ago

  • Component FormattingScript Loader
  • Keywords php81 added
  • Milestone Awaiting Review

Thanks for the follow-up!

The deprecation notice comes from the wp_add_inline_style() function, so Script Loader seems to be a more appropriate component here.

Note: See TracTickets for help on using tickets.