-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Labels
Description
Basic Information
Trying to create a new Parsed search index always reports that the index was only "partially" completed no matter how many times you click "Resume", and in fact on PostgreSQL results in an error.
Steps to reproduce
- Try creating a parsed search index
- Click the "Resume" button when it reports that the index was partially created
Expected result
Parsed index created at some point (on my test boards, both of which have only a handful of topics and less than a dozen posts, I'd expect it to be created without having to stop and resume)
Actual result
MariaDB: Index is never created at all.
PostgreSQL: PHP error after clicking resume
Version/Git revision
Database Engine
All
Database Version
11.4.8-MariaDB-ubu2204 / PostgreSQL 14.19
PHP Version
8.4.14
Logs
PHP Warning: Undefined variable $query_string in /.../Sources/ErrorHandler.php on line 283;
PHP Fatal error: Uncaught ValueError: array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements in /.../Sources/Db/APIs/PostgreSQL.php:754
Stack trace:
#0 /.../Sources/Db/APIs/PostgreSQL.php(754): array_combine()
#1 /.../Sources/ErrorHandler.php(294): SMF\\Db\\APIs\\PostgreSQL->error_insert()
#2 /.../Sources/TaskRunner.php(364): SMF\\ErrorHandler::log()
#3 /.../Sources/ErrorHandler.php(283): SMF\\TaskRunner::handleError()
#4 /.../Sources/TaskRunner.php(382): SMF\\ErrorHandler::log()
#5 [internal function]: SMF\\TaskRunner::handleException()
#6 {main}
thrown in /.../Sources/Db/APIs/PostgreSQL.php on line 754Additional Information
No response