Title: Warning: array_keys() &amp; Warning: array_diff():
Last modified: July 21, 2021

---

# Warning: array_keys() & Warning: array_diff():

 *  Resolved [kjxavier](https://wordpress.org/support/users/kjxavier/)
 * (@kjxavier)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/)
 * I’m trying to create a website integrating Woocommerce and Ultimate Member plugin,
   Everything worked fine when it was on Localhost, but when I made the site live
   2 Errors namely:
 * Warning: array_keys() expects parameter 1 to be array, bool given in /home/u341841658/
   domains/livekotolas.com/public_html/wp-content/plugins/ultimate-member/includes/
   core/class-builtin.php on line 645
 * Warning: array_diff(): Expected parameter 1 to be an array, null given in /home/
   u341841658/domains/livekotolas.com/public_html/wp-content/plugins/ultimate-member/
   includes/core/class-builtin.php on line 645
 * Appeared and I miss some other page links. And I am not able to access my WP 
   Dashboard: [https://www.livekotolas.com/wp-admin](https://www.livekotolas.com/wp-admin)
 * Can someone please help me out here?
 * I received a reply to Deactivate Plugin Ultimate Member:
    “Post Link: [https://wordpress.org/support/topic/warning-array_keys-warning-array_diff/#post-14681813&#8221](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff/#post-14681813&#8221);
 * Now I have Deactivated Ultimate Member.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-array_keys-warning-array_diff-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14683111)
 * Hi [@kjxavier](https://wordpress.org/support/users/kjxavier/)
 * Could you please tell us what version of UM you’re using? How did you migrate
   the site from local to live/staging site?
 * Regards,
 *  Thread Starter [kjxavier](https://wordpress.org/support/users/kjxavier/)
 * (@kjxavier)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14684018)
 * Hi!
 * Thanks for your early reply.
    I am using 2.1.21
 * And I migrated from localhost manually: Like I exported the DB, edited and changed
   from Localhost to URL, imported the DB to Live phpmtadmin. Then I imported the
   Website to Live server (Hostinger)
 * I faced a prob while uploaded Profile and Cover photo in UM when I was working
   locally(Your image is invalid). So I thought about making it live and test upload
   Images to profile and cover.
 *  Thread Starter [kjxavier](https://wordpress.org/support/users/kjxavier/)
 * (@kjxavier)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14684031)
 * I followed this video to migrate from localhost to live.
    UM versionn 2.1.21
 *  Thread Starter [kjxavier](https://wordpress.org/support/users/kjxavier/)
 * (@kjxavier)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14684038)
 * Video Link:
 *  Plugin Author [Mykyta Synelnikov](https://wordpress.org/support/users/nsinelnikov/)
 * (@nsinelnikov)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14685114)
 * Hi [@kjxavier](https://wordpress.org/support/users/kjxavier/)
 * Could you provide the list of the roles that you use? WP native + maybe created
   by Ultimate Member I mean.
 * Do you use some 3rd-party plugins that operate with WP roles?
 * Let me know,
    Best Regards!
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14760856)
 * Hey there!
 *  This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved. …Please feel free to re-open this thread by changing the Topic Status
   to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂
 * Regards,

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

The topic ‘Warning: array_keys() & Warning: array_diff():’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/warning-array_keys-warning-array_diff-2/#post-14760856)
 * Status: resolved