Title: Getting error code when subscription selected in pages
Last modified: August 31, 2016

---

# Getting error code when subscription selected in pages

 *  [jdshawn](https://wordpress.org/support/users/jdshawn/)
 * (@jdshawn)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/getting-error-code-when-subscription-selected-in-pages/)
 * Once I selected a subscription, I noticed an error appeared on that page when
   I went to test the restricted access for that page.
 * Code says:
    Warning: substr() expects parameter 3 to be long, string given in/
   nfs/c01/h09/mnt/10776/domains/mydomain.com/html/wp-content/plugins/chargebee/
   chargebee.php on line 423
 * [https://wordpress.org/plugins/chargebee/](https://wordpress.org/plugins/chargebee/)

The topic ‘Getting error code when subscription selected in pages’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/chargebee_00bcb4.svg)
 * [Chargebee](https://wordpress.org/plugins/chargebee/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/chargebee/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/chargebee/)
 * [Active Topics](https://wordpress.org/support/plugin/chargebee/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/chargebee/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/chargebee/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jdshawn](https://wordpress.org/support/users/jdshawn/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/getting-error-code-when-subscription-selected-in-pages/)
 * Status: not resolved