{"id":3494,"date":"2014-03-27T04:50:25","date_gmt":"2014-03-27T04:50:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/27\/drupal-7-theme-info-name-errors-after-transferring-site-to-new-server-collection-of-common-programming-errors\/"},"modified":"2014-03-27T04:50:25","modified_gmt":"2014-03-27T04:50:25","slug":"drupal-7-theme-info-name-errors-after-transferring-site-to-new-server-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/27\/drupal-7-theme-info-name-errors-after-transferring-site-to-new-server-collection-of-common-programming-errors\/","title":{"rendered":"Drupal 7 &#8211; Theme Info Name Errors After Transferring Site to New Server-Collection of common programming errors"},"content":{"rendered":"<p>After transferring over a finished site to a new server, files\/database and all, switching over the database settings in <code>settings.php<\/code> and running <code>update.php<\/code> I get the following errors:<\/p>\n<pre><code>Notice: Undefined index: name in block_menu() (line 146 of \/home\/nrsc2533\/public_html\/modules\/block\/block.module).\nNotice: Undefined index: name in block_menu() (line 165 of \/home\/nrsc2533\/public_html\/modules\/block\/block.module).\nNotice: Undefined index: name in system_menu() (line 647 of \/home\/nrsc2533\/public_html\/modules\/system\/system.module).\nNotice: Undefined index: name in block_menu() (line 146 of \/home\/nrsc2533\/public_html\/modules\/block\/block.module).\nNotice: Undefined index: name in block_menu() (line 165 of \/home\/nrsc2533\/public_html\/modules\/block\/block.module).\nNotice: Undefined index: name in system_menu() (line 647 of \/home\/nrsc2533\/public_html\/modules\/system\/system.module).\n<\/code><\/pre>\n<p>I also lose most if not all of the items in the admin menu. I looked up the errors and they were all related to the following line of code:<\/p>\n<pre><code>'title' =&gt; check_plain($theme-&gt;info['name']),\n<\/code><\/pre>\n<p>This is a free theme that I customized, it is working fine on my test domain on my server, but not now that it has transferred. I did change the [theme].info file to reflect that it had been customized on the &#8220;name =&#8221; line. I checked online and found that the encoding may have been changed when I saved it, again strange since I had done this on the test domain and it seemed fine, so I changed the encoding to UTF-* without BOM and still to no avail. I have tried clearing the cache again via update.php and nothing changes. Any help will be GREATLY appreciated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After transferring over a finished site to a new server, files\/database and all, switching over the database settings in settings.php and running update.php I get the following errors: Notice: Undefined index: name in block_menu() (line 146 of \/home\/nrsc2533\/public_html\/modules\/block\/block.module). Notice: Undefined index: name in block_menu() (line 165 of \/home\/nrsc2533\/public_html\/modules\/block\/block.module). Notice: Undefined index: name in system_menu() (line [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3494","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3494"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3494\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}