WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
semi-broken because of PHP notice (9 posts)

  1. hoekiesda
    Member
    Posted 3 years ago #

    PHP Notice: Undefined variable: wp_version in /srv/www/blogs/httpdocs/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 677, referer: http://blogs.example/wp-admin/network/plugins.php

  2. hoekiesda
    Member
    Posted 3 years ago #

    typo at line 546:
    $_SERVER[ 'HTTPS' ] == 'Off';

  3. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    Check and see if you have the latest version.

  4. treydock
    Member
    Posted 3 years ago #

    I am getting the exact same error...Here's the other PHP errors I'm getting with this plugin. What's so strange is I have this plugin working flawlessly on another Multisite install and the current install is on a fresh install of 3.1.1 that I'm setting up for development. Running latest version of plugin and wordpress.

    PHP Notice: Undefined variable: wp_version in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 677, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/plugins.php?deactivate=true&plugin_status=all&paged=1&s=

    PHP Notice: Undefined index: action in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 144, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/settings.php
    PHP Notice: Undefined index: permanent_redirect in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 303, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/settings.php?page=dm_admin_page
    PHP Notice: Undefined index: dm_no_primary_domain in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 306, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/settings.php?page=dm_admin_page
    PHP Notice: Undefined index: 1 in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 825, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/settings.php?updated=true
    PHP Notice: Undefined index: 2 in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 825, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/settings.php?updated=true
    PHP Notice: Undefined index: 3 in /var/www/itscblogtestsite/html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 825, referer: http://itscblogtestsite.tamu.edu/wp-admin/network/settings.php?updated=true

    Thanks
    - Trey

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    Try the dev version.

    WP_DEBUG adds overhead to an install. People normally don't have it turned on at all times on a live install.

  6. treydock
    Member
    Posted 3 years ago #

    The site I'm having a problem is for development which is why WP_DEBUG is on. Could turning that off during the install possibly solve this?

    Where do I get the development version? Can't seem to find a link to it.

    Thanks
    - Trey

  7. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    On the plugin page in the right sidebar there is an "Other versions" link which links to http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/download/

  8. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    Second note, I thought that typo you pointed out above had been fixed before we released the latest version, so I checked the development log http://plugins.trac.wordpress.org/log/wordpress-mu-domain-mapping/
    and it was.

    You don't have the latest version installed. Plugins installed in the mu-plugins folder do not get automatically checked for updates. You have to do that yourself.

  9. treydock
    Member
    Posted 3 years ago #

    Got the development version and the issue still persists.

    The Dev version's readme and other files identify it as 0.5.4, which is the latest stable so is there any difference between it and the dev version?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic