Page 1 of 1

Strict standard information

Posted: 18 Mar 2014, 12:56
by komodore
When I set logging E_ALL in log file I have this information:

Code: Select all

[18-Mar-2014 08:58:14 Europe/Warsaw] PHP Strict Standards:  Only variables should be assigned by reference
I modified this file in lines 52,54,56,64 and 1041 to remove this error and is OK.
I use phocagallery plugin 4.0.3 with Joomla 3.2.3 on php 5.4.11

Code: Select all

52: $user		= JFactory::getUser();
54: $db 		= JFactory::getDBO();
56: $document	= JFactory::getDocument();
64: $library 								= PhocaGalleryLibrary::getLibrary();
1041: $category = $db->loadObjectList();

Re: Strict standard information

Posted: 20 Mar 2014, 13:02
by Jan
Hi, thank you for the info, see:
https://www.phoca.cz/documents/50-phoca/ ... tic-method

I, step by step change the code so the strict standards will be not rendered more. I hope I will do it for all the code soon.

Jan