Hello, since today’s wordpress update, I had to disable “WPDM – Page Template” add-on. It was crashing my site where no pages would load. I made sure it was updated to the latest version, but now when I enable the add-on, my site crashes throwing the following error:
Fatal error: Uncaught TypeError: Argument 3 passed to locate_block_template() must be of the type array, string given, called in C:\inetpub\wwwroot\highschool\wp-includes\template.php on line 66 and defined in C:\inetpub\wwwroot\highschool\wp-includes\block-template.php:22 Stack trace: #0 C:\inetpub\wwwroot\highschool\wp-includes\template.php(66): locate_block_template('', 'page', 'default') #1 C:\inetpub\wwwroot\highschool\wp-content\plugins\wpdm-page-template\wpdm-page-template.php(68): get_query_template('page', 'default') #2 C:\inetpub\wwwroot\highschool\wp-includes\class-wp-hook.php(303): wpdm_page_template->wpdm_page_template_template_include('C:\\inetpub\\wwwr...') #3 C:\inetpub\wwwroot\highschool\wp-includes\plugin.php(189): WP_Hook->apply_filters('C:\\inetpub\\wwwr...', Array) #4 C:\inetpub\wwwroot\highschool\wp-includes\template-loader.php(104): apply_filters('template_includ...', 'C:\\inetpub\\wwwr...') #5 C:\inetpub\wwwroot\highschool\wp-blog-header.php(19): require_once('C:\\inetpub\\wwwr...') #6 C:\inetpub\w in C:\inetpub\wwwroot\highschool\wp-includes\block-template.php on line 22
There has been a critical error on this website.