[wp-trac] [WordPress Trac] #58059: Critical error after updating to core 6.2
WordPress Trac
noreply at wordpress.org
Sun Apr 2 12:16:11 UTC 2023
#58059: Critical error after updating to core 6.2
---------------------------+-----------------------------
Reporter: carolkg | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 6.2
Severity: major | Keywords:
Focuses: |
---------------------------+-----------------------------
After updating to WordPress 6.2, I get "There has been a critical error on
this website." on 2 sites that reside in subdirectories on GoDaddy. (when
trying sitename/wp-admin I just get a blank page). I also had a test
wordpress site in another subdirectory that was working fine, so just to
see what happens I updated that one too and now get the same critial error
message.
This is what's in the error log of one site: rosemaryglennon.com that
resides in a subfolder of ckgwebdev.com. The subfolder name is
rosemaryglennon:
[31-Mar-2023 20:24:24 UTC] PHP Fatal error: Uncaught TypeError: Argument
1 passed to WP_HTTP_Requests_Response::__construct() must be an instance
of Requests_Response, instance of WpOrg\Requests\Response given, called in
/home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
http.php on line 398 and defined in
/home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-http-
requests-response.php:42
Stack trace:
#0 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
http.php(398):
WP_HTTP_Requests_Response->__construct(Object(WpOrg\Requests\Response),
NULL)
#1 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
http.php(615): WP_Http->request('http://rosemary...', Array)
#2 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-
includes/http.php(179): WP_Http->post('http://rosemary...', Array)
#3 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-
includes/cron.php(930): wp_remote_post('http://rosemary...', Array)
#4 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-
includes/cron.php(1002): spawn_cron(168029 in
/home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-http-
requests-response.php on line 42
[31-Mar-2023 20:34:35 UTC] PHP Fatal error: Uncaught Error: Call to
undefined function wp_get_word_count_type() in
/home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/script-
loader.php:1840
Stack trace:
#0 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
hook.php(308): wp_just_in_time_script_localization('')
#1 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
hook.php(332): WP_Hook->apply_filters('', Array)
#2 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-
includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/script-
loader.php(2146): do_action('wp_print_script...')
#4 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
hook.php(308): wp_print_head_scripts('')
#5 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/class-wp-
hook.php(332): WP_Hook->apply_filters(Array, Array)
#6 /home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-
includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /home/sk3ng3lf7dul/public_html/rosemaryglenno in
/home/sk3ng3lf7dul/public_html/rosemaryglennon/wp-includes/script-
loader.php on line 1840
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58059>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list