Page 1 of 1

PHP 5.4: Warning displayed

Posted: 24 May 2013, 22:40
by MSC
After my provider upgraded to PHP 5.4 I am getting the following warning on any page where I am using this plugin:
Warning: Creating default object from empty value in /home/www/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 154
I upgraded to v3.2.0 but no change.
Example: www. msc-konstanz.de/index.php/strecke/strecke

Re: PHP 5.4: Warning displayed

Posted: 24 May 2013, 23:23
by Jan
Hi, thank you for your info, I will take a look at it to change it for PHP 5.4

Jan

Re: PHP 5.4: Warning displayed

Posted: 29 Jan 2014, 00:02
by bambid
Hello I got since the Update to 5.4 these Issues:

Code: Select all

Strict Standards: Non-static method JSite::getMenu() should not be called statically in /home/.../www/.../components/com_phocagallery/router.php on line 38

Strict Standards: Non-static method JApplication::getMenu() should not be called statically in /home/.../www/.../includes/application.php on line 539

Strict Standards: Only variables should be assigned by reference in /home/.../www/.../components/com_phocagallery/router.php on line 38
So ther is a fault inside the code.
I can go back to PHP 5.3 (where i don't any errors) but still until March.

so what can i do?

thanks
bambid

Re: PHP 5.4: Warning displayed

Posted: 29 Jan 2014, 00:06
by Benno