aka-ra1 HI
As I can't replicate this error at my side so I fixed it on your website:
File updated: /plugins/system/t4/src/t4/Helper/Path.php
Change this function:
public static function addIncludePath (&$path) {
//JPATH_THEMES
$template_path = str_replace('\\', '/', T4PATH_TPL);
for($i = count($path)-1; $i >= 0; $i--) {
$p = str_replace('\\', '/', $path[$i]);
if (strpos($p, $template_path) === 0) {
$file = substr($p, strlen($template_path));
// add base path theme after template path
$base_path = T4PATH_BASE . $file;
array_splice($path, $i+1, 0, $base_path);
// add template local path before template path
$local_path = T4PATH_LOCAL . $file;
array_splice($path, $i, 0, $local_path);
}
}
return $path;
}
To this:
public static function addIncludePath (&$path) {
//JPATH_THEMES
if (!defined('T4PATH_TPL')) {
return $path;
}
$template_path = str_replace('\\', '/', T4PATH_TPL);
for($i = count($path)-1; $i >= 0; $i--) {
$p = str_replace('\\', '/', $path[$i]);
if (strpos($p, $template_path) === 0) {
$file = substr($p, strlen($template_path));
// add base path theme after template path
$base_path = T4PATH_BASE . $file;
array_splice($path, $i+1, 0, $base_path);
// add template local path before template path
$local_path = T4PATH_LOCAL . $file;
array_splice($path, $i, 0, $local_path);
}
}
return $path;
}
Kindly check and let me know.