WordPress.org

Support

Support » Plugins and Hacks » Export User Data » [Resolved] Error: Invalid argument supplied for foreach() on line 183

[Resolved] Error: Invalid argument supplied for foreach() on line 183

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same here … Error message in the first 2 lines of the exported spreadsheet.
    Any solution for this?

    Plugin Author qstudio

    @qlstudio

    if ( $usermeta && is_array($usermeta) ) {
      foreach( $usermeta as $field ) {
        $usermeta_fields[] = $field;
      }
    }

    Line 183 expects $usermeta to include an array of values – I presume you selected no usermeta fields – this is a bug in the plugin, but this fix should sort it – FYI – I’ve not tested this yet.. but will and if it’s good, I’ll release an update.

    Q

    Plugin Author qstudio

    @qlstudio

    I could not replicate this error, however I’ve released an update to the plugin which should address the problem.

    I would also strongly advice that you set-up your wp_debugging to log to a file – as described here: http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Error: Invalid argument supplied for foreach() on line 183’ is closed to new replies.
Skip to toolbar