Title: PHP Warning
Last modified: January 25, 2020

---

# PHP Warning

 *  Resolved [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * (@bugnumber9)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-warning-226/)
 * Hi,
 * I noticed the following:
 * `PHP Warning: array_merge(): Expected parameter 1 to be an array, null given 
   in /wp-content/plugins/wp-user-frontend/class/frontend-account.php on line 112`

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

 *  [okaka](https://wordpress.org/support/users/okaka/)
 * (@okaka)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-warning-226/#post-12364792)
 * Warning: in_array() expects parameter 2 to be array, string given in /var/sites/
   p/pink.com.ng/public_html/wp-content/plugins/wp-user-frontend/wpuf.php on line
   784
 * same as mine
 *  [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-warning-226/#post-12364924)
 * Hello [@bugnumber9](https://wordpress.org/support/users/bugnumber9/)
 * I tried to reproduce the issue(error message) on my local site but I didn’t find
   such an error message. However, would you please add this following scripts on
   your wp-config.php and try again.
 *     ```
       // Enable WP_DEBUG mode
       define( 'WP_DEBUG', false );
   
       // Disable display of errors and warnings
       define( 'WP_DEBUG_DISPLAY', false );
       @ini_set( 'display_errors', 0 );
       ```
   
 * [NOTE: Please make sure you insert this BEFORE /* That’s all, stop editing! Happy blogging. */ in the wp-config.php file](https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging).
   
   After crossing the above tips, if you are still getting the message then please
   contact our support from the [contact page](https://wedevs.com/contact). They
   will help you out.
    -  This reply was modified 6 years, 4 months ago by [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/).

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

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/php-warning-226/#post-12364924)
 * Status: resolved