Page 1 of 1

Plugin error - Deprecated: Non-static method PhocaGalleryRen

Posted: 21 Jun 2016, 12:23
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

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

Posted: 22 Jun 2016, 17:10
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