J-BusinessDirectory - Select on Business Category will return SQL error (v4.94)

Support Forum

 
 

 

When filtering on category in Business listing (Backend) will return the following message:

 

Error

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cg.id' in 'where clause' SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cg.id' in 'where clause'



3 replies

Hi,

 

It seems that something went wrong with the update or you have an out of date template override.
Please create a ticket on our store and provide us joomla admin access.

Seems that the update from 4.9.3 to 4.9.4 is creating the issue. With 4.9.3 no issues, after updating to 4.9.4 the error message is popping-up. Only fter logout / login able to access business lisitngs again



The following works for me ...

FIX FOR THIS problem

In the file ....   / administrator / components / com_jbusinessdirectory / models / companies.php
                    
LINE 175                $where.=" and cg.id in ($categoriesIds)";            <<<<<<< INCORRECT            
LINE 175                $where.=" and cc.categoryId in ($categoriesIds)";   <<<<<<< CORRECT

Hope  this helps  you.

 
 
 

4 Item(s)

Show per page