Template Loader Error

Hi,
WP Frontend is recently failing to load the basic template “Blank Container header, footer” through the template-loader.php file. The weird thing is that this error only occurs on one of several pages that using the same template that will output different content through a plugin via short-code. (see screenshots below).

when i am switching on php-debug it shows me some detailed information that it cant load properly the template php-file. I can fix it by hard-coding the absolute server-path via in the template-loader.php as a non viable work-around:

$prefix = "/www/htdocs/w01824b9/choc-mate.de/wp-content/themes/pro/framework/legacy/templates/";
if(!str_starts_with($template, $prefix)) $template = $prefix . $template;

for some reason the template php-file is located in a legacy folder which looks weird although i am using Theme: Pro Version: 6.5.15

I am looking forward getting some advice and help

Hi Benedikt,

Thanks for reaching out.
You mentioned that you are using the Pro version 6.5.15 which is an older version of the theme. I would suggest you update the Pro to its latest version i.e. 6.6.4 and check if that resolves the problem, if not please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Also note that PHP warnings are not a blocker and you can suppress the warning messages by adding the define( 'WP_DEBUG', false ); code into the wp-config.php file.

Thanks