• Resolved rightbiz

    (@rightbiz)


    Hello Donncha Ó Caoimh,

    I’ve been using your brilliant “wordpress-mu-domain-mapping” plugin on my Hostgator shared account, without any incident for a few months.

    But since updating WordPress on my Hostgator shared account, (PHPv 5.6.30) to the latest WP verson a day or two ago, I keep getting these display errors in the Tools/Domain Mapping Admin area:

    =============================
    Notice: Undefined index: action in /……/……./public_html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 373

    Warning: Cannot modify header information – headers already sent by (output started at /……/……./public_html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php:373) in /……/……./public_html/wp-admin/includes/misc.php on line 1114

    Notice: Undefined index: path in /……/……./public_html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 447

    Notice: Undefined index: path in /……/……./public_html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 462
    =============================

    Regardless, the pluging is working fine and all Domains “Primary” or otherwise, all point to their respective mapped Sub Domains without any problem.

    It’s just the display errors that concern me.

    Is their any lines of php code I can replace to rectivy this?

    Thank you so much for your time.

    Best regards,
    Stanley E Kennedy

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rightbiz

    (@rightbiz)

    Sorry, some additional errors via cron / email notification:

    Notice: Undefined index: HTTP_HOST in /……/……./public_html/wp-content/sunrise.php on line 10

    Notice: Undefined index: HTTP_HOST in /……/……./public_html/wp-includes/ms-settings.php on line 57

    Warning: Cannot modify header information – headers already sent by (output started at /……/……./public_html/wp-content/sunrise.php:10) in /……/……./public_html/wp-includes/ms-settings.php on line 79

    Hope this info is useful to help resolve this issue.

    Plugin Author Ron Rennick

    (@wpmuguru)

    Hostgator turned on printing warnings when they updated PHP. Ask HG support if warnings can be turned off.

    Thread Starter rightbiz

    (@rightbiz)

    Thanks for your reply Ron,

    I had already turned off PHP Display errors in the php.ini file. But the solution was right in the WP Config file, changed the “define(‘WP_DEBUG’, true);” to “define(‘WP_DEBUG’, false);”. Now it’s all good 🙂

    Best,
    Stan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin display errors since upgrading WordPress to Version 4.9.4’ is closed to new replies.