Hi Humayon,
After deactivating all plugins and switching them on again one after the other I found out that WPDM Page Template Version 1.1 is causing the issue. Everything runs smooth as long as this plugin is turned off.
Here is the error message when turned on:
Uncaught TypeError: Argument 3 passed to locate_block_template() must be of the type array, string given, called in /public_html/wp-includes/template.php on line 66 and defined in /public_html/wp-includes/block-template.php:22
Stack trace:
#0 /public_html/wp-includes/template.php(66): locate_block_template(”, ‘page’, ‘default’)
#1 /public_html/wp-content/plugins/wpdm-page-template/wpdm-page-template.php(68): get_query_template(‘page’, ‘default’)
#2 /public_html/wp-includes/class-wp-hook.php(303): wpdm_page_template->wpdm_page_template_template_include(‘/…’)
#3 /public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘/…’, Array)
#4 /public_html/wp-includes/template-loader.php(104): apply_filters(‘template_includ…’, ‘/…’)
#5 /public_html/wp-blog-header.php(19): require_once(‘/…’)
#6 /public_html/index.php(17): re