Can't edit template - Sorry, an error has occurred. Please clear your browser cache.

justin12
20 Posts
justin12 posted this 20 October 2020

When trying to edit our template in Joomla we keep getting this even after clearing our browser cache:

Sorry, an error has occurred. Please clear your browser cache.

I see this in the backend
Got error 'PHP message: PHP Notice: Undefined index: message in /...httpdocs/templates/marist2020/app/classes/Helper.php on line 228', referer: https://maristfathers.org.au/administrator/index.php?option=com_templates&view=style&layout=edit&id=16&editor=1&theme=marist2020&ver=441

We recently repaid for Themler. PHP version 7.3.23. Joomla version, 3.9.22.

How do we fix?

(I did this one earlier to fix other issues: https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9)

When trying to edit our template in Joomla we keep getting this even after clearing our browser cache: Sorry, an error has occurred. Please clear your browser cache. I see this in the backend Got error 'PHP message: PHP Notice: Undefined index: message in /...httpdocs/templates/marist2020/app/classes/Helper.php on line 228', referer: https://maristfathers.org.au/administrator/index.php?option=com_templates&view=style&layout=edit&id=16&editor=1&theme=marist2020&ver=441 We recently repaid for Themler. PHP version 7.3.23. Joomla version, 3.9.22. How do we fix? (I did this one earlier to fix other issues: https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9)
Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
justin12
20 Posts
justin12 posted this 20 October 2020

Ok I got it working.

I think the problem is that your how to fix page had two ; at the end;

require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php';;

Ok I got it working. I think the problem is that your how to fix page had two ; at the end; require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php';;
Support Team
Support Team posted this 20 October 2020

Thanks for letting us know. Please feel free to contact us in any other case.

Sincerely,
Nettie

Thanks for letting us know. Please feel free to contact us in any other case. Sincerely, Nettie
You must log in or register to leave comments