{"id":154895,"date":"2024-01-17T12:35:52","date_gmt":"2024-01-17T11:35:52","guid":{"rendered":"https:\/\/de.wordpress.org\/support\/topic\/fresh-wp-install-fails-saving-functions-php\/"},"modified":"2024-01-17T14:05:33","modified_gmt":"2024-01-17T13:05:33","slug":"fresh-wp-install-fails-saving-functions-php","status":"closed","type":"topic","link":"https:\/\/de.wordpress.org\/support\/topic\/fresh-wp-install-fails-saving-functions-php\/","title":{"rendered":"Fresh WP Install fails saving functions.php"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello everyone<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am using &#8222;Local WP&#8220; for my local WP environment. I just realized that if I set up a complete fresh WP installation with only Divi in the latest version installed, I am getting an error when I try to save functions.php in the theme editor without making any changes.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">&#8222;Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.&#8220;<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">I searched for the error, but it&#8217;s always related to themes\/plugins. In my case, it&#8217;s a complete fresh installation. I&#8217;ve tested it with PHP 7.4 and 8.2, and it&#8217;s the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Funny thing is, when I upload the whole site to my hosting provider, saving functions.php in the theme editor works without any issue. Should I ignore this local issue?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do you think this issue is related to the Divi theme? If so, I will create a support case, but I wanted to check here first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">many thanks!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jonas<\/p>\n","protected":false},"template":"","class_list":["post-154895","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/154895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/de.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/de.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/154895\/revisions"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=154895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}