Make WordPress Core

Opened 10 years ago

Closed 6 years ago

Last modified 4 years ago

#40571 closed defect (bug) (invalid)

PHP Notice error: Undefined index: hook_suffix

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

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.


6 years ago

#2 @talldanwp
6 years ago

  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → 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
6 years ago

  • Component General → Administration
Note: See TracTickets for help on using tickets.