Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#61164 new defect (bug)

Clen installation fails ....

Reported by: miessuomesta's profile miessuomesta Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5
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 5 weeks ago.
On Firefox i see..
fix-suggestion.diff (4.0 MB) - added by miessuomesta 5 weeks ago.
My patch for this…
the-diff.patch.gz (2.9 MB) - added by miessuomesta 5 weeks ago.
Code that has the fix in it.

Change History (7)

@miessuomesta
5 weeks ago

My patch for this...

#1 @miessuomesta
5 weeks 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] PHP   2. require_once() /srv/www/html/serveri/lja.fi/index.php:17
[Wed May 08 00:10:31.582317 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   3. wp($query_vars = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-blog-header.php:16
[Wed May 08 00:10:31.582328 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   4. WP->main($query_args = '') /srv/www/html/serveri/lja.fi/wp-includes/functions.php:1336
[Wed May 08 00:10:31.582336 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   5. WP->query_posts() /srv/www/html/serveri/lja.fi/wp-includes/class-wp.php:816
[Wed May 08 00:10:31.582344 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   6. WP_Query->query($query = []) /srv/www/html/serveri/lja.fi/wp-includes/class-wp.php:696
[Wed May 08 00:10:31.582351 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   7. WP_Query->get_posts() /srv/www/html/serveri/lja.fi/wp-includes/class-wp-query.php:3824
[Wed May 08 00:10:31.582362 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   8. _prime_post_caches($ids = [0 => '4', 1 => '1'], $update_term_cache = TRUE, $update_meta_cache = TRUE) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-query.php:3334
[Wed May 08 00:10:31.582372 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   9. update_object_term_cache($object_ids = [0 => '4', 1 => '1'], $object_type = [0 => 'post']) /srv/www/html/serveri/lja.fi/wp-includes/post.php:7882
[Wed May 08 00:10:31.582386 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  10. wp_get_object_terms($object_ids = [0 => 4, 1 => 1], $taxonomies = [0 => 'category', 1 => 'post_tag', 2 => 'post_format'], $args = ['fields' => 'all_with_object_id', 'orderby' => 'name', 'update_term_meta_cache' => FALSE]) /srv/www/html/serveri/lja.fi/wp-includes/taxonomy.php:3823
[Wed May 08 00:10:31.582398 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  11. get_terms($args = ['update_term_meta_cache' => FALSE, 'fields' => 'all_with_object_id', 'orderby' => 'name', 'taxonomy' => [0 => 'category', 1 => 'post_tag', 2 => 'post_format'], 'object_ids' => [0 => 4, 1 => 1]], $deprecated = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-includes/taxonomy.php:2309
[Wed May 08 00:10:31.582411 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  12. WP_Term_Query->query($query = ['update_term_meta_cache' => FALSE, 'fields' => 'all_with_object_id', 'orderby' => 'name', 'taxonomy' => [0 => 'category', 1 => 'post_tag', 2 => 'post_format'], 'object_ids' => [0 => 4, 1 => 1]]) /srv/www/html/serveri/lja.fi/wp-includes/taxonomy.php:1350
[Wed May 08 00:10:31.582437 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  13. WP_Term_Query->get_terms() /srv/www/html/serveri/lja.fi/wp-includes/class-wp-term-query.php:311
[Wed May 08 00:10:31.593969 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.594010 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Stack trace:
[Wed May 08 00:10:31.594022 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.594030 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.594036 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:19
[Wed May 08 00:10:31.594047 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   4. call_user_func:{/srv/www/html/serveri/lja.fi/wp-includes/template-loader.php:81}($callback = 'get_front_page_template') /srv/www/html/serveri/lja.fi/wp-includes/template-loader.php:81
[Wed May 08 00:10:31.594055 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   5. get_front_page_template() /srv/www/html/serveri/lja.fi/wp-includes/template-loader.php:81
[Wed May 08 00:10:31.594066 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   6. get_query_template($type = 'frontpage', $templates = [0 => 'front-page.php']) /srv/www/html/serveri/lja.fi/wp-includes/template.php:416
[Wed May 08 00:10:31.594076 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   7. locate_block_template($template = '', $type = 'frontpage', $templates = [0 => 'front-page.php']) /srv/www/html/serveri/lja.fi/wp-includes/template.php:66
[Wed May 08 00:10:31.594086 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   8. resolve_block_template($template_type = 'frontpage', $template_hierarchy = [0 => 'front-page.php'], $fallback_template = '') /srv/www/html/serveri/lja.fi/wp-includes/block-template.php:66
[Wed May 08 00:10:31.594097 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   9. get_block_templates($query = ['slug__in' => [0 => 'front-page']], $template_type = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-includes/block-template.php:140
[Wed May 08 00:10:31.594110 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  10. WP_Query->__construct($query = ['post_status' => 'publish', 'post_type' => 'wp_template', 'posts_per_page' => 1, 'no_found_rows' => TRUE, 'lazy_load_term_meta' => FALSE, 'tax_query' => [0 => [...]], 'post_name__in' => [0 => 'front-page']]) /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php:991
[Wed May 08 00:10:31.594129 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  11. WP_Query->query($query = ['post_status' => 'publish', 'post_type' => 'wp_template', 'posts_per_page' => 1, 'no_found_rows' => TRUE, 'lazy_load_term_meta' => FALSE, 'tax_query' => [0 => [...]], 'post_name__in' => [0 => 'front-page']]) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-query.php:3956
[Wed May 08 00:10:31.594138 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  12. WP_Query->get_posts() /srv/www/html/serveri/lja.fi/wp-includes/class-wp-query.php:3824
[Wed May 08 00:10:31.594147 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  13. WP_Tax_Query->get_sql($primary_table = 'wp_kotisivut_posts', $primary_id_column = 'ID') /srv/www/html/serveri/lja.fi/wp-includes/class-wp-query.php:2246
[Wed May 08 00:10:31.594154 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  14. WP_Tax_Query->get_sql_clauses() /srv/www/html/serveri/lja.fi/wp-includes/class-wp-tax-query.php:251
[Wed May 08 00:10:31.594186 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  15. WP_Tax_Query->get_sql_for_query($query = [0 => ['taxonomy' => 'wp_theme', 'terms' => [...], 'field' => 'name', 'operator' => 'IN', 'include_once_children' => TRUE]], $depth = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-tax-query.php:275
[Wed May 08 00:10:31.594202 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  16. WP_Tax_Query->get_sql_for_clause($clause = ['taxonomy' => 'wp_theme', 'terms' => [0 => 'twentytwentyfour'], 'field' => 'name', 'operator' => 'IN', 'include_once_children' => TRUE], $parent_query = [0 => ['taxonomy' => 'wp_theme', 'terms' => [...], 'field' => 'name', 'operator' => 'IN', 'include_once_children' => TRUE]]) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-tax-query.php:325
[Wed May 08 00:10:31.594213 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  17. WP_Tax_Query->clean_query($query = ['taxonomy' => 'wp_theme', 'terms' => [0 => 'twentytwentyfour'], 'field' => 'name', 'operator' => 'IN', 'include_once_children' => TRUE]) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-tax-query.php:395
[Wed May 08 00:10:31.594225 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  18. WP_Tax_Query->transform_query($query = ['taxonomy' => 'wp_theme', 'terms' => [0 => 'twentytwentyfour'], 'field' => 'name', 'operator' => 'IN', 'include_once_children' => TRUE], $resulting_field = 'term_taxonomy_id') /srv/www/html/serveri/lja.fi/wp-includes/class-wp-tax-query.php:581
[Wed May 08 00:10:31.594237 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  19. WP_Term_Query->query($query = ['get' => 'all', 'number' => 1, 'taxonomy' => 'wp_theme', 'update_term_meta_cache' => FALSE, 'orderby' => 'none', 'name' => [0 => 'twentytwentyfour']]) /srv/www/html/serveri/lja.fi/wp-includes/class-wp-tax-query.php:644
[Wed May 08 00:10:31.594246 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  20. WP_Term_Query->get_terms() /srv/www/html/serveri/lja.fi/wp-includes/class-wp-term-query.php:311
[Wed May 08 00:10:31.603574 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Warning:  Undefined variable $slugs_to_include in /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php on line 353
[Wed May 08 00:10:31.603609 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Stack trace:
[Wed May 08 00:10:31.603622 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.603630 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.603637 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:19
[Wed May 08 00:10:31.603648 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   4. call_user_func:{/srv/www/html/serveri/lja.fi/wp-includes/template-loader.php:81}($callback = 'get_front_page_template') /srv/www/html/serveri/lja.fi/wp-includes/template-loader.php:81
[Wed May 08 00:10:31.603656 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   5. get_front_page_template() /srv/www/html/serveri/lja.fi/wp-includes/template-loader.php:81
[Wed May 08 00:10:31.603681 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   6. get_query_template($type = 'frontpage', $templates = [0 => 'front-page.php']) /srv/www/html/serveri/lja.fi/wp-includes/template.php:416
[Wed May 08 00:10:31.603698 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   7. locate_block_template($template = '', $type = 'frontpage', $templates = [0 => 'front-page.php']) /srv/www/html/serveri/lja.fi/wp-includes/template.php:66
[Wed May 08 00:10:31.603710 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   8. resolve_block_template($template_type = 'frontpage', $template_hierarchy = [0 => 'front-page.php'], $fallback_template = '') /srv/www/html/serveri/lja.fi/wp-includes/block-template.php:66
[Wed May 08 00:10:31.603740 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP   9. get_block_templates($query = ['slug__in' => [0 => 'front-page']], $template_type = *uninitialized*) /srv/www/html/serveri/lja.fi/wp-includes/block-template.php:140
[Wed May 08 00:10:31.603752 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP  10. _get_block_templates_files($template_type = 'wp_template', $query = ['slug__in' => [0 => 'front-page'], 'slug__not_in' => []]) /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php:1021
[Wed May 08 00:10:31.604066 2024] [php:notice] [pid 104116] [client XXX.XXX.XXX.XXX:37752] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php:353\nStack trace:\n#0 /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php(353): in_array()\n#1 /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php(1021): _get_block_templates_files()\n#2 /srv/www/html/serveri/lja.fi/wp-includes/block-template.php(140): get_block_templates()\n#3 /srv/www/html/serveri/lja.fi/wp-includes/block-template.php(66): resolve_block_template()\n#4 /srv/www/html/serveri/lja.fi/wp-includes/template.php(66): locate_block_template()\n#5 /srv/www/html/serveri/lja.fi/wp-includes/template.php(416): get_query_template()\n#6 [internal function]: get_front_page_template()\n#7 /srv/www/html/serveri/lja.fi/wp-includes/template-loader.php(81): call_user_func()\n#8 /srv/www/html/serveri/lja.fi/wp-blog-header.php(19): require_once('...')\n#9 /srv/www/html/serveri/lja.fi/index.php(17): require_once('...')\n#10 {main}\n  thrown in /srv/www/html/serveri/lja.fi/wp-includes/block-template-utils.php on line 353
[Wed May 08 00:10:31.610724 2024] [deflate:debug] [pid 104116] mod_deflate.c(904): [client XXX.XXX.XXX.XXX:37752] AH01384: Zlib: Compressed 38926 to 2949 : URL /lja.fi/index.php
[Wed May 08 00:10:31.694005 2024] [ssl:debug] [pid 104116] ssl_engine_kernel.c(415): [client XXX.XXX.XXX.XXX:37752] AH02034: Subsequent (No.2) HTTPS request received for child 4 (server serveri.mydomain.org:443), referer: https://serveri/lja.fi/
[Wed May 08 00:10:31.694146 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, referer: https://serveri/lja.fi/
[Wed May 08 00:10:31.694164 2024] [authz_core:debug] [pid 104116] mod_authz_core.c(815): [client XXX.XXX.XXX.XXX:37752] AH01626: authorization result of <RequireAny>: granted, referer: https://serveri/lja.fi/
[Wed May 08 00:10:31.694221 2024] [core:info] [pid 104116] [client XXX.XXX.XXX.XXX:37752] AH00128: File does not exist: /var/www/html/favicon.ico, referer: https://serveri/lja.fi/
[Wed May 08 00:10:31.695694 2024] [ssl:debug] [pid 104116] ssl_engine_io.c(1147): [client XXX.XXX.XXX.XXX:37752] AH02001: Connection closed to child 4 with standard shutdown (server serveri.mydomain.org:443)

#2 @miessuomesta
5 weeks ago

My PHP version is 8.3 that comes with Ubuntu Noble.

#3 @miessuomesta
5 weeks ago

Hi!

I've seemed to have fixed it!

Attached tar-ball.

@miessuomesta
5 weeks ago

Code that has the fix in it.

#4 @jrf
5 weeks ago

  • Focuses php-compatibility removed
  • Severity changed from critical to normal
Note: See TracTickets for help on using tickets.