Title: Plugin Development PHP Error
Last modified: October 20, 2019

---

# Plugin Development PHP Error

 *  Resolved [rozel](https://wordpress.org/support/users/rozel/)
 * (@rozel)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-development-php-error/)
 * Hello so i’m trying to make a simple echo when the check box is selected but 
   i’m getting
 * Warning: Illegal string offset ‘adcnb_enable’ in core.php on line 70
 * Notice: Uninitialized string offset: 0 in core.php on line 70
    />
 * on save there are no entries in the database i only have the adcnb_settings at
   option_name and empty option_values
 * can someone explain my mistake here?
 * CODE: [https://github.com/abexo/adcnb_plugin/blob/master/core.php](https://github.com/abexo/adcnb_plugin/blob/master/core.php)
    -  This topic was modified 6 years, 7 months ago by [rozel](https://wordpress.org/support/users/rozel/).
    -  This topic was modified 6 years, 7 months ago by [rozel](https://wordpress.org/support/users/rozel/).

Viewing 1 replies (of 1 total)

 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-development-php-error/#post-12047982)
 *     ```
       $arr['notexist'];
       // inizialize empty array
       $arr = array();
       // array with any value
       $arr['notexist'] = 1;
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Plugin Development PHP Error’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-development-php-error/#post-12047982)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
