Make WordPress Core

#62121 closed defect (bug) (duplicate)

Uncaught Error: Undefined constant "ABSPATH" in wp-includes/blocks/index.php:8

Reported by: kittmedia's profile kittmedia Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

If you access the index.php inside wp-includes/blocks/ directly, you get the following fatal error, since WordPress is not loaded on direct access:

Fatal error: Uncaught Error: Undefined constant "ABSPATH" in wp-includes/blocks/index.php:8 Stack trace: #0 {main} thrown in wp-includes/blocks/index.php on line 8

Change History (1)

#1 @mukesh27
18 months ago

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

Duplicate of #62108.

Note: See TracTickets for help on using tickets.