RESOLVED PARTLY: the phoca.scss file exists at the path shown in the exception description. The error is due to the use of the word $white in line 224. I replaced it with #FFFFFF and the template front page appears correctly now.
But the body of the page shows a table of functions and locations with the heading 0 Call to a member function getWebAssetManager() on null - any thoughts?
My initial post was:
Hi,
I am trying to configure Premier Template for Gantry 5 use on Joomla 4 and I have followed the step-by-step guide to Premier Gantry 5 installation and configured all modules. But the home page shows some Twig Errors - see photos.lake-district-short-breaks.co.uk . It seems phoca.scss is missing ? Or any patch? Thanks.
Premiere Template Gantry 5 Joomla 4 Problem
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Oct 2021, 19:40
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Premiere Template Gantry 5 Joomla 4 Problem
Hi, what is the full message error? (including file and line of the error) Do you use Phoca Premiere template on Joomla! 4? There is still no version for Joomla 4 of this template.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Oct 2021, 19:40
Re: Premiere Template Gantry 5 Joomla 4 Problem
Hi Jan,
Yes I tried to use it on Joomla 4 and could not work around that "null ()"error . I reinstalled everything and the combination of Joomla 3.10.2 +Gantry 5 + PhocaCart and All Modules + Phoca Premier Template work just fine. Can't answer your question about the exact line errors - there was a table with about 20 lines of errors. Astroid resolve it by deleting in full the frontend directory in the template but gantry does not have it so no workaround yet it seems. So far so good - I can do without Joomla4 for now.
Yes I tried to use it on Joomla 4 and could not work around that "null ()"error . I reinstalled everything and the combination of Joomla 3.10.2 +Gantry 5 + PhocaCart and All Modules + Phoca Premier Template work just fine. Can't answer your question about the exact line errors - there was a table with about 20 lines of errors. Astroid resolve it by deleting in full the frontend directory in the template but gantry does not have it so no workaround yet it seems. So far so good - I can do without Joomla4 for now.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Premiere Template Gantry 5 Joomla 4 Problem
Ok
If you find Phoca extensions useful, please support the project