• Resolved llgreg

    (@llgreg)


    Getting the following PHP warning

    PHP Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/import-users-from-csv-with-meta/importer.php on line 425

    Is it possible to change line 425 to

    elseif( is_array($wp_users_fields) && in_array( $headers[ $i ], $wp_users_fields ) ){ // wp_user data

Viewing 1 replies (of 1 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @llgreg,

    Sorry this is not a solution because there was a problem.

    $wp_users_fields has to be an array and not a null.

    I have just fixed it.

    Please update and thanks for reporting it ??

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: in_array() expects parameter 2 to be array, null given in importer’ is closed to new replies.