PHP 5.4: Warning displayed

Phoca Gallery plugins - plugins for Phoca Gallery extension
MSC
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 May 2013, 22:32

PHP 5.4: Warning displayed

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHP 5.4: Warning displayed

Post by Jan »

Hi, thank you for your info, I will take a look at it to change it for PHP 5.4

Jan
If you find Phoca extensions useful, please support the project
bambid
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Jan 2014, 23:55

Re: PHP 5.4: Warning displayed

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: PHP 5.4: Warning displayed

Post by Benno »

Post Reply