[wp-trac] [WordPress Trac] #51697: [PHP8] Uncaught TypeError: array_flip():
WordPress Trac
noreply at wordpress.org
Mon Nov 2 16:26:44 UTC 2020
#51697: [PHP8] Uncaught TypeError: array_flip():
--------------------------+-----------------------------
Reporter: bph | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
while using trunk on php8 I ran into this error, when i try to access wp-
admin pages.
Fatal error: Uncaught TypeError: array_flip(): Argument #1 ($array) must
be of type array, null given in public_html/wp-admin/includes/menu.php:280
Stack trace:
#0 public_html/wp-admin/includes/menu.php(280): array_flip(NULL)
#1 public_html/wp-admin/menu.php(327): require_once('/home/customer/...')
#2 public_html/wp-admin/admin.php(158): require('/home/customer/...')
#3 public_html/wp-admin/index.php(10): require_once('/home/customer/...')
#4 {main} thrown in public_html/wp-admin/includes/menu.php on line 280
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51697>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list