Skip Navigation

[Resolved] Fatal Error with php8

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 3 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#2213677

I am trying to:
use PHP 8 with toolset

9732#0: *3841544 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /var/www/vhosts/lewitt.link/lsl.lewitt-audio.com/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php:358
Stack trace:
#0 /var/www/vhosts/lewitt.link/lsl.lewitt-audio.com/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php(358): array_merge()
#1 /var/www/vhosts/lewitt.link/lsl.lewitt-audio.com/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php(580): WPV_Cache::generate_post_data_cache()
#2 /var/www/vhosts/lewitt.link/lsl.lewitt-audio.com/wp-content/plugins/toolset-blocks/embedded/inc/wpv-filter-query.php(220): WPV_Cache::generate_native_cache()
#3 /var/www/vhosts/lewitt.link/lsl.lewitt-audio.com/wp-includes/class-wp-hook.php(303): WPV_View_Post_Query->wpv_filter_extend_query_for_parametric_and_counters()
#4 /var/www/vhosts/lewitt.link/lsl.lewitt-audio.com/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#5 /var/www/v" while reading response header from upstream

#2214043

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tobias,

Thank you for getting in touch.

This is actually a known issue as we've yet to announce compatibility for php version 8

For now I would recommend that you revert to php 7

Thanks,
Shane