• Resolved MattV

    (@mattv)


    When working in WordPress debug mode, I see the following warnings:

    Notice: Undefined index: HTTPS in /path/to/wordpress-mu-domain-mapping/domain_mapping.php on line 545

    Notice: Undefined index: HTTPS in /path/to/wordpress-mu-domain-mapping/domain_mapping.php on line 546

    This was dicussed 10 months ago in this post, but the conclusion was not really clear to me. Should I just ignore the warning or change the plugin code?

Viewing 6 replies - 16 through 21 (of 21 total)
  • Looks like there are three more in the version I have.

    $ egrep -n -B 1 “HTTPS.* == ‘Off” *
    domain_mapping.php-689- if ( false == isset( $_SERVER[ ‘HTTPS’ ] ) )
    domain_mapping.php:690: $_SERVER[ ‘HTTPS’ ] == ‘Off’;

    domain_mapping.php-735- if ( false == isset( $_SERVER[ ‘HTTPS’ ] ) )
    domain_mapping.php:736: $_SERVER[ ‘HTTPS’ ] == ‘Off’;

    domain_mapping.php-781- if ( false == isset( $_SERVER[ ‘HTTPS’ ] ) )
    domain_mapping.php:782: $_SERVER[ ‘HTTPS’ ] == ‘Off’;

    Plugin Author Ron Rennick

    (@wpmuguru)

    Those would be the ones.

    I found a few other errors in domain_mapping.php, but I can’t find a bugtracker or repository for it. Is there an active developer on this project that I can email the changes to?

    Thanks

    Plugin Author Ron Rennick

    (@wpmuguru)

    You can drop a note through https://ronandandrea.com/contact/

    I have a few notices on my site and hope someone can help!!

    Undefined index: path in /data/xxxxx/xx/xx/xx/xxxx/user/xxx/htdocs/wp-content/plugins/custom-permalinks/custom-permalinks.php on line 261

    etc etc!

    Also, is it unsafe to have those paths displayed publicly? I replaced the numbers with x’s above. Please let me know!

    Plugin Author Ron Rennick

    (@wpmuguru)

    Turn off WP_DEBUG to remove the notices.

    Are you using the latest version of the plugin?

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] Undefined index: HTTPS’ is closed to new replies.