gregstoll / gallery2

A fork of the Gallery project (galleryproject.org) that supports PHP 8
GNU General Public License v2.0
44 stars 24 forks source link

Lots of PHP Notices in webserver errorlog #142

Closed kaeni1Ohkohd closed 1 year ago

kaeni1Ohkohd commented 1 year ago

The adodb/smarty upgrade creates lots of "PHP Notice: Only variables should be assigned by reference in /usr/local/www/gallery2/modules/core/classes/GalleryStorage.class on line 1541" in the webserver errorlog. The attached patch should fix that.

excessive-log.txt

gregstoll commented 1 year ago

Sorry, I meant to make a proper PR for this but messed up and pushed commit 9faff54 directly to main. Thanks for the fix - checked my logs and they were giant!