Title: Error on form page when using shortcode
Last modified: November 12, 2024

---

# Error on form page when using shortcode

 *  Resolved [Stephen B](https://wordpress.org/support/users/wordpmoon12/)
 * (@wordpmoon12)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-on-form-page-when-using-shortcode/)
 * I am using the form shortcode for register page. On top of the page I see this
   error:
   `**Deprecated**: preg_replace(): Passing null to parameter #3 ($subject)
   of type array|string is deprecated in **..../wp-includes/kses.php** on line **
   1805**`The form does display below the error message,
    -  This topic was modified 1 year, 6 months ago by [Stephen B](https://wordpress.org/support/users/wordpmoon12/).

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

 *  Plugin Support [Ghulam Hemani](https://wordpress.org/support/users/ghulamhemani/)
 * (@ghulamhemani)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-on-form-page-when-using-shortcode/#post-18131171)
 * Hi,
 * Thank you for reaching out. We’ve checked across multiple environments and couldn’t
   replicate this specific issue. Can you please provide a bit more detail? Are 
   there any other visible warnings or messages on your site?
 * Does this warning appear immediately after adding a shortcode? Also, could you
   let us know which PHP and WordPress versions you’re using?
 * This will help us understand and address the issue more effectively.
 * Thank you,
   Pie Register Support.
 *  Plugin Support [Ghulam Hemani](https://wordpress.org/support/users/ghulamhemani/)
 * (@ghulamhemani)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-on-form-page-when-using-shortcode/#post-18159226)
 * Hi,
 * We haven’t heard back from you in a while, so we are going to mark this thread
   as resolved. You can always raise a new one or continue this one if you need 
   any further assistance.
 * Thank you,
   Pie Register Support.

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

The topic ‘Error on form page when using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Ghulam Hemani](https://wordpress.org/support/users/ghulamhemani/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/error-on-form-page-when-using-shortcode/#post-18159226)
 * Status: resolved