- April 21, 2023 at 12:04 am #42247
Thank you for your support.
After version 4.22 of ajax search pro, I haven’t updated to any more recent versions, because the styling for the exposed filter on the Rides page gets reset. Is there a way to get that styling back?
Here is the way the exposed filter should look (v. 4.22)
And here is the way it looks on the dev site (with v. 4.26.2 activated)
I see that in Chrome Inspect, the live site uses this css file. But, on this dev site, it doesn’t reference that css file anymore, which might reset the styles.
FYI, When I updated the plugin, there was a critical error message that I received:
An error of type E_COMPILE_ERROR was caused in line 123 of the file /nas/content/live/devscbb/wp-content/plugins/ajax-search-pro/includes/classes/etc/indextable.class.php. Error message: require_once(): Failed opening required '/nas/content/live/devscbb/wp-content/plugins/ajax-search-pro//includes/classes/etc/synonyms.class.php' (include_path='.:/usr/share/pear/php:/usr/share/php')
Can you help?
Thanks in advance,
Attachments:You must be logged in to view attached files.April 21, 2023 at 9:23 am #42254
Thank you very much for the details, it helped a lot!
This was due to a very rare known issue. It had been reported once before and luckily I managed to find the culprit. Basically when the plugin tried to generate the stylesheets, it looked for taxonomy filters, but for some reason these taxonomies were registered later on, so WordPress reported as if they didn’t exist. This is very likely happening for a difference in plugin activation order. The default code then ignores the filter and moves on, but that leads to some missing styling.
I have made a tiny correction to the plugin code (file: plugins/ajax-search-pro/functions/functions.php) so the code ignores the missing taxonomy and proceeds with the style generation. After saving the search settings the styling is now repaired.
The only difference in styling I see is some custom CSS, which is not present on the dev, but present on the live site.
This change is going to be included in the upcoming patch of course. If you update to the live, please make sure to copy the plugin folder from the dev to live so the changes propagate.Best,
If you like my products, don't forget to rate them on codecanyon :)
April 21, 2023 at 6:50 pm #42256
Thank you. I really appreciate it. Got it pushed live and added a couple css rules.April 24, 2023 at 9:04 am #42260
You must be logged in to reply to this topic.