kirby-git-content: Error after installing (Kirby 3) with PHP < 7.3

The error message when I save a page is:

Exception: undefined
Call to a member function name() on null

I use a custom public folder setup, as described here, but it shouldn’t create any problem. I also tried to move the “content” folder to its default location, but no luck.

Edit: I tried to set it up with a fresh Starterkit and get this when I save a page:

Exception: Exception
Unable to update git: Array to string conversion

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

Seems to be a valet problem: https://github.com/laravel/valet/issues/293

Running the plugin on a localhost server with php -S seems to be working. I’ll try and figure out how to solve this once I have some more time.

Not entirely sure if this was the final fix, but adding my SSH Key to the mac keychain seemed to have worked: https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent