Maps error

Phoca Maps - displaying maps in Joomla! CMS
smaiderman
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 May 2011, 19:30

Maps error

Post by smaiderman »

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\j16\plugins\content\phocamaps\phocamaps.php on line 48

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\j16\plugins\content\phocamaps\phocamaps.php on line 49

Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\j16\plugins\content\phocamaps\phocamaps.php on line 50

Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\j16\includes\application.php on line 507

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\j16\plugins\content\phocamaps\phocamaps.php on line 50

Strict Standards: Non-static method PhocaMapsHelperRoute::getMapRoute() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\j16\plugins\content\phocamaps\phocamaps.php on line 465

Strict Standards: Non-static method PhocaMapsHelperRoute::_findItem() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\j16\components\com_phocamaps\helpers\route.php on line 30

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\j16\components\com_phocamaps\helpers\route.php on line 67

Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\j16\components\com_phocamaps\helpers\route.php on line 71

Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\j16\includes\application.php on line 507

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\j16\components\com_phocamaps\helpers\route.php on line 71

Strict Standards: Non-static method JSite::getMenu() should not be called statically in C:\xampp\htdocs\j16\components\com_phocamaps\router.php on line 30

Strict Standards: Non-static method JApplication::getMenu() should not be called statically in C:\xampp\htdocs\j16\includes\application.php on line 507

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\j16\components\com_phocamaps\router.php on line 30

That is what i get when I try to set your module in my page.
What is wrong??


Thnak you, and great work!
DevByStarlight
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 May 2011, 23:37

Re: Maps error

Post by DevByStarlight »

Hi all,

I upgraded my PHP install and looks like E_STRICT is now enabled by default in the new release ... Which is why so many of the forums are showing these types of errors. (Jumi, GTranslate, PhocaGallery, etc. etc.)

I wrote up a, hopefully helpful, explanation and workaround post on the Jumi forum. (http://edo.webmaster.am/forum/jumi/jumi ... -t490.html)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Maps error

Post by Jan »

Hi, E_STRICT should be enabled for developers only, in case you are creating a project for different php version, it is not possible to have no E_STRICT messages.

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