Title: Register Helper Code Snippet Error
Last modified: August 28, 2021

---

# Register Helper Code Snippet Error

 *  Resolved [suitedconnector](https://wordpress.org/support/users/suitedconnector/)
 * (@suitedconnector)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/register-helper-code-snippet-error/)
 * I have used PMPro on one site successfully and have added it to another. On th
   new site I used the PMPro Customization Plugin and added the code to make Level
   1 default for free members.
 * I have also added Register Helper which I used successfully on the first site.
   On this site I loaded the Register Helper Plugin. I have a problem though when
   I add the code snippet for Register Helper. I am getting a 403 error.
 * I checked the error and there seems to be a conflict with the PMPro Customization
   Plugin.
 * This is the error:
 *     ```
       [28-Aug-2021 01:22:27 UTC] PHP Warning:  Use of undefined constant “1” - assumed '“1”' (this will throw an Error in a future version of PHP) in /home/mywebsite.com/wp-content/plugins/pmpro-customizations/pmpro-customizations.php on line 14
       [28-Aug-2021 01:22:32 UTC] PHP Warning:  Use of undefined constant “PMPRO_DEFAULT_LEVEL” - assumed '“PMPRO_DEFAULT_LEVEL”' (this will throw an Error in a future version of PHP) in /home/mywebsite.com/wp-content/plugins/pmpro-customizations/pmpro-customizations.php on line 1
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/register-helper-code-snippet-error/#post-14822192)
 * Hi [@suitedconnector](https://wordpress.org/support/users/suitedconnector/)
 * This issue is due to custom code, specifically on line 1 and 14 of your custom
   plugin.
 * It sounds like you need to wrap your code within quotation marks to remove this
   warning shared.
 * The 403 issue is usually related to permissions of files (not being able to write
   to / save the file). You may need to adjust the file permissions you’re trying
   to write to.

Viewing 1 replies (of 1 total)

The topic ‘Register Helper Code Snippet Error’ 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/)

## Tags

 * [pmpro](https://wordpress.org/support/topic-tag/pmpro/)
 * [register helper](https://wordpress.org/support/topic-tag/register-helper/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/register-helper-code-snippet-error/#post-14822192)
 * Status: resolved