Critical error preventing search
Go to the Smart search component options and set
Clear the search index
Do a new index
Index runs and completed
Index stops with an "undefined" error after 5 items
administrator/logs/indexer.php
says
Doesnt matter which finder plugins are enabled so that error message is not helpful
Doesnt matter what the batch index size is set to it will always stop after the first batch
php 8.1
php 8.2
joomla 5.0.2
Labels |
Added:
No Code Attached Yet
|
Unable to reproduce with a clean installation of 5.0.2.
2024-01-22T18:20:50+00:00 INFO 127.0.0.1 - Starting the indexer
2024-01-22T18:20:51+00:00 INFO 127.0.0.1 - Starting the indexer batch process
2024-01-22T18:20:51+00:00 INFO 127.0.0.1 - Batch completed, peak memory usage: 20,971,520 bytes
Any suggestions how to debug this? It happens 100% time on this live site
It made no difference. :(
Note that there is no problem when using finder from the CLI
I can't reproduce it either. If you could open up your browser console and see what the AJAX request returned, we might get a bit wiser.
Sorry - I completely forgot to check the console
XHR finished loading: GET "redacted/administrator/index.php?option=com_finder&tmpl=component&format=json&task=indexer.start&4148e24ac0e4697f439dcf0791759050=1"
XHR failed loading: GET "redacted/administrator/index.php?option=com_finder&tmpl=component&format=json&task=indexer.batch&4148e24ac0e4697f439dcf0791759050=1"
GET redacted/administrator/index.php?option=com_finder&tmpl=component&format=json&task=indexer.batch&4148e24ac0e4697f439dcf0791759050=1 net::ERR_HTTP2_PROTOCOL_ERROR
Do you have any additional information in the network tab about the failing AJAX request?
The network tab just shows the same information
Without additional information I unfortunately can't help you further.
No idea what additional information I can provide or how to find it
Maybe try to see what the result is with debug mode switched on?
Making some progress - will feedback later
Any news?
It was a false dawn. Firefox gave a different error message in the console NS_ERROR_NET_INTERRUPT but apparently that's the normal message for FF when chrome says ERR_HTTP2_PROTOCOL_ERROR
Apache logs did have this extra info but I cant see anything from it
Invalid status line from script 'index.php': 0, referer: redacted/administrator/index.php?option=com_finder&view=indexer&tmpl=component
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-01-24 17:59:37 |
Closed_By | ⇒ | brianteeman |
With a lot of help from scalahosting we located the cause of the problem.
It was a 3pd plugin from @ahotzler https://github.com/ahotzler/plg_content_prismsyntaxhighlighter