WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#52216 closed defect (bug) (duplicate)

WP_Debug PHP Notice if optional argument isn't passed to map_meta_cap()

Reported by: a223123131 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6
Component: Users Keywords:
Focuses: Cc:

Description

I get this n my debug log. Using lates WP and PHP 7.4

PHP Notice: Undefined offset: 0 in /wordpress/wp-includes/capabilities.php on line 143

Change History (3)

#1 @SergeyBiryukov
4 months ago

  • Component changed from General to Users
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #44591.

#2 @SergeyBiryukov
4 months ago

  • Summary changed from WP_Debug PHP Notice to WP_Debug PHP Notice if optional argument isn't passed to map_meta_cap()

#3 @a223123131
4 months ago

Oh, sorry for duplicating... I'm new here.

Note: See TracTickets for help on using tickets.