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
PHP 5.4: Warning displayed
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PHP 5.4: Warning displayed
Hi, thank you for your info, I will take a look at it to change it for PHP 5.4
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 28 Jan 2014, 23:55
Re: PHP 5.4: Warning displayed
Hello I got since the Update to 5.4 these Issues:
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
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
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
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact: