[wp-trac] [WordPress Trac] #62121: Uncaught Error: Undefined constant "ABSPATH" in wp-includes/blocks/index.php:8
WordPress Trac
noreply at wordpress.org
Thu Sep 26 10:52:51 UTC 2024
#62121: Uncaught Error: Undefined constant "ABSPATH" in wp-
includes/blocks/index.php:8
--------------------------+-----------------------------
Reporter: kittmedia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62121>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list