„PhocaMapsPath::getPath() should not be called statically”

Phoca Maps - displaying maps in Joomla! CMS
Zotius
Phoca Member
Phoca Member
Posts: 16
Joined: 08 Feb 2012, 17:46
Location: Mosonmagyarovar, Hungary
Contact:

„PhocaMapsPath::getPath() should not be called statically”

Post by Zotius »

These error messages appear here, but previously everything was fine.
What is the solution?
Deprecated: Non-static method PhocaMapsPath::getPath() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/plugins/content/phocamaps/phocamaps.php on line 263

Deprecated: Non-static method PhocaMapsPath::getInstance() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/administrator/components/com_phocamaps/helpers/phocamapspath.php on line 29

Deprecated: Non-static method PhocaMapsIcon::getIconData() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/administrator/components/com_phocamaps/helpers/phocamapsmap.php on line 461

Deprecated: Non-static method PhocaMapsIcon::getIconData() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/administrator/components/com_phocamaps/helpers/phocamapsmap.php on line 461

Deprecated: Non-static method PhocaMapsIcon::getIconData() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/administrator/components/com_phocamaps/helpers/phocamapsmap.php on line 461

Deprecated: Non-static method PhocaMapsIcon::getIconData() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/administrator/components/com_phocamaps/helpers/phocamapsmap.php on line 461

Deprecated: Non-static method PhocaMapsIcon::getIconData() should not be called statically, assuming $this from incompatible context in /home/vuf/public_html/administrator/components/com_phocamaps/helpers/phocamapsmap.php on line 461
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: „PhocaMapsPath::getPath() should not be called staticall

Post by Jan »

Hi, thank you for this info, see:

I will change the code to prevent these warnings in next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
jabi
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Mar 2011, 10:08

Re: „PhocaMapsPath::getPath() should not be called staticall

Post by jabi »

Hi, I have same problem after I insert markers. Map without markers is fine. When can be expected update? I have version 3.0.1. on Joomla 3.4.3.

Thanks for reply. :-)
jabi
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Mar 2011, 10:08

Re: „PhocaMapsPath::getPath() should not be called staticall

Post by jabi »

Hi, just wanted to ask when will come update for phoca maps, or how to get rid of this problem?

Just to clerify map is OK until I publish markers. Then I get:
Deprecated: Non-static method PhocaMapsIcon::getIconData() should not be called statically, assuming $this from incompatible context in /www/doc/www.xxxxxxxxx.cz/www/administrator/comp ... apsmap.php on line 461


Thanks for help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: „PhocaMapsPath::getPath() should not be called staticall

Post by Jan »

Hi, thank you for the info:
https://www.phoca.cz/documents/50-phoca/ ... tic-method

I will fix it in next version.

Jan
If you find Phoca extensions useful, please support the project
Post Reply