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

Phoca Font - rendering external fonts in Joomla! CMS
Johnh
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 Feb 2016, 09:30

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

Post by Johnh » 24 Feb 2016, 09:57

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

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 24 Feb 2016, 17:09

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
If you find Phoca extensions useful, please support the project

Post Reply