# Error "Trying to access...."

**URL:** <https://community.localwp.com/t/error-trying-to-access/39198>\
**Category:** Support\
**Created:** [September 20, 2023, 2:21pm UTC](https://community.localwp.com/t/error-trying-to-access/39198 "2023-09-20T14:21:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![riccardo.beghin](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@riccardo.beghin](https://community.localwp.com/u/riccardo.beghin)\
**Post date:** [September 20, 2023, 2:21pm UTC](https://community.localwp.com/t/error-trying-to-access/39198/1 "2023-09-20T14:21:32Z")

</div>

I changed a theme (and I receive the same error in every theme)…

**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/inc/accesspress-functions.php** on line **265**

**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/inc/google-fonts.php** on line **18**

**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/inc/google-fonts.php** on line **19**

**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/inc/google-fonts.php** on line **23**

**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/inc/google-fonts.php** on line **24**  
**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/inc/accesspress-functions.php** on line **598**  
class=“home page-template page-template-elementor\_header\_footer page page-id-7 logged-in wp-custom-logo theme-accesspress-pro woocommerce-no-js columns-3 elementor-default elementor-template-full-width elementor-kit-9 elementor-page elementor-page-7”\>  
**Warning** : Trying to access array offset on value of type null in **/Users/Riccardo/Local Sites/studiosan/app/public/wp-content/themes/accesspress-pro/header.php** on line **27**

This happens at the header of the page (but…at the bottom too…) 🙂

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 20, 2023, 2:27pm UTC](https://community.localwp.com/t/error-trying-to-access/39198/2 "2023-09-20T14:27:33Z")

</div>

Hi @riccardo.beghin

Have you tried reaching out to the theme devs? Or deactivating plugins to test for a conflict? This doesn’t necessarily look like a Local issue.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [December 19, 2023, 2:28pm UTC](https://community.localwp.com/t/error-trying-to-access/39198/3 "2023-12-19T14:28:32Z")

</div>

Closed on December 19, 2023, 2:28pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
