Page 1 of 1

Maps error

Posted: 18 May 2011, 19:31
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!

Re: Maps error

Posted: 22 May 2011, 06:34
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)

Re: Maps error

Posted: 26 Jul 2011, 21:16
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