Make WordPress Core

Opened 8 years ago

Closed 4 years ago

Last modified 2 years ago

#40571 closed defect (bug) (invalid)

PHP Notice error: Undefined index: hook_suffix

Reported by: thamaraiselvam's profile thamaraiselvam Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.4
Component: Administration Keywords:
Focuses: Cc:

Description

I get this error on debug.log when WordPress installed on sub dir

 PHP Notice error: Undefined index: hook_suffix in /wordpress/subdir1/wp-admin/includes/class-wp-screen.php on  line 229

Change History (3)

This ticket was mentioned in Slack in #core by noisysocks. View the logs.


4 years ago

#2 @talldanwp
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

@thamaraiselvam I notice there have been a few years since your ticket was created. Is this an issue you managed to solve?

I'm not sure if you have any plugins activated, but there's a chance a plugin might be trying to call get_current_screen() prior to the admin boostrap process being finished. I'd recommend reaching out to the WordPress forums first for help in debugging this kind of issue (https://wordpress.org/support/forums/).

As a few years have passed and there's not a lot of info in the description, I'll close the ticket.

#3 @SergeyBiryukov
4 years ago

  • Component changed from General to Administration
Note: See TracTickets for help on using tickets.