Empty "misc" output since WPSOLR Pro 21.5
- euwid_burkhardParticipant5 years, 1 month ago #13688
Hi,
after updating from WPSOLR Pro 21.4 to WPSOLR Pro 21.5 we’re missing the “misc”-data (author name and date) from the result page. After outputting the “result” array in the twig template I noticed, that all fields inside “result.meta_information” are empty.
For this I used the following code:
{% for key, res in result.meta_information %}
{{ loop.index }} – {{ key }} – {{ res }}<br>
{% endfor %}result:
1 – author –
2 – category –
3 – date – –
4 – comments_number –Do you have any idea about what the problem could be?
Thanks in advance!
Best regards,
Vincent Burkhardeuwid_burkhardParticipant5 years, 1 month ago #13689Sorry, I forgot some additional information:
– I tried to debug the issue in the file: /wpsolr-pro/wpsolr-templates/twig/search/result.twig
– I added my for loop after line 57 – these lines here:
{# Meta information #}
{% block result_metas %}
<div class=’p_misc’>
– I also tried to change the search template in the settings (part 2.1), no difference.
– I also tried overwriting the template files via child-theme. The results are the same.euwid_burkhardParticipant5 years, 1 month ago #13769Hi again. I just checked: We are using the theme option in screen 2.1. The result stays the same when I turn it to WPSOLRs custom search templates so I think that’s not the problem. Even without changing anything the problem occurred with the update from 21.4 to 21.5. Any ideas? Thanks in advance!
euwid_burkhardParticipant5 years, 1 month ago #13771Okay, thank you. We’re gonna keep the old version for now since we need to keep the filtering and same look for our customers.
I tested the theme search template with “our url/?s=” on a local staging and the meta information shows in this scenario.
wpsolrKeymaster4 years, 12 months ago #14028https://www.wpsolr.com/forums/topic/release-21-6/ is released with a fix for missing author informations on the Ajax template.
You must be logged in to reply to this topic.