{"id":5774,"date":"2011-07-25T20:47:27","date_gmt":"2011-07-26T04:47:27","guid":{"rendered":"http:\/\/www.perivision.net\/wordpress\/?p=5774"},"modified":"2011-09-16T21:13:46","modified_gmt":"2011-09-17T05:13:46","slug":"how-to-fix-crashed-wordpress-after-update-3-2-with-the-arras-theme","status":"publish","type":"post","link":"https:\/\/www.perivision.net\/wordpress\/2011\/07\/how-to-fix-crashed-wordpress-after-update-3-2-with-the-arras-theme\/","title":{"rendered":"How to fix crashed WordPress after update 3.2 with the Arras theme"},"content":{"rendered":"<p><a href=\"https:\/\/www.perivision.net\/wordpress\/wp-content\/uploads\/2011\/07\/arras-theme.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-thumbnail wp-image-5776\" title=\"arras theme\" src=\"https:\/\/www.perivision.net\/wordpress\/wp-content\/uploads\/2011\/07\/arras-theme-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.perivision.net\/wordpress\/wp-content\/uploads\/2011\/07\/arras-theme-150x150.jpg 150w, https:\/\/www.perivision.net\/wordpress\/wp-content\/uploads\/2011\/07\/arras-theme-36x36.jpg 36w, https:\/\/www.perivision.net\/wordpress\/wp-content\/uploads\/2011\/07\/arras-theme-115x115.jpg 115w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>I just updated from WP3.1 to WP3.2 and it immediately crashed my site.\u00a0 A hard crash, no admin panel, nor error message. Fortunately I did this at the Automattic office, so I had the core guys there to help me.<\/p>\n<p>Now here is a tip, if your site ever locks up after installing a plugin or an upgrade, FTP into your site and change this directory<\/p>\n<p>\/wp-content\/plugins\u00a0 to\u00a0 \/wp-content\/plugins_foo<\/p>\n<p>If that does not work, then change this directory;<\/p>\n<p>\/wp-content\/themes\/{the name of your current theme}\/ -&gt; \/{theme}_foo<\/p>\n<p>This should put your site back to the default design which will at least get you up and running again till you can figure out what went wrong.<\/p>\n<p>Now in my case, I&#8217;m using the arras theme.\u00a0 It crashed because a widget that the theme overrides, tag-cloud, is now deprecated. There may be many other themes that are doing the same thing.\u00a0 You can tell by looking at the error logs.<\/p>\n<p>Here is what you need to change on line 404 of the file widgets.php (you can find this file in \/themes\/arras\/library):<\/p>\n<p>Change this line -&gt; $this-&gt;WP_Widget_Tag_Cloud();<\/p>\n<p>To this line -&gt; parent::__construct();<\/p>\n<p>The new class call should read as the following&#8230;<\/p>\n<p>class Arras_Widget_Tag_Cloud extends WP_Widget_Tag_Cloud {<br \/>\nfunction Arras_Widget_Tag_Cloud() {<br \/>\nparent::__construct();<br \/>\n}<\/p>\n<p>There is a list of widget that have been deprecated.\u00a0 If your wordpress is hard crashing, its possible that your theme could be using one of these widgets.\u00a0 Simply find where this is called in your theme and replace the call as I showed above.\u00a0 Hopefully this will fix it.<\/p>\n<p>Good luck!<\/p>\n<p>$_wp_deprecated_widgets_callbacks = array(<br \/>\n&#8216;wp_widget_pages&#8217;,<br \/>\n&#8216;wp_widget_pages_control&#8217;,<br \/>\n&#8216;wp_widget_calendar&#8217;,<br \/>\n&#8216;wp_widget_calendar_control&#8217;,<br \/>\n&#8216;wp_widget_archives&#8217;,<br \/>\n&#8216;wp_widget_archives_control&#8217;,<br \/>\n&#8216;wp_widget_links&#8217;,<br \/>\n&#8216;wp_widget_meta&#8217;,<br \/>\n&#8216;wp_widget_meta_control&#8217;,<br \/>\n&#8216;wp_widget_search&#8217;,<br \/>\n&#8216;wp_widget_recent_entries&#8217;,<br \/>\n&#8216;wp_widget_recent_entries_control&#8217;,<br \/>\n&#8216;wp_widget_tag_cloud&#8217;,<br \/>\n&#8216;wp_widget_tag_cloud_control&#8217;,<br \/>\n&#8216;wp_widget_categories&#8217;,<br \/>\n&#8216;wp_widget_categories_control&#8217;,<br \/>\n&#8216;wp_widget_text&#8217;,<br \/>\n&#8216;wp_widget_text_control&#8217;,<br \/>\n&#8216;wp_widget_rss&#8217;,<br \/>\n&#8216;wp_widget_rss_control&#8217;,<br \/>\n&#8216;wp_widget_recent_comments&#8217;,<br \/>\n&#8216;wp_widget_recent_comments_control&#8217;<br \/>\n);<\/p>\n<div class=\"SPOSTARBUST-Related-Posts\"><H3>Related Posts<\/H3><ul class=\"entry-meta\"><li class=\"SPOSTARBUST-Related-Post\"><a title=\"Insert tweets directly into wordpress\" href=\"https:\/\/www.perivision.net\/wordpress\/2011\/03\/insert-tweets-directly-into-wordpress\/\" rel=\"bookmark\">Insert tweets directly into wordpress<\/a><\/li>\n<\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>I just updated from WP3.1 to WP3.2 and it immediately crashed my site.\u00a0 A hard crash, no admin panel, nor error message. Fortunately I did this at the Automattic office, so I had the core guys there to help me. Now here is a tip, if your site ever locks up after installing a plugin&hellip; <a class=\"read-more\" href=\"https:\/\/www.perivision.net\/wordpress\/2011\/07\/how-to-fix-crashed-wordpress-after-update-3-2-with-the-arras-theme\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[59],"tags":[1383,1158,1382],"class_list":["post-5774","post","type-post","status-publish","format-standard","hentry","category-tips","tag-arras-theme","tag-wordpress","tag-wp3-2"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pjzQD-1v8","_links":{"self":[{"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/posts\/5774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/comments?post=5774"}],"version-history":[{"count":5,"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/posts\/5774\/revisions"}],"predecessor-version":[{"id":5898,"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/posts\/5774\/revisions\/5898"}],"wp:attachment":[{"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/media?parent=5774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/categories?post=5774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.perivision.net\/wordpress\/wp-json\/wp\/v2\/tags?post=5774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}