{"id":17385229,"date":"2024-01-30T18:38:16","date_gmt":"2024-01-30T18:38:16","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/breaks-when-install-path-changes\/"},"modified":"2024-01-30T18:42:07","modified_gmt":"2024-01-30T18:42:07","slug":"breaks-when-install-path-changes","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/breaks-when-install-path-changes\/","title":{"rendered":"Breaks when install path changes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m having the same issue Jesse (@jeswd) had <a href=\"https:\/\/wordpress.org\/support\/topic\/stops-working-when-path-to-wordpress-app-changes\/\">here: Stops working when path to wordpress app changes<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my case, the error was triggered when cloning a site in Local by Flywheel: the plugin keeps looking for the path that matches the site it was originally activated on. <br \/>Deactivating or uninstalling doesn&#8217;t solve this. <br \/>I also witnessed the same problem when migrating a local site to live, or staging site to production. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I was able to locate and delete the relevant key in phpMyAdmin (<code>debug_log_manager_file_path<\/code>) and then dereactivated the plugin, which works, but obviously isn&#8217;t ideal. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My proposed fix would be to re-determine the path each time the plugin is activated, just like it does on first activation. <br \/>Unless I&#8217;m missing something, it seems like it could be a satisfactory fix, and wouldn&#8217;t require much work to be implemented?<\/p>\n","protected":false},"template":"","class_list":["post-17385229","topic","type-topic","status-publish","hentry","topic-tag-migration","topic-tag-path"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17385229","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17385229\/revisions"}],"predecessor-version":[{"id":17385244,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17385229\/revisions\/17385244"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17385229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}