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
What it says on the tin... If there's an unpub_date set, it fails with:
PHP Fatal error: Uncaught exception 'Elastica\Exception\ResponseException' with message 'failed to parse [unpub_date]' in /core/components/simplesearch/model/simplesearch/driver/libs/Elastica/Transport/Http.php:171
I tried adding pub_date and unpub_date to the $dateFields array, but that cause indexing to fail when there was no pub/unpub_date set (with the same message). I've temporarily just unset($fields['unpub_date'], $fields['pub_date']) before the $fields loop, but I'm not sure that's the best way to handle things. @theboxer What do you think?
The text was updated successfully, but these errors were encountered:
What it says on the tin... If there's an
unpub_date
set, it fails with:PHP Fatal error: Uncaught exception 'Elastica\Exception\ResponseException' with message 'failed to parse [unpub_date]' in /core/components/simplesearch/model/simplesearch/driver/libs/Elastica/Transport/Http.php:171
I tried adding
pub_date
andunpub_date
to the$dateFields
array, but that cause indexing to fail when there was no pub/unpub_date set (with the same message). I've temporarily justunset($fields['unpub_date'], $fields['pub_date'])
before the$fields
loop, but I'm not sure that's the best way to handle things. @theboxer What do you think?The text was updated successfully, but these errors were encountered: