Title: Parameter must be an array
Last modified: March 10, 2021

---

# Parameter must be an array

 *  Resolved [Odido](https://wordpress.org/support/users/odido/)
 * (@odido)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/parameter-must-be-an-array-4/)
 * Hi,
    I am testing your plugin Pie Register if if fits me needs. But when calling
   Pie Register / Notifications / User Notification I get this error on top of Your
   account Is Ready: ( ! ) Warning: sizeof(): Parameter must be an array or an object
   that implements Countable in C:\xampp\htdocs\vitaring\wp-content\plugins\pie-
   register\menus\notification\PieRegUserNotification.php on line 7 Call Stack #
   Time Memory Function Location 1 0.0011 449080 {main}( ) …\admin.php:0 2 4.2203
   147517744 do_action( ) …\admin.php:259 3 4.2203 147518120 WP_Hook->do_action()…\
   plugin.php:484 4 4.2203 147518120 WP_Hook->apply_filters( ) …\class-wp-hook.php:
   311 5 4.2203 147519248 PieRegister->PieRegNotifications( ) …\class-wp-hook.php:
   287 6 4.2203 147519360 PieRegister->include_pr_menu_pages( ) …\pie-register.php:
   4295 7 4.2203 147519360 PieRegister->require_once_file( ) …\base.php:2872 8 4.2206
   147529904 require_once( ‘C:\xampp\htdocs\vitaring\wp-content\plugins\pie-register\
   menus\PieRegNotifications.php’ ) …\base.php:2487 9 4.2207 147530032 PieRegister-
   >require_once_file( ) …\PieRegNotifications.php:30 10 4.2214 147571384 require_once(‘
   C:\xampp\htdocs\vitaring\wp-content\plugins\pie-register\menus\notification\PieRegUserNotification.
   php’ ) …\base.php:2487 What’s the problem here? WP = 5.6.2, Pie Register = 3.6.16
   Thx Oliver
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparameter-must-be-an-array-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/parameter-must-be-an-array-4/#post-14164819)
 * Hi,
 * We believe this to be a conflict issue. If you have a staging site on the server,
   please install and activate Pie Register Basic and share the URL. We can not 
   access localhost.
 * Thank you
 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/parameter-must-be-an-array-4/#post-14164861)
 * Also, try saving form settings. Go to PR menu > Manage Forms and edit your form.
   Then save the form settings and check if the warning is removed.
 * Thanks
 *  Thread Starter [Odido](https://wordpress.org/support/users/odido/)
 * (@odido)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/parameter-must-be-an-array-4/#post-14165124)
 * “Also, try saving form settings” fixed the problem – thx
    Oliver
 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/parameter-must-be-an-array-4/#post-14165145)
 * Can you please write the plugin review here: [https://wordpress.org/support/plugin/pie-register/reviews/](https://wordpress.org/support/plugin/pie-register/reviews/)
 * This keeps our team motivated.
 * Thank you

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

The topic ‘Parameter must be an array’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [genetech](https://wordpress.org/support/users/genetech/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/parameter-must-be-an-array-4/#post-14165145)
 * Status: resolved