*

abuzarkandwal

  • ****
  • 112 posts
search error
« on: May 08, 2021, 06:44:46 PM »
Warning: Illegal string offset 'pk_i_id' in /home/pakhomec/public_html/oc-content/themes/realty_pro/search.php on line 23

Warning: Cannot assign an empty string to a string offset in /home/pakhomec/public_html/oc-content/themes/realty_pro/search.php on line 23

*

MB Themes

Re: search error
« Reply #1 on: May 09, 2021, 11:46:56 AM »
@abuzarkandwal
You will have to update and fix your theme to not throw that error.
Fix is is quite simple, chaning:
Code: [Select]
$abc = $somevar['pk_i_id'];
into:
Code: [Select]
$abc = (isset($somevar['pk_i_id']) ? $somevar['pk_i_id'] : '');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

abuzarkandwal

  • ****
  • 112 posts
Re: search error
« Reply #2 on: May 09, 2021, 11:48:12 AM »
where to change it which file that code is in cpanel

*

MB Themes

Re: search error
« Reply #3 on: May 09, 2021, 11:51:26 AM »
Warning: Illegal string offset 'pk_i_id' in /home/pakhomec/public_html/oc-content/themes/realty_pro/search.php on line 23

Warning: Cannot assign an empty string to a string offset in /home/pakhomec/public_html/oc-content/themes/realty_pro/search.php on line 23
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots