Title: Notice: array offset adminpages.php
Last modified: June 13, 2021

---

# Notice: array offset adminpages.php

 *  Resolved [netstepinc](https://wordpress.org/support/users/netstepinc/)
 * (@netstepinc)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/notice-array-offset-adminpages-php/)
 * This is on every page of my site if I enable WP_DEBUG.
    Have I configured something
   incorrectly, or is this a bug?
 *     ```
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 322
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 326
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 330
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 334
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 338
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 342
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 346
       Notice: Trying to access array offset on value of type null in /wp-content/plugins/paid-memberships-pro/includes/adminpages.php on line 350
       ```
   
    -  This topic was modified 4 years, 12 months ago by [netstepinc](https://wordpress.org/support/users/netstepinc/).
    -  This topic was modified 4 years, 12 months ago by [netstepinc](https://wordpress.org/support/users/netstepinc/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/notice-array-offset-adminpages-php/#post-14553459)
 * Hi [@netstepinc](https://wordpress.org/support/users/netstepinc/)
 * Thank you for using Paid Memberships Pro.
 * I’ve tried to replicate this on my end but I am unable to do so, I will need 
   more information to look into this further.
 * What version of Paid Memberships Pro are you using? Does this happen only when
   visiting a page inside your admin dashboard or any page load, including the front
   end?
 * Can you confirm that all your Paid Memberships Pro pages are generated and/or
   assigned to the page settings?
 *  Thread Starter [netstepinc](https://wordpress.org/support/users/netstepinc/)
 * (@netstepinc)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/notice-array-offset-adminpages-php/#post-14555331)
 * Thank you for your response.
    I’m using PMPro v2.5.9.1. I originally set up PMPro
   on our main site and queued up all the pages, but have since changed to a multi-
   site install.
 * Multisite setup.
    – PMPro in main site. – WooCommerce Subscriptions for transaction/
   membership management in shop child site.
 * No membership/level pages set up because subscriptions are promoted on WC product
   pages.
 * Thanks to your questions I noticed PMPro pages were only set up on the main site
   customers will not be logging into.
 * I added the Memberships Account page, but I believe other pages will not be relevant
   due to the subscriptions being managed by WC.
    – Membership Cancel – Membership
   Checkout – Membership Confirmation – Membership Invoice – Membership Billing
 * Are the membership level pages necessary to clear this error?
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/notice-array-offset-adminpages-php/#post-14557895)
 * I recommend in setting the page to your WooCommerce pages such as your store 
   page to the checkout page etc. This should help remove the warning.
 * To understand you correctly, this issue was never present until you removed the
   page settings and changed over to a Multisite?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Notice: array offset adminpages.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [4 years, 12 months ago](https://wordpress.org/support/topic/notice-array-offset-adminpages-php/#post-14557895)
 * Status: resolved