Giter Club home page Giter Club logo

Comments (8)

thathoff avatar thathoff commented on May 31, 2024

Can you try to open the browser’s console and check if you get a bit more information about this error? The file and line number where this happens would be great. You might need to enable debug mode.

Thank you!

from kirby-git-content.

davidjablonski avatar davidjablonski commented on May 31, 2024

Hey, thank you – all I’m getting in the console is a 500 status code for the API call, pointing to the line where the exception is thrown.
Screenshot 2022-02-11 at 15 28 09

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

Thanks! This helps a lot to trace down this bug.

from kirby-git-content.

davidjablonski avatar davidjablonski commented on May 31, 2024

Thanks for investigating! And just to clarify, since I accidentally included this in the censoring – the call that has the 500 response is to url.com**/api/pages/slug-of-page**.

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

Unfortunately I’m not able to reproduce this. Can you please replace line 134 in src/KirbyGitHelper.php which should be throw new Exception('Unable to update git: ' . $exception->getMessage()); with throw $exception; and try again and send me the error message again?

Thanks!

from kirby-git-content.

davidjablonski avatar davidjablonski commented on May 31, 2024

I’ve done what you suggested, and it would throw the same error as before, pointing me to line 131 of src/KirbyGitHelper.php. I also threw an exception in line 131, which now points me to the Console.php file within the Git vendor library. Does that help?
Screenshot 2022-02-21 at 12 51 17

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

That helps. Thank you. We’re also evaluating switching back to the original version of the git library we’re using (See #83), so this might be fixing it. But I’m still wondering whet the root cause of this error is.

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

This is fixed by switching to the new git library in v5.0.0

from kirby-git-content.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.