• Resolved bombardos

    (@bombardos)


    Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/miniorange-login-with-eve-online-google-facebook/class-mo-oauth-widget.php on line 83

    line 83 in class-mo-oauth-widget.php is the “else” in
    function mo_oauth_login_options () {
    global $wpdb;
    update_option( ‘host_name’, ‘https://auth.miniorange.com’ );
    $customerRegistered = mo_oauth_is_customer_registered();
    if( $customerRegistered ) {
    mo_register();
    } else {
    mo_register();
    }
    }

    Started getting this warning this morning. Only thing I have done is remove some of the accounts I had created a couple weeks ago for testing purposes, and also cleared the Allowed Alliances: in Advanced Eve Online Settings. Any help would be appreciated.

    • This topic was modified 7 years, 6 months ago by bombardos.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bombardos

    (@bombardos)

    Just to add, warning only shows when logged out, using version 5.7 of Login with OAuth ( OAuth Client ), doesn’t affect logging in or out, or any other part of the site. The warning displays just in the area of the element.

    Plugin Author miniOrange

    (@cyberlord92)

    Hi,
    Can you let me know your wordpress version and confirm that you are facing this issue after upgrade to latest version of the plugin.

    Please reply to this over [email protected] email, so that we can follow up with you over email to resolve this issue.

    Thanks
    miniOrange Support

    Thread Starter bombardos

    (@bombardos)

    Wordpress version is 4.7.4

    Thread Starter bombardos

    (@bombardos)

    Fixed with 5.8, thanks guys.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: Invalid argument supplied for foreach()’ is closed to new replies.