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
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' );
Offline
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