I think the warning has to do with count() in line 65 in plugin_usergallery_imagedisplay.tpl:[Tue Jun 23 10:46:34.462114 2020] [php7:warn] [pid 25309] [client 54.36.148.245:37370] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/serendipity/templates_c/default/47/66/de/4766def$766defdc3de7086bc2441be5daebffb5ec685f9_0.file.plugin_usergallery_imagedisplay.tpl.php on line 133
Code: Select all
{if count($plugin_usergallery_file.staticpage_results) > 0}
Code: Select all
{if is_array($plugin_usergallery_file.staticpage_results) && count($plugin_usergallery_file.staticpage_results) > 0}