Announcement

#1 2020-07-08 12:10:51

gavcormack
Member
2020-07-08
2

PHP Warning - function 'tags_counter_compare' not found...

Howdy All,

Have just come across this error on my main site any suggestions or ideas as to what to try - I am up to date, plugins have been checked and up to date, I am only using LocalFiles Editor.

Warning
: usort() expects parameter 2 to be a valid callback, function 'tags_counter_compare' not found or invalid function name in
C:\inetpub\wwwroot\piwigo\include\menubar.inc.php
on line
141

Could it be permissions related, I tend to find on IIS its usually a permissions thing...

....
Piwigo 2.10.2 Check for upgrade
Operating system: WINNT
PHP: 7.2.28 (Show info) [2020-07-08 20:06:07]
MySQL: 5.5.5-10.4.12-MariaDB [2020-07-08 20:06:07]
Graphics Library: ImageMagick 7.0.7-11
Piwigo URL: http://photos.handystuff.info/

Offline

 

#2 2020-07-08 12:45:38

erAck
Only trying to help
2015-09-06
2023

Re: PHP Warning - function 'tags_counter_compare' not found...

It should be there
include/functions_tag.inc.php:316:function tags_counter_compare($a, $b)
which is included via
index.php:11:include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
include/common.inc.php:98:include(PHPWG_ROOT_PATH . 'include/functions.inc.php');
include/functions.inc.php:19:include_once( PHPWG_ROOT_PATH .'include/functions_tag.inc.php' );


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2020-07-15 13:02:13

gavcormack
Member
2020-07-08
2

Re: PHP Warning - function 'tags_counter_compare' not found...

Thanks erAck - I replaced functions_tag.inc.php with a fresh copy from the install zip and it seems to have resolved the issue.

Though I now seem to have broken the Android App...

Maybe I will just do a clean install.

Last edited by gavcormack (2020-07-15 13:09:57)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact