Page 1 of 1

Deprecated: Non-static method PhocaFontUtils::setVars() shou

Posted: 24 Feb 2016, 09:57
by Johnh
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

Re: Deprecated: Non-static method PhocaFontUtils::setVars()

Posted: 24 Feb 2016, 17:09
by Jan
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