Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Ed Beck
    Participant

    Hello,

    I’m a first time user trying to use Git it Write. I have created a new sandbox WordPress site at https://demo.ed-beck.com/git-it-write to test this plugin, and Git it Write is the only plugin installed on this fresh WordPress site running WordPress 6.8.1.

    I am trying to connect to a public github repository, https://github.com/beckej13820/getting-started-with-eportfolios

    In my Git it Write settings:

    GitHub Username: beckej13820
    repository name: getting-started-with-eportfolios
    branch: main
    folder: docs
    post type: pages
    author to set posts: beckej

    When I attempt to pull posts, I get this critical error:

    07/10/2025 21:07 - ********** Publishing posts by repository config ID **********
    
    07/10/2025 21:07 - Working with repository config ID 1
    
    07/10/2025 21:07 - Creating repository object
    
    07/10/2025 21:07 - Building repo structure ...
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Warning: Undefined array key "items" in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 104
    
    Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php:97 Stack trace: #0 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php(104): GIW_Repository->add_to_structure(NULL, Array, Object(stdClass)) #1 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php(104): GIW_Repository->add_to_structure(Array, Array, Object(stdClass)) #2 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php(104): GIW_Repository->add_to_structure(Array, Array, Object(stdClass)) #3 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php(104): GIW_Repository->add_to_structure(Array, Array, Object(stdClass)) #4 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php(134): GIW_Repository->add_to_structure(Array, Array, Object(stdClass)) #5 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php(23): GIW_Repository->build_repo_structure() #6 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/publish-handler.php(31): GIW_Repository->__construct('beckej13820', 'getting-started...', 'main') #7 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/admin/admin.php(344): GIW_Publish_Handler::publish_by_id('1') #8 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/admin/admin.php(74): GIW_Admin::pull_posts() #9 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-includes/class-wp-hook.php(324): GIW_Admin::admin_page('') #10 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #11 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-admin/admin.php(260): do_action('settings_page_g...') #13 /home/edbecksu/demo.ed-beck.com/git-it-write/wp-admin/options-general.php(10): require_once('/home/edbecksu/...') #14 {main} thrown in /home/edbecksu/demo.ed-beck.com/git-it-write/wp-content/plugins/git-it-write/includes/repository.php on line 97
    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.
    
    Learn more about troubleshooting WordPress.
    Aakash
    Keymaster

    Hi Ed,

    Thanks for using GIW plugin and sorry for the late reply.

    I tried your repository config and it worked for me perfectly in my lab.

    Can you please create a temp admin account and share its creds with me to the contact form below?

    Contact

    Thanks,
    Aakash

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms