Phoca Premiere template issues

Phoca Templates - templates for Joomla! CMS
User avatar
jrjr
Phoca Professional
Phoca Professional
Posts: 114
Joined: 30 Nov 2018, 23:56

Phoca Premiere template issues

Post by jrjr »

Using Phoca Premiere, Joomla 3.9.28

Using php 7.3.29 things work ok but if I switch to
7.4.22 or 8.0.29

I get errors such as-
Deprecated: Array and string offset access syntax with curly braces is deprecated in

Also when I try to insert an image in JCE with either of the later php versions I get-
The server returned an invalid JSON response.

Not sure how much longer 7.3.29 will be supported!
Should I be concerned?

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Premiere template issues

Post by Jan »

Hi, can you paste the whole error message including file and line so I can take a look at it.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
jrjr
Phoca Professional
Phoca Professional
Posts: 114
Joined: 30 Nov 2018, 23:56

Re: Phoca Premiere template issues

Post by jrjr »

7.4.22 Editing with JCE in Premiere template. Other sites using stock templates are ok.
(deleted my server info of course)

Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/lakeshoreleather.com/components/com_jce/editor/libraries/classes/browser.php on line 457

Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/lakeshoreleather.com/components/com_jce/editor/libraries/classes/browser.php on line 473

Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/lakeshoreleather.com/components/com_jce/editor/libraries/classes/extensions/filesystem.php on line 116
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Premiere template issues

Post by Jan »

Hi, all the errors come from the component JCE libraries, so maybe this is much more a question on JCE developers. Unfortunately, I am not using JCE so I really cannot say what can be wrong there :idea:

Did you get some answer from JCE developers?

Jan
If you find Phoca extensions useful, please support the project
User avatar
jrjr
Phoca Professional
Phoca Professional
Posts: 114
Joined: 30 Nov 2018, 23:56

Re: Phoca Premiere template issues

Post by jrjr »

No I haven't asked them since it is only with the Phoca Premiere template. Other templates are ok. Seems that is the issue with how it interacts with JCE.
User avatar
jrjr
Phoca Professional
Phoca Professional
Posts: 114
Joined: 30 Nov 2018, 23:56

Re: Phoca Premiere template issues

Post by jrjr »

Tiny MCE works ok so I will just switch to that. Let me know if you have a revelation! Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Premiere template issues

Post by Jan »

Hi, as written above, the error comes from this file: components/com_jce/editor/libraries/classes/extensions/filesystem.php on line 116. If it does not occur with another templates, does not mean, the error is not here. It can also mean that another templates don't use the feature which is called on this line. So, unfortunately, only the developer of this file can give some clue advice there :idea:

This type of error: "Deprecated: Array and string offset access syntax with curly braces is deprecated" is most a type of typo used, so I think, the developer of the file where this error occurs will appreciate feedback to change this deprecated cod to newest.

Jan
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Phoca Premiere template issues

Post by christine »

Hi,

for your information: You could also ask here in forum: https://www.joomlacontenteditor.net/support/forum

Meanwhile I hv created an Issue: https://github.com/widgetfactory/jce/issues/96

Kind regards
Christine

Update: got quick answer from Ryan:

The file in question does not contain curly braces offset in the current version - https://github.com/widgetfactory/jce/bl ... m.php#L116
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Phoca Premiere template issues

Post by christine »

Hi,

Update: The issue (see above link) has been closed.
Are you using the latest available version of JCE?

https://www.joomlacontenteditor.net/downloads/editor

Kind regards
Christine
User avatar
jrjr
Phoca Professional
Phoca Professional
Posts: 114
Joined: 30 Nov 2018, 23:56

Re: Phoca Premiere template issues

Post by jrjr »

christine wrote: 13 Aug 2021, 13:23 Hi,

Update: The issue (see above link) has been closed.
Are you using the latest available version of JCE?

https://www.joomlacontenteditor.net/downloads/editor

Kind regards
Christine
Upon checking in Joomla! for updates it told me there were none available and everything was up to date. I was at JCE 2.6.36. I just downloaded 2.9.10 and installed it on my test site and it has fixed the errors. I wonder why it does not show up in the Joomla! update system? Anyway, thanks for going the extra mile! Great support here, as always!!
Edit- I responded on github as well :-)
Post Reply