Make WordPress Core

#61164 closed defect (bug) (invalid)

Clen installation fails ....

Reported by: miessuomesta's profile miessuomesta Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bootstrap/Load Keywords:
Focuses: Cc:

Description

On ubuntu noble with apache2 and php8.3:

Clean install of WP yields:

Tue May 07 22:53:19.404232 2024] [ssl:info] [pid 96306] [client XXX.XXX.XXX.XXX:48604] AH01964: Connection to child 11 established (server serveri.sokeavartija.org:443)                                                                                                    [Tue May 07 22:53:19.404571 2024] [ssl:debug] [pid 96306] ssl_engine_kernel.c(2403): [client XXX.XXX.XXX.XXX:48604] AH02044: No matching SSL virtual host for servername serveri found (using default/first virtual host)                                                    [Tue May 07 22:53:19.404762 2024] [core:debug] [pid 96306] protocol.c(2460): [client XXX.XXX.XXX.XXX:48604] AH03155: select protocol from , choices=h2,http/1.1 for server serveri.sokeavartija.org                                                                          [Tue May 07 22:53:19.423387 2024] [ssl:debug] [pid 96306] ssl_engine_kernel.c(2254): [client XXX.XXX.XXX.XXX:48604] AH02041: Protocol: TLSv1.3, Cipher: TLS_AES_256_GCM_SHA384 (256/256 bits)                                                                                [Tue May 07 22:53:19.423509 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(508): AH00831: socache_shmcb_store (0x09 -> subcache 9)                                                                                                                              [Tue May 07 22:53:19.423533 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(745): AH00842: expiring 3 and reclaiming 0 removed socache entries                                                                                                                   [Tue May 07 22:53:19.423546 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(765): AH00843: we now have 0 socache entries                                                                                                                                         [Tue May 07 22:53:19.423558 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(862): AH00847: insert happened at idx=1, data=(206:238)                                                                                                                              [Tue May 07 22:53:19.423568 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(865): AH00848: finished insert, subcache: idx_pos/idx_used=1/1, data_pos/data_used=206/206                                                                                           [Tue May 07 22:53:19.423579 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(530): AH00834: leaving socache_shmcb_store successfully                                                                                                                              [Tue May 07 22:53:19.424331 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(508): AH00831: socache_shmcb_store (0xf6 -> subcache 22)                                                                                                                             [Tue May 07 22:53:19.424360 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(745): AH00842: expiring 1 and reclaiming 0 removed socache entries                                                                                                                   [Tue May 07 22:53:19.424374 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(765): AH00843: we now have 0 socache entries                                                                                                                                         [Tue May 07 22:53:19.424385 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(862): AH00847: insert happened at idx=0, data=(0:32)                                                                                                                                 [Tue May 07 22:53:19.424396 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(865): AH00848: finished insert, subcache: idx_pos/idx_used=0/1, data_pos/data_used=0/206                                                                                             [Tue May 07 22:53:19.424407 2024] [socache_shmcb:debug] [pid 96306] mod_socache_shmcb.c(530): AH00834: leaving socache_shmcb_store successfully                                                                                                                              [Tue May 07 22:53:19.425179 2024] [ssl:debug] [pid 96306] ssl_engine_kernel.c(415): [client XXX.XXX.XXX.XXX:48604] AH02034: Initial (No.1) HTTPS request received for child 11 (server serveri.sokeavartija.org:443)                                                         [Tue May 07 22:53:19.425333 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of Require all granted: granted                                                                                         [Tue May 07 22:53:19.425356 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of <RequireAny>: granted                                                                                                [Tue May 07 22:53:19.435659 2024] [ssl:debug] [pid 96306] ssl_engine_kernel.c(415): [client XXX.XXX.XXX.XXX:48604] AH02034: Subsequent (No.2) HTTPS request received for child 11 (server serveri.sokeavartija.org:443)                                                      [Tue May 07 22:53:19.435822 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of Require all granted: granted                                                                                         [Tue May 07 22:53:19.435848 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of <RequireAny>: granted                                                                                                [Tue May 07 22:53:19.435947 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of Require all granted: granted                                                                                         [Tue May 07 22:53:19.435970 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of <RequireAny>: granted                                                                                                [Tue May 07 22:53:19.436058 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of Require all granted: granted                                                                                         [Tue May 07 22:53:19.436107 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of <RequireAny>: granted                                                                                                [Tue May 07 22:53:19.436326 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of Require all granted: granted                                                                                         [Tue May 07 22:53:19.436344 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of <RequireAny>: granted                                                                                                [Tue May 07 22:53:19.436396 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of Require all granted: granted                                                                                         [Tue May 07 22:53:19.436410 2024] [authz_core:debug] [pid 96306] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:48604] AH01626: authorization result of <RequireAny>: granted                                                                                                [Tue May 07 22:53:19.524196 2024] [php:notice] [pid 96306] [client XXX.XXX.XXX.XXX:48604] PHP Fatal error:  Cannot redeclare wp_kses() (previously declared in /srv/www/html/serveri/lja.fi/wp-includes/kses.php:747) in /srv/www/html/serveri/lja.fi/wp-includes/kses.php on line 747                                                                                                                                                                                                                                                                    [Tue May 07 22:53:19.524264 2024] [php:notice] [pid 96306] [client XXX.XXX.XXX.XXX:48604] PHP Stack trace:                                                                                                                                                                   [Tue May 07 22:53:19.524282 2024] [php:notice] [pid 96306] [client XXX.XXX.XXX.XXX:48604] PHP   1. {main}() /srv/www/html/serveri/lja.fi/index.php:0                                                                                                                         [Tue May 07 22:53:19.524292 2024] [php:notice] [pid 96306] [client XXX.XXX.XXX.XXX:48604] PHP   2. require() /srv/www/html/serveri/lja.fi/index.php:17                                                              

Installation not possible!

Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble

Attachments (3)

Screenshot 2024-05-08 at 01-53-39 https __serveri.png (830.5 KB) - added by miessuomesta 14 months ago.
On Firefox i see..
fix-suggestion.diff (4.0 MB) - added by miessuomesta 14 months ago.
My patch for this…
the-diff.patch.gz (2.9 MB) - added by miessuomesta 14 months ago.
Code that has the fix in it.

Change History (8)

@miessuomesta
14 months ago

My patch for this...

#1 @miessuomesta
14 months ago

Now the issues with headers: They have been sent before cookies are set...

[Wed May 08 00:10:31.314815 2024] [ssl:info] [pid 104116] [client XXX.XXX.XXX.XXX:37752] AH01964: Connection to child 4 established (server serveri.mydomain.org:443)
[Wed May 08 00:10:31.315704 2024] [ssl:debug] [pid 104116] ssl_engine_kernel.c(2403): [client XXX.XXX.XXX.XXX:37752] AH02044: No matching SSL virtual host for servername serveri found (using default/first virtual host)
[Wed May 08 00:10:31.316010 2024] [core:debug] [pid 104116] protocol.c(2460): [client XXX.XXX.XXX.XXX:37752] AH03155: select protocol from , choices=h2,http/1.1 for server serveri.mydomain.org
[Wed May 08 00:10:31.328437 2024] [ssl:debug] [pid 104116] ssl_engine_kernel.c(2254): [client XXX.XXX.XXX.XXX:37752] AH02041: Protocol: TLSv1.3, Cipher: TLS_AES_256_GCM_SHA384 (256/256 bits)
[Wed May 08 00:10:31.328622 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(508): AH00831: socache_shmcb_store (0xd1 -> subcache 17)
[Wed May 08 00:10:31.328663 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(745): AH00842: expiring 1 and reclaiming 0 removed socache entries
[Wed May 08 00:10:31.328701 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(765): AH00843: we now have 0 socache entries
[Wed May 08 00:10:31.328713 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(862): AH00847: insert happened at idx=0, data=(0:32)
[Wed May 08 00:10:31.328724 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(865): AH00848: finished insert, subcache: idx_pos/idx_used=0/1, data_pos/data_used=0/205
[Wed May 08 00:10:31.328735 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(530): AH00834: leaving socache_shmcb_store successfully
[Wed May 08 00:10:31.329471 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(508): AH00831: socache_shmcb_store (0x8e -> subcache 14)
[Wed May 08 00:10:31.329529 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(862): AH00847: insert happened at idx=0, data=(0:32)
[Wed May 08 00:10:31.329543 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(865): AH00848: finished insert, subcache: idx_pos/idx_used=0/1, data_pos/data_used=0/205
[Wed May 08 00:10:31.329554 2024] [socache_shmcb:debug] [pid 104116] mod_socache_shmcb.c(530): AH00834: leaving socache_shmcb_store successfully
[Wed May 08 00:10:31.331056 2024] [ssl:debug] [pid 104116] ssl_engine_kernel.c(415): [client XXX.XXX.XXX.XXX:37752] AH02034: Initial (No.1) HTTPS request received for child 4 (server serveri.mydomain.org:443)
[Wed May 08 00:10:31.331299 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of Require all granted: granted
[Wed May 08 00:10:31.331323 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of <RequireAny>: granted
[Wed May 08 00:10:31.331518 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of Require all granted: granted
[Wed May 08 00:10:31.331541 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of <RequireAny>: granted
[Wed May 08 00:10:31.331649 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of Require all granted: granted
[Wed May 08 00:10:31.331728 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of <RequireAny>: granted
[Wed May 08 00:10:31.331987 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of Require all granted: granted
[Wed May 08 00:10:31.332009 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of <RequireAny>: granted
[Wed May 08 00:10:31.332064 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of Require all granted: granted
[Wed May 08 00:10:31.332081 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of <RequireAny>: granted
[Wed May 08 00:10:31.447498 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Warning:  Undefined variable $wp_version in /srv/www/html/serveri/lja.fi/wp-includes/script-loader.php on line 697
[Wed May 08 00:10:31.447557 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Stack trace:
[Wed May 08 00:10:31.447572 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   1. {main}() /srv/www/html/serveri/lja.fi/index.php:0
[Wed May 08 00:10:31.447579 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   2. require_once() /srv/www/html/serveri/lja.fi/index.php:17
[Wed May 08 00:10:31.447587 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   3. require_once() /srv/www/html/serveri/lja.fi/wp-blog-header.php:13
[Wed May 08 00:10:31.447594 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   4. require_once() /srv/www/html/serveri/lja.fi/wp-load.php:55
[Wed May 08 00:10:31.447601 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   5. require_once() /srv/www/html/serveri/wp-config.php:96
[Wed May 08 00:10:31.447627 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   6. do_action($hook_name = 'init') /srv/www/html/serveri/lja.fi/wp-settings.php:695
[Wed May 08 00:10:31.447640 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   7. WP_Hook->do_action($args = [0 => '']) /srv/www/html/serveri/lja.fi/wp-includes/plugin.php:517
[Wed May 08 00:10:31.447650 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   8. WP_Hook->apply_filters($value = '', $args = [0 => '']) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:348
[Wed May 08 00:10:31.447661 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   9. call_user_func_array:{/srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:324}($callback = 'register_core_block_style_handles', $args = [0 => '']) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:324
[Wed May 08 00:10:31.447683 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  10. register_core_block_style_handles('') /srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:324
[Wed May 08 00:10:31.447699 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  11. wp_scripts_get_suffix($type = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-includes/blocks/index.php:34
[Wed May 08 00:10:31.447944 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /srv/www/html/serveri/lja.fi/wp-includes/script-loader.php on line 697
[Wed May 08 00:10:31.447961 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Stack trace:
[Wed May 08 00:10:31.447970 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   1. {main}() /srv/www/html/serveri/lja.fi/index.php:0
[Wed May 08 00:10:31.447977 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   2. require_once() /srv/www/html/serveri/lja.fi/index.php:17
[Wed May 08 00:10:31.447985 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   3. require_once() /srv/www/html/serveri/lja.fi/wp-blog-header.php:13
[Wed May 08 00:10:31.447992 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   4. require_once() /srv/www/html/serveri/lja.fi/wp-load.php:55
[Wed May 08 00:10:31.447999 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   5. require_once() /srv/www/html/serveri/wp-config.php:96
[Wed May 08 00:10:31.448008 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   6. do_action($hook_name = 'init') /srv/www/html/serveri/lja.fi/wp-settings.php:695
[Wed May 08 00:10:31.448018 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   7. WP_Hook->do_action($args = [0 => '']) /srv/www/html/serveri/lja.fi/wp-includes/plugin.php:517
[Wed May 08 00:10:31.448028 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   8. WP_Hook->apply_filters($value = '', $args = [0 => '']) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:348
[Wed May 08 00:10:31.448061 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   9. call_user_func_array:{/srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:324}($callback = 'register_core_block_style_handles', $args = [0 => '']) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:324
[Wed May 08 00:10:31.448072 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  10. register_core_block_style_handles('') /srv/www/html/serveri/lja.fi/wp-includes/class-wp-hook.php:324
[Wed May 08 00:10:31.448080 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  11. wp_scripts_get_suffix($type = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-includes/blocks/index.php:34
[Wed May 08 00:10:31.448089 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  12. strpos($haystack = NULL, $needle = '-src') /srv/www/html/serveri/lja.fi/wp-includes/script-loader.php:697
[Wed May 08 00:10:31.582237 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Warning:  Undefined array key "include" in /srv/www/html/serveri/lja.fi/wp-includes/class-wp-term-query.php on line 474
[Wed May 08 00:10:31.582287 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Stack trace:
[Wed May 08 00:10:31.582301 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   1. {main}() /srv/www/html/serveri/lja.fi/index.php:0
[Wed May 08 00:10:31.582309 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752]  

WordPress.org: Please note that this content has been truncated for display.

#2 @miessuomesta
14 months ago

My PHP version is 8.3 that comes with Ubuntu Noble.

#3 @miessuomesta
14 months ago

Hi!

I've seemed to have fixed it!

Attached tar-ball.

@miessuomesta
14 months ago

Code that has the fix in it.

#4 @jrf
14 months ago

  • Focuses php-compatibility removed
  • Severity changed from critical to normal

#5 @jeremyfelt
10 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 6.5 deleted

Hi @miessuomesta, welcome to WordPress Trac. I'm sorry to hear you are having difficulty with your site, however this Trac is used for the development of the WordPress software, not for assistance with individual sites or plugins.

From the error messages you've provided, I'm not able to determine what the bug may be in this case. It seems more likely to be an issue with server or WP configuration.

I've closed this ticket with the term invalid, in this case it's the unfriendly term trac uses to indicate that I've referred you to somewhere where you can find people better able to assist you.

Note: See TracTickets for help on using tickets.