Theme Search fails without error message when one page doesn't sync correctly

I tried to search a theme over all my managed sites and was wondering, while I never get any result and the “Loading Thmes…” spinner keeps running. So I tried the same search over a few sites and it works correctly. After redo the search in bulks of 5 sites, I found that one of the site didn’t have the child theme correctly installed. The Ajax response showed very delayed (+2s), a JSON SyntaxError:

XHRPOSThttps://***.***wp-admin/admin-ajax.php
[HTTP/1.1 200 OK 1796ms]

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

1

***.*** - MainWP Child plugin not detected or could not be reached! Ensure the MainWP Child plugin is installed and activated on the child site, and there are no security rules blocking requests. If you continue experiencing this issue, check the <a href="https://managers.mainwp.com/c/community-support/5" target="_blank">MainWP Community</a> for help.<br/>***.*** - MainWP Child plugin not detected or could not be reached! Ensure the MainWP Child plugin is installed and activated on the child site, and there are no security rules blocking requests. If you continue experiencing this issue, check the <a href="https://managers.mainwp.com/c/community-support/5" target="_blank">MainWP Community</a> for help.<br/><div class="ui hidden divider"></div>{"result":"\t\t\t<div class=\"ui message yellow\">No themes found.<\/div>\n\t\t\t","bulk_actions":"\t\t<select class=\"ui dropdown\" id=\"mainwp-bulk-actions\">\n\t\t\t<option value=\"none\">Bulk Actions<\/option>\n\t\t\t\t\t\t\t\t\t<option data-value=\"ignore_updates\" value=\"ignore_updates\">Ignore updates<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option data-value=\"activate\" disabled value=\"activate\">Activate<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option data-value=\"delete\" disabled value=\"delete\">Delete<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<\/select>\n\t\t<button class=\"ui mini basic button\" href=\"javascript:void(0)\" id=\"mainwp-do-themes-bulk-actions\">Apply<\/button>\n\t\t<span id=\"mainwp_bulk_action_loading\"><i class=\"ui active inline loader tiny\"><\/i><\/span>\n\t\t"}

It would be very helpful if the message were actually displayed in the frontend.

Regards Valentin

Hi @vsign

Thank you for reporting this. I’ve passed your suggestion to the development team.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.