We migrated our website hidden link to a new server/provider. All pages are working fine, except for the archive pages
hidden link
hidden link
hidden link
In the browser we see 1 problem with a js library wp-emoji-release
"Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform
A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown.
1 bron
wp-emoji-release.min.js:1
Meer informatie: User-Agent String Reduction"
We thought it had to do with CORS, and added Header Set Access-Control-Allow-Origin "*" to .htaccess but it did not help.
Best regards,
Chris
Hello,
There should be some PHP errors in your website, please try to get the PHP debug logs:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging
section "PHP Debugging"
Hi, this is the error we get:
Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php:358 Stack trace: #0 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php(358): array_merge(post_author: Array, post_type: Array) #1 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php(580): WPV_Cache::generate_post_data_cache(Array, Array, Array) #2 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/wpv-archive-loop.php(866): WPV_Cache::generate_native_cache(Array, Array) #3 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/class-wp-hook.php(303): WPV_WordPress_Archive_Frontend::extend_archive_query_for_parametric_and_counters(Object(WP_Query), Array, '270') #4 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #5 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #6 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/wpv-archive-loop.php(1058): do_action('wpv_action_exte...', Object(WP_Query), Array, '270') #7 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/wpv-archive-loop.php(2123): WPV_WordPress_Archive_Frontend->initialize_archive_loop() #8 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/class-wp-hook.php(303): WPV_WordPress_Archive_Frontend->wpv_initialize_wordpress_archive_for_archive_loop('270') #9 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #10 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #11 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/inc/cell_types/wpddl.cell_views_loop.class.php(38): do_action('wpv_action_wpv_...', '270') #12 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout.class.php(1011): WPDD_layout_loop_views_cell->frontend_render_cell_content(Object(WPDD_BootstrapThree_render)) #13 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout.class.php(604): WPDD_layout_cell->frontend_render(Object(WPDD_BootstrapThree_render)) #14 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout.class.php(91): WPDD_layout_row->frontend_render(Object(WPDD_BootstrapThree_render)) #15 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout-render.class.php(137): WPDD_layout->frontend_render(Object(WPDD_BootstrapThree_render)) #16 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout-render.class.php(135): WPDD_layout_render->render_to_html() #17 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout-render.class.php(135): WPDD_layout_render->render_to_html() #18 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layout-render.class.php(453): WPDD_layout_render->render_to_html() #19 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layouts.render.manager.class.php(574): WPDD_layout_render->render() #20 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes-auto/wpddl.layouts.render.manager.class.php(556): WPDD_Layouts_RenderManager->get_rendered_layout_content(Object(WPDD_layout), Array) #21 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/classes/wpddl.class.php(1449): WPDD_Layouts_RenderManager->get_layout_content_for_render(Object(WPDD_layout), Array) #22 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/inc/api/ddl-theme-api.php(47): WPDD_Layouts->get_layout_content_for_render('', Array) #23 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/layouts/inc/api/ddl-theme-api.php(13): get_the_ddlayout('', Array) #24 /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/themes/toolset-starter/index.php(5): the_ddlayout() #25 /customers/9/2/3/gerardimontium.be/httpd.www/wp-includes/template-loader.php(106): include('/customers/9/2/...') #26 /customers/9/2/3/gerardimontium.be/httpd.www/wp-blog-header.php(19): require_once('/customers/9/2/...') #27 /customers/9/2/3/gerardimontium.be/httpd.www/index.php(17): require('/customers/9/2/...') #28 {main} thrown in /customers/9/2/3/gerardimontium.be/httpd.www/wp-content/plugins/wp-views/embedded/inc/classes/wpv-cache.class.php on line 358
Are you using PHP8 in your new webserver?
If it is, PHP 8 is currently not supported due to some issues:
https://toolset.com/toolset-requirements/
Please downgrade to PHP 7.4, and test again
My issue is resolved now. Thank you!