Title: Warning: Trying to access array offset on true in..
Last modified: July 11, 2025

---

# Warning: Trying to access array offset on true in..

 *  Resolved [pramilaniroshan](https://wordpress.org/support/users/pramilaniroshan/)
 * (@pramilaniroshan)
 * [9 months ago](https://wordpress.org/support/topic/warning-trying-to-access-array-offset-on-true-in/)
 * Hi team,
 * I’m seeing this warning in custom php file.
 * **warning**: Trying to access array offset on true in **/home3/fdssdsvsv/public_html/
   wp-content/plugins/inactive-logout/core/Base.php** on line **233**
 * as a fix we can use that
 * $dependencies = ( is_array( $dependencies ) && isset( $dependencies[‘dependencies’]))
   ?
   $dependencies[‘dependencies’]: [];
 * Thanks,
 * Pramila

Viewing 1 replies (of 1 total)

 *  Plugin Author [Deepen Bajracharya](https://wordpress.org/support/users/j_3rk/)
 * (@j_3rk)
 * [9 months ago](https://wordpress.org/support/topic/warning-trying-to-access-array-offset-on-true-in/#post-18557363)
 * Hi there, this will be fixed in the next update.

Viewing 1 replies (of 1 total)

The topic ‘Warning: Trying to access array offset on true in..’ is closed to new
replies.

 * ![](https://ps.w.org/inactive-logout/assets/icon-256x256.png?rev=3133765)
 * [Inactive Logout](https://wordpress.org/plugins/inactive-logout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inactive-logout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inactive-logout/)
 * [Active Topics](https://wordpress.org/support/plugin/inactive-logout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inactive-logout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inactive-logout/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Deepen Bajracharya](https://wordpress.org/support/users/j_3rk/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/warning-trying-to-access-array-offset-on-true-in/#post-18557363)
 * Status: resolved