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
I already investigated what happened and fixed it in my GravCMS instance.
When I tried to reindex from the admin page it only reindex 30 out of 600 pages. It turned out it was throwing an exception on the other pages. But that did not happen when running the reindex from the CLI. The exception message said that a 'xxxxx.json.twig' template did not exist.
Here's what happened...
When running the reindex from the admin page it sends a request to /admin.json/task:reindexTNTSearch.
This is the tntsearch.template used by all pages:
Which content is this:
When it tries to process this Twig file, take a look at this stack:
The problem is below... $extension ends up being "json"...
Anyways... I removed the .json extension from the tntsearch.js file and now it works.
The text was updated successfully, but these errors were encountered:
I already investigated what happened and fixed it in my GravCMS instance.
When I tried to reindex from the admin page it only reindex 30 out of 600 pages. It turned out it was throwing an exception on the other pages. But that did not happen when running the reindex from the CLI. The exception message said that a 'xxxxx.json.twig' template did not exist.
Here's what happened...
When running the reindex from the admin page it sends a request to
/admin.json/task:reindexTNTSearch
.This is the
tntsearch.template
used by all pages:Which content is this:
When it tries to process this Twig file, take a look at this stack:
The problem is below...
$extension
ends up being"json"
...Anyways... I removed the
.json
extension from thetntsearch.js
file and now it works.The text was updated successfully, but these errors were encountered: