{"id":4777103,"date":"2014-04-04T22:34:10","date_gmt":"2014-04-04T22:34:10","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/avatar-uploading-error-after-cropping\/"},"modified":"2016-08-21T19:01:35","modified_gmt":"2016-08-21T19:01:35","slug":"avatar-uploading-error-after-cropping","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/avatar-uploading-error-after-cropping\/","title":{"rendered":"Avatar Uploading Error after Cropping"},"content":{"rendered":"<p>Hello,<br \/>\nI am working on my new site Pr-e.com and trying to start it with buddypress but facing many issues while doing that<br \/>\nFirst is the problem with Avatar upload &#8211; avatars are uploading in the system but when a user try to crop the image and move forward it just shows a error and user fail to upload avatar<br \/>\n<strong>&#8220;There was a problem cropping your avatar.&#8221;<\/strong><\/p>\n<p>Second : I don&#8217;t know it is because of the traffic or what but in every 2-3 days the site get down showing<br \/>\n&#8220;Error in establishing a Database connection&#8221; and i have to restart mysql through<br \/>\n&#8220;mysqld_safe &amp;&#8221; i think i am missing with some VPS configuration if you guys can please help see this error_log file i have<br \/>\nerror logs &#8211; These were the latest<br \/>\n[04-Apr-2014 17:21:58 UTC] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = &#8216;_bbp_allow_search&#8217; LIMIT 1 made by require(&#8216;wp-blog-header.php&#8217;), require_once(&#8216;wp-includes\/template-loader.php&#8217;), apply_filters(&#8216;template_include&#8217;), call_user_func_array, bbp_template_include, apply_filters(&#8216;bbp_template_include&#8217;), call_user_func_array, bbp_template_include_theme_supports, bbp_is_search, bbp_allow_search, get_option<br \/>\n[04-Apr-2014 17:21:58 UTC] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = &#8216;_bbp_allow_search&#8217; LIMIT 1 made by require(&#8216;wp-blog-header.php&#8217;), require_once(&#8216;wp-includes\/template-loader.php&#8217;), apply_filters(&#8216;template_include&#8217;), call_user_func_array, bbp_template_include, apply_filters(&#8216;bbp_template_include&#8217;), call_user_func_array, bbp_template_include_theme_supports, bbp_is_search, bbp_allow_search, get_option<br \/>\n[04-Apr-2014 17:21:58 UTC] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = &#8216;_bbp_allow_search&#8217; LIMIT 1 made by require(&#8216;wp-blog-header.php&#8217;), require_once(&#8216;wp-includes\/template-loader.php&#8217;), apply_filters(&#8216;template_include&#8217;), call_user_func_array, bbp_template_include, apply_filters(&#8216;bbp_template_include&#8217;), call_user_func_array, bbp_template_include_theme_supports, bbp_is_search, bbp_allow_search, get_option<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-4777103","topic","type-topic","status-closed","hentry","topic-tag-vps"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4777103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4777103\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4777103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}