Page 1 of 2

Phoca Premiere template issues

Posted: 02 Aug 2021, 17:05
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?

Re: Phoca Premiere template issues

Posted: 05 Aug 2021, 16:27
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

Re: Phoca Premiere template issues

Posted: 05 Aug 2021, 16:41
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

Re: Phoca Premiere template issues

Posted: 05 Aug 2021, 16:49
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

Re: Phoca Premiere template issues

Posted: 05 Aug 2021, 17:02
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.

Re: Phoca Premiere template issues

Posted: 05 Aug 2021, 17:27
by jrjr
Tiny MCE works ok so I will just switch to that. Let me know if you have a revelation! Thanks

Re: Phoca Premiere template issues

Posted: 12 Aug 2021, 23:57
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

Re: Phoca Premiere template issues

Posted: 13 Aug 2021, 12:33
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

Re: Phoca Premiere template issues

Posted: 13 Aug 2021, 13:23
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

Re: Phoca Premiere template issues

Posted: 13 Aug 2021, 13:29
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 :-)