How to Fix the error after updating to Joomla 3.9
If you updated to the latest version and the following error appears when you try to launch Themler please follow the instruction below:
Fatal error: require_once(): Failed opening required '[...]/administrator/includes/toolbar.php' (include_path='.:/usr/lib/php7.2') in [...]/templates/[theme_name]/app/index.php on line 25
- Open theme folder on the server:
www/Joomla_directory/templates; - open
/appfolder; - open
index.phpfor editing in any html or text editor; - find the line
require_once JPATH_BASE . DS . 'includes' . DS . 'toolbar.php';
and replace it with the following line:
$prefix = version_compare(JVERSION, '3.9', '>=') ? 'sub' : '';;
require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php'; - open
/app/startfolder; - open
data.phpfile for editing and follow step 4; - open
manifest.phpfile for editing and follow step 4; - start Themler.
![]()