Title: Trying to access array offset on null
Last modified: July 30, 2024

---

# Trying to access array offset on null

 *  [sujal](https://wordpress.org/support/users/sujal-karki/)
 * (@sujal-karki)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/trying-to-access-array-offset-on-null/)
 * Hello There,
 * I have used the plugin filter to add the custom content, and have unchecked all
   the pages/post setting options from the plugin settings. On doing so, I am getting
   an error on the every page on the admin as a warning message like:
 * “Trying to access array offset on null in /wp-content/plugins/pdf-print/pdf-print.
   php on line 637”.
 * I have created a custom function for the filter named **trip_pdf** which is displayed
   only on my CPT detail page.
 * So can you please fix this issue

Viewing 1 replies (of 1 total)

 *  Plugin Support [andrewsupport](https://wordpress.org/support/users/andrewsupport/)
 * (@andrewsupport)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/trying-to-access-array-offset-on-null/#post-17943281)
 * Hi,
 * Could you please describe your problem in more detail? Specify the plugin version
   and your WordPress version. Provide a link and screenshots to the page where 
   the problem occurs. Since it is not clear what are you talking about.

Viewing 1 replies (of 1 total)

The topic ‘Trying to access array offset on null’ is closed to new replies.

 * ![](https://ps.w.org/pdf-print/assets/icon-256x256.gif?rev=2580392)
 * [PDF & Print by BestWebSoft - WordPress Posts and Pages PDF Generator Plugin](https://wordpress.org/plugins/pdf-print/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-print/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-print/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-print/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-print/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-print/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [andrewsupport](https://wordpress.org/support/users/andrewsupport/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/trying-to-access-array-offset-on-null/#post-17943281)
 * Status: not resolved