Title: Error
Last modified: August 21, 2016

---

# Error

 *  Resolved [datbvecom](https://wordpress.org/support/users/datbvecom/)
 * (@datbvecom)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-298/)
 * I active it on wp3.8, it appear:
    Warning: Illegal string offset ‘title’ in D:\
   xampp\htdocs\wp4shop\wp-content\plugins\wp-basics\admin\classes\class.options_machine.
   php on line 229
 * Warning: Illegal string offset ‘title’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 231
 * Warning: Illegal string offset ‘avatar’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 229
 * Warning: Illegal string offset ‘avatar’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 231
 * Warning: Illegal string offset ‘bio’ in D:\xampp\htdocs\wp4shop\wp-content\plugins\
   wp-basics\admin\classes\class.options_machine.php on line 229
 * Warning: Illegal string offset ‘bio’ in D:\xampp\htdocs\wp4shop\wp-content\plugins\
   wp-basics\admin\classes\class.options_machine.php on line 231
 * Warning: Illegal string offset ‘social’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 229
 * Warning: Illegal string offset ‘social’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 231
 * Warning: Illegal string offset ‘posts_link’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 229
 * Warning: Illegal string offset ‘posts_link’ in D:\xampp\htdocs\wp4shop\wp-content\
   plugins\wp-basics\admin\classes\class.options_machine.php on line 231
 * Can you tell me how to preparing it?
 * [http://wordpress.org/plugins/wp-basics/](http://wordpress.org/plugins/wp-basics/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [laura20](https://wordpress.org/support/users/laura20/)
 * (@laura20)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-298/#post-4474797)
 * Go to the file D:\xampp\htdocs\wp4shop\wp-content\plugins\wp-basics\admin\classes\
   class.options_machine.php and change the line 229:
 * Wrong:
 *     ```
       foreach ($value['options'] as $key => $option) {
       if (!isset($multi_stored[$key])) {$multi_stored[$key] = '';}
       $of_key_string = $value['id'] . '_' . $key;
       $output .= '<input type="checkbox" class="checkbox of-input" name="'.$value['id'].'['.$key.']'.'" id="'. $of_key_string .'" value="1" '. checked($multi_stored[$key], 1, false) .' /><label class="multicheck" for="'. $of_key_string .'">'. $option .'</label><br />';
       }
       ```
   
 * Good:
 *     ```
       foreach ($value['options'] as $key => $option) {
       //if (!isset($multi_stored[$key])) {$multi_stored[$key] = '';}
       $of_key_string = $value['id'] . '_' . $key;
       $output .= '<input type="checkbox" class="checkbox of-input" name="'.$value['id'].'['.$key.']'.'" id="'. $of_key_string .'" value="1" '. checked($multi_stored[$key], 1, false) .' /><label class="multicheck" for="'. $of_key_string .'">'. $option .'</label><br />';
       }
       ```
   
 * Is better if you only comment it. Tell me if this solve the error please.
 *  Thread Starter [datbvecom](https://wordpress.org/support/users/datbvecom/)
 * (@datbvecom)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-298/#post-4474798)
 * thank you very much.
    you resolved it.
 *  Plugin Author [laura20](https://wordpress.org/support/users/laura20/)
 * (@laura20)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-298/#post-4474846)
 * you’re welcome. I’m glad I helped.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-basics_00b192.svg)
 * [WP-Basics](https://wordpress.org/plugins/wp-basics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-basics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-basics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-basics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-basics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-basics/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [laura20](https://wordpress.org/support/users/laura20/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/error-298/#post-4474846)
 * Status: resolved