You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[0.0001] SET character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8';
[0.0000] SET CHARACTER SET 'utf8';
[0.0001] SET time_zone = '+01:00';
[0.0005] SELECT SQL_CACHE t1.name, t2.page, t2.delegate, t2.callback FROM `sym_extensions` as t1 INNER JOIN `sym_extensions_delegates` as t2 ON t1.id = t2.extension_id WHERE t1.status = 'enabled' ORDER BY t2.delegate, t1.name;
[0.0002] SELECT SQL_CACHE `session_data` FROM `sym_sessions` WHERE `session` = 'session-token-redacted' LIMIT 1;
[0.0002] SELECT SQL_CACHE a.* FROM `sym_authors` AS `a` WHERE `username` = 'user-redacted' ORDER BY a.id ASC LIMIT 1;
[0.0002] UPDATE sym_authors SET `last_seen` = 'time-redacted' WHERE `id` = 1;
[0.0003] SELECT SQL_CACHE `s`.* FROM `sym_sections` AS `s` ORDER BY `s`.`name` ASC;
[0.0002] SELECT SQL_CACHE `name` FROM `sym_extensions` WHERE `status` = 'enabled';
[0.0001] SELECT SQL_CACHE * FROM `sym_extensions`;
[0.0003] SELECT SQL_CACHE `s`.* FROM `sym_sections` AS `s` ORDER BY `s`.`sortorder` asc;
The text was updated successfully, but these errors were encountered:
Upon revisiting this, I think I figured out what was wrong > 0 should be outside count(). Retested on my installation, switching to PHP 7.3.15, and all good. Submitted PR #62
Steps to reproduce:
Visit
/symphony/extension/search_index/indexes/
via the Search Index > Indexes menu item.From php.net: Since PHP 7.2.0: count() will now yield a warning on invalid countable types passed to the array_or_countable parameter.
If I roll back to PHP 7.1 all is well.
Symphony Warning: count(): Parameter must be an array or an object that implements Countable
An error occurred in
/path-redacted/extensions/search_index/content/content.indexes.php
around line302
Backtrace
Database Query Log
The text was updated successfully, but these errors were encountered: