Working with a theme with a built-in AJAX search feature. When Surge is active, the search function doesn't work (JS error "Uncaught TypeError: Cannot read properties of null").
Looking at the data returned by the AJAX request - the product titles are null. Looks related to:
Working with a theme with a built-in AJAX search feature. When Surge is active, the search function doesn't work (JS error "Uncaught TypeError: Cannot read properties of null").
Looking at the data returned by the AJAX request - the product titles are
null
. Looks related to:https://github.com/kovshenin/surge/blob/1.0.4/include/invalidate.php#L18
Is this an issue with the theme? Or, should this filter return the
$title
?