Title: Working but with PHP Errors
Last modified: February 4, 2021

---

# Working but with PHP Errors

 *  Resolved [JRW-910](https://wordpress.org/support/users/jrw-910/)
 * (@jrw-910)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/)
 * The plugin seems to work well, but I am getting the following errors:
 * Notice Undefined index: woo_sidebar 1
    wp-content/plugins/content-aware-sidebars/
   admin/admin_bar.php:155 Plugin: content-aware-sidebars
 * Notice Trying to access array offset on value of type null 2
    wp-content/plugins/
   content-aware-sidebars/admin/admin_bar.php:155 Plugin: content-aware-sidebars
 * Notice Undefined index: learndash_sidebar 1
    wp-content/plugins/content-aware-
   sidebars/admin/admin_bar.php:155 Plugin: content-aware-sidebars
 * Version 3.15.1
    Not using Learndash or Woocommerce
 * Any ideas?
 *  -JRW

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

 *  [Ben Gray](https://wordpress.org/support/users/bravoechon/)
 * (@bravoechon)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/#post-14008654)
 * I’m also experiencing the same PHP errors following the most recent update.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/#post-14011139)
 * Thank you both for reporting this.
 * What themes are you using, and are you using any other sidebar generator plugin?
 * If possible, can you try updating the file in question (wp-content/plugins/content-
   aware-sidebars/admin/admin_bar.php, line 155), by replacing
 *     ```
                   $args[] = [
                       'id'    => $index,
                       'title' => $wp_registered_sidebars[$index]['name'] . ($has_widgets ? '' : ' ('.__('Hidden').')'),
                   ];
       ```
   
 * with
 *     ```
                   $sidebar_name = isset($wp_registered_sidebars[$index]['name'])
                       ? $wp_registered_sidebars[$index]['name']
                       : $index;
                   $args[] = [
                       'id'    => $index,
                       'title' => $sidebar_name . ($has_widgets ? '' : ' ('.__('Hidden').')'),
                   ];
       ```
   
 *  [Ben Gray](https://wordpress.org/support/users/bravoechon/)
 * (@bravoechon)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/#post-14012470)
 * No problem Joachim.
 * I’m using a custom Genesis child theme and no other sidebar generator plugins.
 * For some reason, simply reverting back to the previous version of Content Aware
   Sidebars and then re-updating fixed this issue for me. I hope that helps.
 *  Thread Starter [JRW-910](https://wordpress.org/support/users/jrw-910/)
 * (@jrw-910)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/#post-14015798)
 * [@intoxstudio](https://wordpress.org/support/users/intoxstudio/)
 * That did the trick. No errors now. I am using the BuddyBoss theme.
 * Thanks for the help,
 *  -JRW
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/#post-14131831)
 * This has been resolved in version 3.15.2. Thank you all again for reporting this.

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

The topic ‘Working but with PHP Errors’ is closed to new replies.

 * ![](https://ps.w.org/content-aware-sidebars/assets/icon-256x256.png?rev=1815877)
 * [Content Aware Sidebars - Fastest Widget Area Plugin](https://wordpress.org/plugins/content-aware-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-aware-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-aware-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/content-aware-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-aware-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-aware-sidebars/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/working-but-with-php-errors/#post-14131831)
 * Status: resolved