Page 1 of 1

errors produced in error_log should not be called statically

Posted: 14 Sep 2015, 06:09
by nfleming
Hi, I have a massive amount of errors being produced by Phoca Gallery, which have created the error_log file in public_html/ to be 769meg.

Here is a sample of the errors. Currently the site is using a development URL until the site goes live, will this be causing the errors, if the site is not currently using the actual domain name?
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method PhocaGalleryRoute::getImageRoute() should not be called statically in /home/xx/public_html/modules/mod_phocagallery_image/mod_phocagallery_image.php on line 779
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method PhocaGalleryRoute::_findItem() should not be called statically in /home/xx/public_html/administrator/components/com_phocagallery/libraries/phocagallery/path/route.php on line 175
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method JApplication::getMenu() should not be called statically in /home/xx/public_html/administrator/components/com_phocagallery/libraries/phocagallery/path/route.php on line 191
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Only variables should be assigned by reference in /home/xx/public_html/administrator/components/com_phocagallery/libraries/phocagallery/path/route.php on line 191
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method JApplicationSite::getMenu() should not be called statically in /home/xx/public_html/components/com_phocagallery/router.php on line 38
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method JApplicationCms::getMenu() should not be called statically in /home/xx/public_html/libraries/cms/application/site.php on line 272
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Only variables should be assigned by reference in /home/xx/public_html/components/com_phocagallery/router.php on line 38
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method PhocaGalleryFile::getFileOriginal() should not be called statically in /home/xx/public_html/modules/mod_phocagallery_image/mod_phocagallery_image.php on line 782
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method PhocaGalleryPath::getPath() should not be called statically in /home/xx/public_html/administrator/components/com_phocagallery/libraries/phocagallery/file/file.php on line 107
[13-Sep-2015 22:26:44 America/Chicago] PHP Strict Standards: Non-static method PhocaGalleryPath::getInstance() should not be called statically in /home/xx/publ

I do not understand what 'Non-static method' and 'should not be called statically' mean?

Regards
Nicola Fleming
WebCoast

Re: errors produced in error_log should not be called static

Posted: 14 Sep 2015, 09:19
by Benno

Re: errors produced in error_log should not be called static

Posted: 15 Sep 2015, 01:40
by nfleming
Thank you. Perhaps you could add a new folder "Errors" in the documentation and post the information there? https://www.phoca.cz/documentation/categ ... ca-gallery
I looked in the folder before posting in the forum but could not see any suggestions for my problem.

Thank you for your help.
Nicola

Re: errors produced in error_log should not be called static

Posted: 15 Sep 2015, 08:56
by Benno
Ok.

Kind regards,
Benno