• Resolved danMWD


    After upgrading to PHP8.1 – I started getting a fatal error on a template page -members.php – around line 117. It is complaining about the parameter 1 not being an array.

    $search_filters = apply_filters( ‘um_frontend_member_search_filters’, array_unique( array_filter( $args[‘search_fields’] ) ) );

    I have had to wrap the line in an if (is_array($args[‘search_fields’])) {}

    I have NOT changed anything else in the plugin but I did not see any way around this issue. PHP7.4 is now at EOL – so if this is not just an isolated issued perhaps it can be looked into?

    Thank you for any advice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aswin Giri


    Hello @danmwd

    Thank you for reporting the issue. We will have a look at it and add a fix to it. Did you manage to fix the issue adding the is_array function?

    Plugin Support andrewshu


    Hi @danmwd

    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 if any other questions come up and we’d be happy to help. 🙂


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.