Trying to index a new, or reindex J4 smart search content that also includes the YOOTheme ZOO component throws a "undefined" modal error. Since I believe this is possibly a YOOTheme specific issue, I submitted this issue to their dev team as well but wanted to also make provide this to the J4 team as there might be some crossover issue that needs to be addressed.
Reindexing the smart search should complete without error. If I enable the "search - zoo" or "smart search - zoo" plugins, the smart search index will fail.
Indexing a new, or updating the smart search index creates an error, both from the J4 administrative interface as well as running the CLI script from SSH
I'm running an an Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz', 3800MHz, 6 Core, 32GB Ram
Joomla: v4.3.4
Template: Helix Ultimate v2.0.14
Zoo Component: v4.1.38
PHP: v8.1
Database Version: v10.5.22-MariaDB
I logged into the admin side of my site, cleared out all of the indexed content so it was completely empty and ran the indexing CLI script from SSH. Sometimes it completed successfully (though it could often take anywhere from 20-60 minutes to complete), other times it got part way through and then crashed with a "broken pipe" error. Below are a few examples of the SSH results - again, keep in mind that after each attempt I went back into the admin side of the site and cleared out the index so this was indexing everything fresh.
In this example you'll notice that batch 3 took ~53 minutes and then crapped out with a "client_loop: send disconnect: Broken pipe" error. It never got to batch 4.
Starting Indexer
Setting up Smart Search plugins
Setup 156 items in 0.034 seconds.
This one made it to batch 4, but took over 20 minutes on batch 3 and still give me that "client_loop: send disconnect: Broken pipe" error.
Starting Indexer
Setting up Smart Search plugins
Setup 156 items in 0.037 seconds.
Total Processing Time: 1735.26 seconds.
Peak memory usage: 41,943,040 bytes
client_loop: send disconnect: Broken pipe`
It wouldn't be fair to only show the failures, so here's a script example that completes a fresh index successfully - though again after about 23 minutes. I don't know what content is in what batch, but I know that I always have only 4 batches and from trial and error I believe the ZOO content is in batch 3 if only because it's the one that takes the longest.
Starting Indexer
Setting up Smart Search plugins
Setup 156 items in 0.04 seconds.
Total Processing Time: 1737.786 seconds.
Peak memory usage: 41,943,040 bytes`
As a delta reference point, if I have already successfully indexed all of the content and I then try to run the CLI script from SSH, it rips through the steps very quickly as shown in this example. Again, this is running the CLI script on content that's already been indexed. Unfortunately trying to run the index updater from the J4 admin side still gives me the 'undefined' error.
Starting Indexer
Setting up Smart Search plugins
Setup 156 items in 0.05 seconds.
Total Processing Time: 0.685 seconds.
Peak memory usage: 29,360,128 bytes`
So in a more concise manner:
Again, I believe this is most likely an issue specifically related to YOOTheme's component but I also wanted to provide it to fresh eyes on the J4 team which might have some additional thoughts or insight as to why this would be happening and if there's anything on their side of the equation that could be addressed.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
with only 156 items ?
sounds like a not core issue
p.s
@pscarnegie thanks for reporting
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-01-25 18:20:40 |
Closed_By | ⇒ | alikon |
@pscarnegie Please advise status.