Tell us what you are trying to do?
Troubleshoot why the Toolset-managed content on a page stopped working.
Is there any documentation that you are following?
Not really. This site has been in production for 2-3 years with no issues.
Is there a similar example that we can see?
N/A
What is the link to your site?
The page in question is: hidden link
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Eric,
Thank you for getting in touch.
I can see there is an error being thrown on this page, however I will need to the debug data of your site to see your server environment.
What we recommend doing here is to enable the wordpress debugging functions to understand the error being thrown.
To enable the wordpress debugging you will either need to log into your website using FTP or using your Host's CPanel's file manager.
From there you will need to edit the wp-config file by adding the following.
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
If the define( 'WP_DEBUG', true ); function already exists you will need to change 'false' to 'true'
Once you've done this please revisit the page with the issue and let me know what the issue is.
Secondly I need the debug information on the server itself so that I can see your website's server running environment.
https://toolset.com/faq/provide-debug-information-faster-support/
Thanks,
Shane
Hi Shane,
Thanks for the reply. The issue displayed after modifying WP-config is:
Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php:358 Stack trace: #0 /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php(358): array_merge(post_author: Array, post_type: Array) #1 /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php(580): WPV_Cache::generate_post_data_cache(Array, Array, Array) #2 /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/wpv-filter-query.php(220): WPV_Cache::generate_native_cache(Array, Array) #3 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(307): WPV_View_Post_Query->wpv_filter_extend_query_for_parametric_and_counters(Array, Array, 395) #4 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /nas/content/live/sosystems/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/wpv.class.php(823): do_action('wpv_action_exte...', Array, Array, 395) #7 /nas/content/live/sosystems/wp-content/plugins/wp-views/application/controllers/api/methods/render_view.php(75): WP_Views->short_tag_wpv_view_form(Array) #8 /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/wpv-api.php(173): OTGS\Toolset\Views\Controller\API\Methods\RenderViewHandler->process_call(Array, Array) #9 /nas/content/live/sosystems/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php(176): render_view(Array) #10 /nas/content/live/sosystems/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php(102): OTGS\Toolset\Common\Interop\Handler\Elementor\ViewWidget->render_view() #11 /nas/content/live/sosystems/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php(93): OTGS\Toolset\Common\Interop\Handler\Elementor\ViewWidget->render_frontend_widget() #12 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/controls-stack.php(2188): OTGS\Toolset\Common\Interop\Handler\Elementor\ViewWidget->render() #13 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #14 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() #15 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Widget_Base->print_content() #16 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(741): Elementor\Element_Base->print_element() #17 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content() #18 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(741): Elementor\Element_Base->print_element() #19 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content() #20 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(741): Elementor\Element_Base->print_element() #21 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content() #22 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(741): Elementor\Element_Base->print_element() #23 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content() #24 /nas/content/live/sosystems/wp-content/plugins/elementor/core/base/document.php(1529): Elementor\Element_Base->print_element() #25 /nas/content/live/sosystems/wp-content/plugins/elementor/core/base/document.php(1002): Elementor\Core\Base\Document->print_elements(Array) #26 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/frontend.php(1092): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) #27 /nas/content/live/sosystems/wp-content/plugins/elementor/includes/frontend.php(1006): Elementor\Frontend->get_builder_content(16) #28 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(307): Elementor\Frontend->apply_builder_in_content('<h2>Environment...') #29 /nas/content/live/sosystems/wp-includes/plugin.php(189): WP_Hook->apply_filters('<h2>Environment...', Array) #30 /nas/content/live/sosystems/wp-includes/post-template.php(253): apply_filters('the_content', '<h2>Environment...') #31 /nas/content/live/sosystems/wp-content/themes/astra/template-parts/content-page.php(54): the_content() #32 /nas/content/live/sosystems/wp-includes/template.php(772): require('/nas/content/li...') #33 /nas/content/live/sosystems/wp-includes/template.php(716): load_template('/nas/content/li...', false, Array) #34 /nas/content/live/sosystems/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #35 /nas/content/live/sosystems/wp-content/themes/astra/inc/class-astra-loop.php(109): get_template_part('template-parts/...', 'page') #36 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(307): Astra_Loop->template_parts_page('') #37 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #38 /nas/content/live/sosystems/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #39 /nas/content/live/sosystems/wp-content/themes/astra/inc/class-astra-loop.php(197): do_action('astra_page_temp...') #40 /nas/content/live/sosystems/wp-content/themes/astra/inc/class-astra-loop.php(174): Astra_Loop->loop_markup(true) #41 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(307): Astra_Loop->loop_markup_page('') #42 /nas/content/live/sosystems/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #43 /nas/content/live/sosystems/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #44 /nas/content/live/sosystems/wp-content/themes/astra/inc/core/theme-hooks.php(267): do_action('astra_content_p...') #45 /nas/content/live/sosystems/wp-content/themes/astra/page.php(32): astra_content_page_loop() #46 /nas/content/live/sosystems/wp-includes/template-loader.php(106): include('/nas/content/li...') #47 /nas/content/live/sosystems/wp-blog-header.php(19): require_once('/nas/content/li...') #48 /nas/content/live/sosystems/index.php(17): require('/nas/content/li...') #49 {main} thrown in /nas/content/live/sosystems/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php on line 358
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Eric,
The issue here is that you're running php version 8.
Unfortunately we are not yet compatible with php version 8 so my recommendation here is to downgrade your server's php version to version 7.
This should restore your website's functionality. We are actively working on making our plugins compatible with php 8 and we should be able to make a release once testing is completed.
Thanks,
Shane
My issue is resolved now. Thank you!