Code Monkey home page Code Monkey logo

Comments (5)

afbora avatar afbora commented on June 14, 2024 2

I have great news for you πŸŽ‰ getkirby/kirby#2829

from kirby-blade.

adamkiss avatar adamkiss commented on June 14, 2024

Ah, now I saw the issue on the Kirby Forum - should I close this one?

For posterity - the issue is that if the composer creates an autoloader where kirby's e() function isn't created first, PHP will fail with FATAL_ERROR.

Since you can't force the composer to use a load order AFAIK, the only solution seems to be to download this plugin to site/plugins or use git submodule as a way of includeing this plugin.

from kirby-blade.

afbora avatar afbora commented on June 14, 2024

as @lukasbestle said on forum:

Unfortunately no. Libraries that define the same helpers are not compatible with each other.

https://forum.getkirby.com/t/problem-using-blade-plugin/14853/28

only solution seems to be to download this plugin to site/plugins or use git submodule as a way of includeing this plugin.

Exactly!

from kirby-blade.

adamkiss avatar adamkiss commented on June 14, 2024

@afbora Do you think it's possible to just… not add the helpers? I'm not familiar enough with this codebase, but as I see it, composer installation right now just isn't really a viable option, since you can't ensure the order, right?

What actually uses the illuminate/support/helpers? Something internal, or is it available in templates? Otherwise, It'll be good idea to put a warning somewhere in the readme, I think. (I can PR that)

from kirby-blade.

iskrisis avatar iskrisis commented on June 14, 2024

😒

from kirby-blade.

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.