Support » Plugin: WordPress MU Domain Mapping » Undefined index: action in domain_mapping.php on line 632

  • Hi. I am looking for a fix for this error that’s showing up in my debug logs. Do you plan to update the plugin?

    [20-Nov-2017 19:11:41 UTC] PHP Notice: Undefined index: action in /wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 632

Viewing 1 replies (of 1 total)
  • Here’s the solution. Change line 632 from

    if ( !get_site_option( 'dm_remote_login' ) || $_GET[ 'action' ] == 'logout' || isset( $_GET[ 'loggedout' ] ) ) {

    to

    if ( !get_site_option( 'dm_remote_login' ) || ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'logout' ) || isset( $_GET[ 'loggedout' ] ) ) {

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index: action in domain_mapping.php on line 632’ is closed to new replies.