undefined index host in canonical.php after migrating
-
after migrating my site with the All-in-One WP Migration plugin, it unfortunately crashed after a day, i enabled debugging and this line repeats constantly
“[16-Sep-2018 10:46:56 UTC] PHP Notice: Undefined index: host in /var/www/html/wp-includes/canonical.php on line 465”
and when i check the lines it highlights
“if ( strtolower($original[‘host’]) == strtolower($redirect[‘host’]) ||
( strtolower($original[‘host’]) != ‘www.’ . strtolower($redirect[‘host’]) && ‘www.’ . strtolower($original[‘host’]) != strtolower($redirect[‘host’]) ) )
$redirect[‘host’] = $original[‘host’];$compare_original = array( $original[‘host’], $original[‘path’] );”
this is what’s there.i already checked the urls in the wp_options and they are set to “https://www.uwimonacs.org.jm”
i’ve tried renaming the plugins folder and reloading the site and still nothing, i honestly don’t know what to do next
The page I need help with: [log in to see the link]
- The topic ‘undefined index host in canonical.php after migrating’ is closed to new replies.