[wp-trac] [WordPress Trac] #55936: ABSPATH & WPINC
WordPress Trac
noreply at wordpress.org
Mon Jun 6 16:37:11 UTC 2022
#55936: ABSPATH & WPINC
--------------------------+------------------------------
Reporter: lkhlc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.0
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> Errors throwing on core scripts:
> Has been filling error logs for days
> Happened in previous version and now happens in Current version: 6.0
>
> [05-Jun-2022 23:26:45 UTC] PHP Warning: Use of undefined constant
> ABSPATH - assumed 'ABSPATH' /wp-includes/class-wp-http.php on line 11
> [05-Jun-2022 23:26:45 UTC] PHP Warning: Use of undefined constant WPINC
> - assumed 'WPINC' /wp-includes/class-wp-http.php on line 11
> [05-Jun-2022 23:26:45 UTC] PHP Warning: require(ABSPATHWPINC/class-
> requests.php): failed to open stream: No such file or directory in wp-
> includes/class-wp-http.php on line 11
> [05-Jun-2022 23:26:45 UTC] PHP Fatal error: require(): Failed opening
> required 'ABSPATHWPINC/class-requests.php' (include_path='.:/opt/cpanel
> /ea-php74/root/usr/share/pear') in public_html/wp-includes/class-wp-
> http.php on line 11
> [05-Jun-2022 23:26:51 UTC] PHP Fatal error: Uncaught Error: Call to
> undefined function get_the_block_template_html() in /wp-includes
> /template-canvas.php:12
> Stack trace:
> #0 {main}
> thrown in wp-includes/template-canvas.php on line 12
> [05-Jun-2022 23:27:01 UTC] PHP Warning: Use of undefined constant
> ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version
> of PHP) in /wp-includes/blocks/index.php on line 9
> [05-Jun-2022 23:27:01 UTC] PHP Warning: Use of undefined constant WPINC
> - assumed 'WPINC' (this will throw an Error in a future version of PHP)
> in /wp-includes/blocks/index.php on line 9
> [05-Jun-2022 23:27:01 UTC] PHP Warning:
> require(ABSPATHWPINC/blocks/archives.php): failed to open stream: No such
> file or directory in /wp-includes/blocks/index.php on line 9
> [05-Jun-2022 23:27:01 UTC] PHP Fatal error: require(): Failed opening
> required 'ABSPATHWPINC/blocks/archives.php' (include_path='.:/opt/cpanel
> /ea-php74/root/usr/share/pear') in /wp-includes/blocks/index.php on line
> 9
> [05-Jun-2022 23:27:07 UTC] PHP Fatal error: Uncaught Error: Class
> 'WP_Widget' not found in /wp-includes/widgets/class-wp-widget-
> block.php:17
> Stack trace:
> #0 {main}
> thrown in /wp-includes/widgets/class-wp-widget-block.php on line 17
New description:
Errors throwing on core scripts:
Has been filling error logs for days
Happened in previous version and now happens in Current version: 6.0
{{{
[05-Jun-2022 23:26:45 UTC] PHP Warning: Use of undefined constant ABSPATH
- assumed 'ABSPATH' /wp-includes/class-wp-http.php on line 11
[05-Jun-2022 23:26:45 UTC] PHP Warning: Use of undefined constant WPINC -
assumed 'WPINC' /wp-includes/class-wp-http.php on line 11
[05-Jun-2022 23:26:45 UTC] PHP Warning: require(ABSPATHWPINC/class-
requests.php): failed to open stream: No such file or directory in wp-
includes/class-wp-http.php on line 11
[05-Jun-2022 23:26:45 UTC] PHP Fatal error: require(): Failed opening
required 'ABSPATHWPINC/class-requests.php' (include_path='.:/opt/cpanel
/ea-php74/root/usr/share/pear') in public_html/wp-includes/class-wp-
http.php on line 11
[05-Jun-2022 23:26:51 UTC] PHP Fatal error: Uncaught Error: Call to
undefined function get_the_block_template_html() in /wp-includes/template-
canvas.php:12
Stack trace:
#0 {main}
thrown in wp-includes/template-canvas.php on line 12
[05-Jun-2022 23:27:01 UTC] PHP Warning: Use of undefined constant ABSPATH
- assumed 'ABSPATH' (this will throw an Error in a future version of PHP)
in /wp-includes/blocks/index.php on line 9
[05-Jun-2022 23:27:01 UTC] PHP Warning: Use of undefined constant WPINC -
assumed 'WPINC' (this will throw an Error in a future version of PHP) in
/wp-includes/blocks/index.php on line 9
[05-Jun-2022 23:27:01 UTC] PHP Warning:
require(ABSPATHWPINC/blocks/archives.php): failed to open stream: No such
file or directory in /wp-includes/blocks/index.php on line 9
[05-Jun-2022 23:27:01 UTC] PHP Fatal error: require(): Failed opening
required 'ABSPATHWPINC/blocks/archives.php' (include_path='.:/opt/cpanel
/ea-php74/root/usr/share/pear') in /wp-includes/blocks/index.php on line 9
[05-Jun-2022 23:27:07 UTC] PHP Fatal error: Uncaught Error: Class
'WP_Widget' not found in /wp-includes/widgets/class-wp-widget-block.php:17
Stack trace:
#0 {main}
thrown in /wp-includes/widgets/class-wp-widget-block.php on line 17
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55936#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list