Tell us what you are trying to do?
I am trying to export from old site and import to new site. Specific use of Toolset on old site can be found here: lien caché
I am trying to move it over to newly built site (using Elementor): lien caché
I cannot get it to set up correctly and when I try and use the exact same set up on new site I get the following alert "There has been a critical error on this website. Please check your site admin email inbox for instructions."
Is there any documentation that you are following?
I've been trying to reference this article: https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/#Using-Toolset-Custom-Search
Is there a similar example that we can see?
See links
What is the link to your site?
new site: lien caché
Old site: lien caché
Hi Joshua,
Thank you for getting in touch.
Can you let me know how was the site migrated? Secondly to understand what the error is can you install this plugin below and then let me know what error message is being generated?
https://wordpress.org/plugins/wp-debugging/
Thanks,
Shane
Deprecated: Required parameter $item follows optional parameter $type in /nas/content/live/pleasantcc/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
The site was built and the CNAME/A-records were moved. The only thing that was migrated was the TOOLSET items. I individually exported and imported using the Toolset Import/Export function.
Hi Joshua,
Then this shouldn't be throwing a php fatal error.
There is something else causing the fatal error. Do you have access to your server's php logs?
If so can you check those and let me know if you're able to locate any fatal errors there?
Thanks,
Shane
Here is what I found. They appear to all be connected to the Toolset plugin.
10 PHP Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php:358\nStack trace:\n#0 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php(358): array_merge(post_author: Array, post_type: Array)\n#1 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php(580): WPV_Cache::generate_post_data_cache(Array, Array, Array)\n#2 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/wpv-filter-query.php(220): WPV_Cache::generate_native_cache(Array, Array)\n#3 /nas/content/live/pleasantcc/wp-includes/class-wp-hook.php(307): WPV_View_Post_Query->wpv_filter_extend_query_for_parametric_and_counters(Object(WP_Query), Array, '5211')\n#4 /nas/content/live/pleasantcc/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(WP_Query), Array)\n#5 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/wpv-filter-query.php(848): apply_filters('wpv_filter_quer...', Object(WP_Query), Array, '5211')\n#6 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/wpv.class.php(2497): wpv_filter_get_posts('5211')\n#7 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/wpv.class.php(2124): WP_Views->render_view('5211', 'cb5fef7b3c1b671...')\n#8 /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/wpv.class.php(639): WP_Views->render_view_ex('5211', 'cb5fef7b3c1b671...')\n#9 /nas/content/live/pleasantcc/wp-includes/shortcodes.php(356): WP_Views->short_tag_wpv_view(Array, '', 'wpv-view')\n#10 [internal function]: do_shortcode_tag(Array)\n#11 /nas/content/live/pleasantcc/wp-includes/shortcodes.php(228): preg_replace_callback('/\\\\[(\\\\[?)(wpv\\\\-v...', 'do_shortcode_ta...', '[wpv-view name=...')\n#12 /nas/content/live/pleasantcc/wp-content/plugins/wordpress-seo/admin/ajax/class-shortcode-filter.php(35): do_shortcode('[wpv-view name=...')\n#13 /nas/content/live/pleasantcc/wp-includes/class-wp-hook.php(307): WPSEO_Shortcode_Filter->do_filter('')\n#14 /nas/content/live/pleasantcc/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)\n#15 /nas/content/live/pleasantcc/wp-includes/plugin.php(474): WP_Hook->do_action(Array)\n#16 /nas/content/live/pleasantcc/wp-admin/admin-ajax.php(187): do_action('wp_ajax_wpseo_f...')\n#17 {main}\n thrown in /nas/content/live/pleasantcc/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php on line 358
Hi Joshua,
Thank you for the error log.
So the issue here is being caused by php8, currently our Toolset plugins are not yet compatible with PHP version 8. However we are making preparations to provide the update.
At this moment the update is going through some testing and should be made available in the coming days.
Once this update is available you should then be able to use Toolset with php version 8. For now you will need to switch your server's php version to version 7.
Thanks,
Shane
Hi Joshua,
Thank you for the error log.
So the issue here is being caused by php8, currently our Toolset plugins are not yet compatible with PHP version 8. However we are making preparations to provide the update.
At this moment the update is going through some testing and should be made available in the coming days.
Once this update is available you should then be able to use Toolset with php version 8. For now you will need to switch your server's php version to version 7.
Thanks,
Shane