Osclass forums

Support forums => General help => Topic started by: BritWeb on April 17, 2019, 02:18:05 pm

Title: [SOLVED] Depreciated function in hSecurity.php - error
Post by: BritWeb on April 17, 2019, 02:18:05 pm
Hi

I am putting together and testing a site with Debug on using bender theme and I have errors as shown in the pic attached. Is this something the developers are aware of that we should ignore? Any feedback welcome.

Thanks
Title: Re: Depreciated function in hSecurity.php - error
Post by: BritWeb on April 24, 2019, 02:04:14 am
SOLVED

On the 'search-sidebar.php'

...replaced the following

Code: [Select]
     $category = __get("category");
     if(!isset($category['pk_i_id']) ) {
         $category['pk_i_id'] = null;
     }

...with the one below

Code: [Select]
     $category = (array) __get("category");
     if(!isset($category['pk_i_id']) ) {
         $category['pk_i_id'] = null;
     }