Skip Navigation

[Resolved] Critical error in toolset archive pages

This support ticket is created 3 years, 3 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 7 replies, has 3 voices.

Last updated by pramodk-2 3 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#2161907

Hi Team,

Showing critical error in my archive pages. There are no changes done at the backend since 2 weeks but not sure why there is a critical error. Please find below for the log details.

[06-Sep-2021 09:02:13 UTC] PHP Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php:358
Stack trace:
#0 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php(358): array_merge(post_author: Array, post_type: Array)
#1 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php(580): WPV_Cache::generate_post_data_cache(Array, Array, Array)
#2 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/embedded/inc/wpv-archive-loop.php(866): WPV_Cache::generate_native_cache(Array, Array)
#3 /home4/roomoccu/public_html/wp-includes/class-wp-hook.php(303): WPV_WordPress_Archive_Frontend::extend_archive_query_for_parametric_and_counters(Object(WP_Query), Array, 641)
#4 /home4/roomoccu/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#5 /home4/roomoccu/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)

Thanks,
Pramod

#2162113

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Can we get a copy of your site, please?

You can use Duplicator, as described here: hidden link

Or you may find All in One WP Migration easier to use, just be sure to exclude the media library when creating the package to reduce its size.

You can share a link to the archive on dropbox or similar here, the link will be hidden from other users.

#2162177

Hi Nigel,

Please find the link below

hidden link

I have taken backup of my site and would be ready to provide you credentials. I do not see the options to provide my credentials to give access to my site.

Thanks,
Pramod

#2162249

Shane
Supporter

Languages: English (English )

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

Hi Pramod,

I've enabled the private fields for your next response.

#2162947

Shane
Supporter

Languages: English (English )

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

Hi Pramod,

Thank you for the credentials, however they don't seem to be working.

Can you test them out on your end and let me know if they work for you.

Thanks,
Shane

#2163359

Hi Shane,

I have updated the details in my above private message. Kindly check it.

Thanks,
Pramod

#2163791

Shane
Supporter

Languages: English (English )

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

Hi Pramod,

I've checked on your debug data and saw that you're running php version 8.

Currently we have not yet announced compatibility with PHP 8 so I would advise downgrading back to php 7 for the time being until php 8 compatibility has been confirmed.

Once you've done this please let me know if the issue still remains.
Thanks,
Shane

#2164315

My issue is resolved now. Thank you!