Strict standard information

Phoca Gallery plugins - plugins for Phoca Gallery extension
komodore
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 Mar 2014, 12:37

Strict standard information

Post 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();
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Strict standard information

Post 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
If you find Phoca extensions useful, please support the project
Post Reply