Plugin error - Deprecated: Non-static method PhocaGalleryRen

Phoca Gallery plugins - plugins for Phoca Gallery extension
anwender-anfaenger
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Jun 2016, 11:54

Plugin error - Deprecated: Non-static method PhocaGalleryRen

Post by anwender-anfaenger »

Hi there I need some help please.
After updateing my Joomla and Phoca I get error messages.

My System:
database Datenbankversion 5.1.73
charset Datenbankzeichensatz utf8_general_ci
charset connect Datenbankverbindungszeichensatz utf8_general_ci
PHP-Version 5.6.22
Webserver Apache
PHP-Interface für den Webserver cgi-fcgi
Joomla!-Version Joomla! 3.5.1 Stable [ Unicorn ] 05-April-2016 22:45 GMT
Joomla!-Plattform-Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Phoca:
Phoca Gallery Version 4.3.0
I get error message:
Deprecated: Non-static method PhocaGalleryRenderFront::renderASwitch() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/xxxmydomainnamexxxhttpdocs/components/com_phocagallery/views/category/tmpl/default_images.php on line 66
onmouseover="PhocaGallerySwitchImage('PhocaGalleryobjectPicture', '/images/phocagallery/Aussenansicht/thumbs/phoca_thumb_l_-2015.png');" >

Deprecated: Non-static method PhocaGalleryRenderFront::renderASwitch() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/xxxmydomainnamexxx/httpdocs/components/com_phocagallery/views/category/tmpl/default_images.php on line 66
onmouseover="PhocaGallerySwitchImage('PhocaGalleryobjectPicture', '/images/phocagallery/Eingangsbereich/thumbs/phoca_thumb_m1_DSC_0634.JPG-SenResLuSued_Eingang_.png');" >
Any hint on how to handle this?
Thanks in advance

Mike
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin error - Deprecated: Non-static method PhocaGaller

Post by Jan »

Hi, than you for the info, I will change it for the next release, to not display the warnings, see:
https://www.phoca.cz/documents/50-phoca/ ... tic-method

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