Page 1 of 1
Using $this when not in object context
Posted: 19 Mar 2019, 18:12
by mcanonic
Hi,
I'm having the issue in the subject and no phocadownload files are available.
I've activate the debug and here you can see what I get when I try to download a file:
https://www.comune.rivarone.al.it/index ... Itemid=145
Any idea of what could be done to fix it?
Thanks,
M
Re: Using $this when not in object context
Posted: 19 Mar 2019, 18:24
by mcanonic
I realized that I had the 3.0.3 version, now I've updated the last version (3.1.7) and now it works.
I was wondering why I did not get automatic update.
Do you know why?
Thanks,
M
Re: Using $this when not in object context
Posted: 19 Mar 2019, 19:46
by christine
Hi mcanonic,
Some generell informations concerning "Fatal Error 0 Using $this when not in object context"
This error we could see very often in the past, in connecting with PHP 7.2 >
- some extensions
- some templates
- framework, not updated e.g. Helix plugin
etc. ...
Example:
https://github.com/joomla/joomla-cms/issues/21258
In the meantime, all Phoca extensions are ready for PHP 7.2 / (7.3)
I was wondering why I did not get automatic update.
There were problems with update Server. The update manifest.xml has been recently reuploaded from Jan.
Actual one:
https://github.com/PhocaCz/PhocaDownloa ... nifest.xml
https://www.phoca.cz/news
Kind regards
Christine
Re: Using $this when not in object context
Posted: 25 Mar 2019, 16:14
by mcanonic
Thanks Christine.
I'm not sure if now I already have the new xml file since I've updated to 3.1.7 or I have to manually upload the new xml file.
Thanks,
M
Re: Using $this when not in object context
Posted: 25 Mar 2019, 18:57
by christine
Hi mcanonic,
as everything will work (now) as expected, it seems you have the latest one.
It was just explanation about the "fatal error" resp. problems with Update Server weeks ago.
Kind regards
Christine