Quote Originally Posted by cefyn View Post
I have the latest SWA from Github on 1.5.7b, and am having a problem with search. Entering the product model no. into the search box brings the product into the search list box, but doesn't display it on the page. Clicking search on the product, which is now in the search list box, brings it up on the page for editing, but gives this error.

PHP Fatal error: Uncaught Error: Class 'language' not found in /admin/includes/classes/products_with_attributes_stock.php:267

function displayFilteredRows($SearchBoxOnly = null, $NumberRecordsShown = null, $ReturnedProductID = null) {
global $db, $sniffer, $languages;
if (empty($languages)) {
267 $languages = new language();
}
Can anyone help with this?
Quote Originally Posted by mc12345678 View Post
Didn't have this issue at times in the past with some version of ZC 1.5.7, but I agree that there is the above issue. Pushing the commit change in a moment. Don't like the solution or perhaps it is the fact that such a solution has to be generated, but it does take in consideration of the history of Zen Cart unfortunately...
Fix that has worked for me is by applying the changes identified in the following: Address missing language class in ZC 1.5.7b · mc12345678/Stock_By_Attributes_Combined@a41d979 (github.com)