Support » Plugin: AceIDE » Using git

  • Hi guys, I’m trying to setup and use git and I’m getting this error:

    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 
    Stack trace: 
    #0 /var/www/site/wp-includes/class-wp-hook.php(286): AceIDE\Editor\Modules\GitOps->git_clone('') 
    #1 /var/www/site/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) 
    #2 /var/www/site/wp-includes/plugin.php(453): WP_Hook->do_action(Array) 
    #3 /var/www/site/wp-admin/admin-ajax.php(97): do_action('wp_ajax_aceide_...') 
    #4 {main} thrown in /var/www/site/wp-content/plugins/aceide/src/Modules/GitOps.php on line 433

    My settings are:

    The Git repository you want to work with. 
    Full path to the local Git binary on this server.SSH key path
    Full path to the folder that contains your SSH keys


    /var/www/git/ owner is www:data
    /usr/bin/git/ owner is root
    /var/www/site/ owner is www:data 

    Any ideas?

    • This topic was modified 4 years, 3 months ago by SamTyurenkov.
Viewing 1 replies (of 1 total)
  • Plugin Author shanept


    Hi Sam,

    If I may direct your attention to the line where the error occurs, you will see from the error that ‘$this->git’ is NULL.

    ‘$this->git’ is defined here or here. As you can see, these lines are both commented out, therefore there is no ‘$this->git’! The reason for this, is that git is still a development feature, and as I currently have no use for it, I haven’t been developing it. (I would be very happy to accept a pull request though!)

    Sorry about that! If you’re keen to try get it working, please do feel free to play around and let me know how you go.

Viewing 1 replies (of 1 total)
  • The topic ‘Using git’ is closed to new replies.