Title: &#8220;Trying to access array offset&#8221; notices
Last modified: December 31, 2020

---

# “Trying to access array offset” notices

 *  Resolved [dustysun](https://wordpress.org/support/users/dustysun/)
 * (@dustysun)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/trying-to-access-array-offset-notices/)
 * Hi, when you have on debugging, there are five notices logged for every page 
   load, like this:
 *     ```
       [31-Dec-2020 03:50:04 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/seriously-simple-podcasting/php/classes/blocks/class-castos-blocks.php on line 81
       [31-Dec-2020 03:50:04 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/seriously-simple-podcasting/php/classes/blocks/class-castos-blocks.php on line 82
       [31-Dec-2020 03:50:04 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/seriously-simple-podcasting/php/classes/blocks/class-castos-blocks.php on line 90
       [31-Dec-2020 03:50:04 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/seriously-simple-podcasting/php/classes/blocks/class-castos-blocks.php on line 97
       [31-Dec-2020 03:50:04 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/seriously-simple-podcasting/php/classes/blocks/class-castos-blocks.php on line 105
       ```
   
 * I looked at the class-castos-blocks.php file, and if you add `$this->asset_file
   =` to the beginning of line 68, it fixes the issue. Is this something you guys
   can include in the next release so there aren’t so many log notices being generated?
   Thanks!
 * Fixed line 68:
    `$this->asset_file = include SSP_PLUGIN_PATH . 'build/index.asset.
   php';`
    -  This topic was modified 5 years, 5 months ago by [dustysun](https://wordpress.org/support/users/dustysun/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [dustysun](https://wordpress.org/support/users/dustysun/)
 * (@dustysun)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/trying-to-access-array-offset-notices/#post-13850604)
 * Well – nevermind! I thought I was up to date on my development server but wasn’t.
   I see you’ve fixed this in the latest version. Thank you!

Viewing 1 replies (of 1 total)

The topic ‘“Trying to access array offset” notices’ is closed to new replies.

 * ![](https://ps.w.org/seriously-simple-podcasting/assets/icon-256x256.png?rev=
   970355)
 * [Seriously Simple Podcasting](https://wordpress.org/plugins/seriously-simple-podcasting/)
 * [Support Threads](https://wordpress.org/support/plugin/seriously-simple-podcasting/)
 * [Active Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seriously-simple-podcasting/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [dustysun](https://wordpress.org/support/users/dustysun/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/trying-to-access-array-offset-notices/#post-13850604)
 * Status: resolved