Giter Club home page Giter Club logo

Comments (4)

Sommerregen avatar Sommerregen commented on June 9, 2024

@terriblespider This looks like a generic error. Not related to this plugin here. Does your site work, when themer is disabled? Can you check whether commenting themer.php#L67 helps? That's the only code of piece, I can image, which may cause the error...

from grav-plugin-themer.

konstantingoretzki avatar konstantingoretzki commented on June 9, 2024

Commenting out L67 worked ;) Thanks a lot :)

from grav-plugin-themer.

Sommerregen avatar Sommerregen commented on June 9, 2024

Hi @terriblespider ,

commenting out L67 was only a test to see what is going to happen behind the scenes. This plugin requires the method in order to show you in the admin the available page types.

After all I tracked down the error and as it turns out is an upstream issue of Grav core. Can you open an issue there?

The reason why you see this error enabling themer is, that you are using a custom theme multiverse, which doesn't have a folder modular in user/themes/multiverse/templates (as the error suggests). Grav core seems not to handle the case, where this folder is missing. It silently assumes, that the folder exists... (see Types.php#L84-L85 ). You may add a folder there and the error should go away, too.

I will keep this issue open for reference.

from grav-plugin-themer.

Sommerregen avatar Sommerregen commented on June 9, 2024

Bug is reported and PR is provided. Will be fixed in Grav Core soon!

Will close this issue. Feel free to open it, when the issue still persists.

from grav-plugin-themer.

Related Issues (9)

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.