Git Product home page Git Product logo

Comments (7)

rhukster avatar rhukster commented on August 22, 2024

Yah probably a windows issue with pathing.. i'll dig into it today if you can test for me :)

from grav-plugin-admin.

flaviocopes avatar flaviocopes commented on August 22, 2024

@Sommerregen Can you try this for me? Before the line that throws the error, add this test:

if (!file_exists($file->getRealPath())) {
    echo 'uhm';
    var_dump($file->getPathName());
    exit();
}

Do you see the dump of the variable, or just the exception, same as before?

from grav-plugin-admin.

flaviocopes avatar flaviocopes commented on August 22, 2024

(after this: https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Page/Page.php#L114)

from grav-plugin-admin.

Sommerregen avatar Sommerregen commented on August 22, 2024

Actually, I have found the error, see PR. Maybe it needs some refinements.

from grav-plugin-admin.

flaviocopes avatar flaviocopes commented on August 22, 2024

It would be interesting to catch where that trailing 'task:' was added, I'll try to replicate.

from grav-plugin-admin.

Sommerregen avatar Sommerregen commented on August 22, 2024

Ok:-)

from grav-plugin-admin.

Sommerregen avatar Sommerregen commented on August 22, 2024

@flaviocopes See my comment here #36.

from grav-plugin-admin.

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.