Title: Triggering a warning
Last modified: May 27, 2022

---

# Triggering a warning

 *  Resolved [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [4 years ago](https://wordpress.org/support/topic/triggering-a-warning/)
 * I’m getting this in my logs
 * PHP Warning: Trying to access array offset on value of type bool in /***/wp-content/
   plugins/system-dashboard/includes/class-system-dashboard.php on line 249
 * I fixed it by changing the line to
 * if ( !empty($page_access_log[‘status’]) && ($page_access_log[‘status’] == ‘enabled’)){

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [4 years ago](https://wordpress.org/support/topic/triggering-a-warning/#post-15686595)
 * [@shawfactor](https://wordpress.org/support/users/shawfactor/) thanks! Pushing
   out v2.6.4 with your fix. Have a great weekend!

Viewing 1 replies (of 1 total)

The topic ‘Triggering a warning’ is closed to new replies.

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

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bowo](https://wordpress.org/support/users/qriouslad/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/triggering-a-warning/#post-15686595)
 * Status: resolved