• wethead

    (@wethead)


    Hi,

    I installed wordpress on a website and I had a “temp” url running it you know one of those “66.12.344.445/~Yousitename” deals until the hosting was set up.

    The ftp was always the same so I loaded the files there BUT then once the main domain crossed over I see the site but have random errors…..

    I dumped the db and reinstalled but it seems the old url is stored somewhere, Can someone help me with this error please

    Here is the error
    Warning: Invalid argument supplied for foreach() in /home/bluesky/public_html/guitar/wp-includes/query.php on line 687

    That is the TEMP domain the site was showing on until the main site came live, The rest of the site has no errors except this one on the archive php and sometimes in the write new post area
    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter wethead

    (@wethead)

    Update,

    I opened query php and found this

    if ( empty($qv[‘taxonomy’]) || empty($qv[‘term’]) ) {
    $this->is_tax = false;

    foreach ( $GLOBALS[‘wp_taxonomies’] as $t ) {
    if ( isset($t->query_var) && ” != $qv[$t->query_var] ) {
    $this->is_tax = true;
    break;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Error After Domain Switch ….Maybe Simple? Please Help :)’ is closed to new replies.