Title: Warning: Trying to access array offset&#8230;
Last modified: November 13, 2022

---

# Warning: Trying to access array offset…

 *  [TeqToo](https://wordpress.org/support/users/teqtoo/)
 * (@teqtoo)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/warning-trying-to-access-array-offset-2/)
 * Just began setting up this site on a new web host. I’d set it up on a “free” 
   host just so we could show the client how the site would look. He loved it, and
   decided to let us proceed with Longevity. Everything worked fine on the free 
   hosting site. But now that I have it installed on the new host, every page is
   throwing an error message at the top: “Warning: Trying to access array offset
   on value of type bool in /homepages/11/d4296865125/htdocs/wordpress/wp-content/
   themes/longevity/template-parts/headers.php on line 28”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-trying-to-access-array-offset-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 * ![](https://i0.wp.com/themes.svn.wordpress.org/longevity/1.5.2/screenshot.png)
 * Longevity
 * [Support Threads](https://wordpress.org/support/theme/longevity/)
 * [Active Topics](https://wordpress.org/support/theme/longevity/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/longevity/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/longevity/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [TeqToo](https://wordpress.org/support/users/teqtoo/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/warning-trying-to-access-array-offset-2/)
 * Status: not resolved