Hi, I had an issue with the t4 framework after an update to my templates. After some debugging I found that the onAfterDispatch() function in t4.php was causing the error. If I comment out the following code my site works again.
$inedit = $input->get('layout') == 'edit' || ($input->get('option') == 'com_config' && $input->get('view') != 'templates');
if($inedit){
$app->set('themes.base', T4PATH_ADMIN);
$app->set('theme','theme');
}
Not sure if its a bug in the code or someting going wrong with my Joomla installation. If I restore a backup which contains t4 version 1.0.7 it works. 1.0.8 makes all my menu items with articles say i dont have access.
Sorry Just realised this is for Joomla 4. Im using Joomla 3