I get a bunch of different Deprecated messages in my Phoca Font control panel. To do with non-static method. For example:
Deprecated: Non-static method PhocaFontUtils::setVars() should not be called statically, assuming $this from incompatible context in /home
Deprecated: Non-static method phocaFontHelper::getPhocaVersion() should not be called statically, assuming $this from incompatible context in /home
Deprecated: Non-static method PhocaFontRenderAdmin::quickIconButton() should not be called statically, assuming $this from incompatible context in /home
Deprecated: Non-static method PhocaFontRenderAdmin::getLinks() should not be called statically, assuming $this from incompatible context in /home
What am I doing wrong? I am new at this.
I am trying to use a google font Montserrat
Deprecated: Non-static method PhocaFontUtils::setVars() shou
-
- Phoca Newbie
- Posts: 1
- Joined: 24 Feb 2016, 09:30
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Deprecated: Non-static method PhocaFontUtils::setVars()
Hi, see:
https://www.phoca.cz/documents/50-phoca/ ... tic-method
Disable displaying php errors on your site.
Anyway thank you for the info, I will fix this development messages in next version.
PS: Will be great if you can paste the warnings include the file names and line numbers.
Thank you, Jan
https://www.phoca.cz/documents/50-phoca/ ... tic-method
Disable displaying php errors on your site.
Anyway thank you for the info, I will fix this development messages in next version.
PS: Will be great if you can paste the warnings include the file names and line numbers.
Thank you, Jan
If you find Phoca extensions useful, please support the project