Fatal error: Cannot redeclare class WA_MySQLi_RS in ...
I have built a search results page that also contains refine filtering using AJAX which loads the refined results into a div (Load Plugin to div via framework builder) on the same page. The problem is, i need a MySQLi recordset on the results page (to populate the filters) as well as the refined results framework plugin (to return the refined search results), however i am getting this error because the rsobj.php include is on both pages. This is required by MySQLi to generate the recordsets.
Is there a workaround so I only have to include rsobj.php on one of the pages to avoid the error (Fatal error: Cannot redeclare class WA_MySQLi_RS in ...)?