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?
Phoca Premiere template issues
- jrjr
- Phoca Professional
- Posts: 114
- Joined: 30 Nov 2018, 23:56
- Jan
- Phoca Hero
- Posts: 48345
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Premiere template issues
Hi, can you paste the whole error message including file and line so I can take a look at it.
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project
- jrjr
- Phoca Professional
- Posts: 114
- Joined: 30 Nov 2018, 23:56
Re: Phoca Premiere template issues
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
(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
- Jan
- Phoca Hero
- Posts: 48345
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Premiere template issues
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
Did you get some answer from JCE developers?
Jan
Did you get some answer from JCE developers?
Jan
If you find Phoca extensions useful, please support the project
- jrjr
- Phoca Professional
- Posts: 114
- Joined: 30 Nov 2018, 23:56
Re: Phoca Premiere template issues
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.
- jrjr
- Phoca Professional
- Posts: 114
- Joined: 30 Nov 2018, 23:56
Re: Phoca Premiere template issues
Tiny MCE works ok so I will just switch to that. Let me know if you have a revelation! Thanks
- Jan
- Phoca Hero
- Posts: 48345
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Premiere template issues
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
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
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
-
- Phoca Hero
- Posts: 2808
- Joined: 28 Nov 2010, 17:20
Re: Phoca Premiere template issues
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
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
-
- Phoca Hero
- Posts: 2808
- Joined: 28 Nov 2010, 17:20
Re: Phoca Premiere template issues
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
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
- jrjr
- Phoca Professional
- Posts: 114
- Joined: 30 Nov 2018, 23:56
Re: Phoca Premiere template issues
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!!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
Edit- I responded on github as well