• Hi.
    My website is not live as yet, I am just setting up and testing.
    The problem I am having is in the Members/User pages.
    The members profile shows but I am getting the warning message……

    “Warning: in_array() expects parameter 2 to be array, string given in /mounted-storage/home94a/sub008/sc10385/rtraoldham.com/team1rtr/wp-content/plugins/ultimate-member-wp-user-frontend-addon/actions.php on line 62”

    The offending line reads………

    if(!um_is_myprofile() || !in_array($role, $roles[‘roles’])){

    I have not got a clue what any of this means and I can’t find anything in the forums with errors in the actions.php

    I have the latest version of WordPress installed with the following plugins…
    Ultimate Member with UM Gallery extension and Ultimate Member + WP User Frontend – Addon

    Please feel free to test register and see what is happening.
    Any help would be much appreciated

    • This topic was modified 6 years, 4 months ago by dave1rtr.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Dominik

    (@trasek)

    Hey! It’s just warning. We will try remove it in next update! Thanks!

    When you’ll disable WordPress debug, it’ll disappear.

    • This reply was modified 6 years, 4 months ago by Dominik.
Viewing 1 replies (of 1 total)
  • The topic ‘Warning: in_array() expects parameter 2’ is closed to new replies.