WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 months ago

Last modified 2 months ago

#40571 closed defect (bug) (invalid)

PHP Notice error: Undefined index: hook_suffix

Reported by: 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.


2 months ago

#2 @talldanwp
2 months 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
2 months ago

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