{"id":10127524,"date":"2018-03-29T11:12:10","date_gmt":"2018-03-29T11:12:10","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-git\/"},"modified":"2018-03-29T11:12:36","modified_gmt":"2018-03-29T11:12:36","slug":"using-git","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-git\/","title":{"rendered":"Using git"},"content":{"rendered":"<p>Hi guys, I&#8217;m trying to setup and use git and I&#8217;m getting this error:<\/p>\n<pre><code>Fatal error: Uncaught Error: Call to a member function getRepositoryPath() on null in \/var\/www\/site\/wp-content\/plugins\/aceide\/src\/Modules\/GitOps.php:433 \nStack trace: \n#0 \/var\/www\/site\/wp-includes\/class-wp-hook.php(286): AceIDE\\Editor\\Modules\\GitOps-&gt;git_clone(&#039;&#039;) \n#1 \/var\/www\/site\/wp-includes\/class-wp-hook.php(310): WP_Hook-&gt;apply_filters(&#039;&#039;, Array) \n#2 \/var\/www\/site\/wp-includes\/plugin.php(453): WP_Hook-&gt;do_action(Array) \n#3 \/var\/www\/site\/wp-admin\/admin-ajax.php(97): do_action(&#039;wp_ajax_aceide_...&#039;) \n#4 {main} thrown in \/var\/www\/site\/wp-content\/plugins\/aceide\/src\/Modules\/GitOps.php on line 433<\/code><\/pre>\n<p>My settings are:<\/p>\n<pre><code>\/var\/www\/git\/\nThe Git repository you want to work with. \n\n\/usr\/bin\/git\/\nFull path to the local Git binary on this server.SSH key path\n\n\/var\/www\/git\/ssh\/\nFull path to the folder that contains your SSH keys<\/code><\/pre>\n<p>Additional: <\/p>\n<pre><code>\/var\/www\/git\/ owner is www:data\n\/usr\/bin\/git\/ owner is root\n\/var\/www\/site\/ owner is www:data <\/code><\/pre>\n<p>Any ideas?<\/p>\n","protected":false},"template":"","class_list":["post-10127524","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10127524","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\/10127524\/revisions"}],"predecessor-version":[{"id":10127529,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10127524\/revisions\/10127529"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10127524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}