Git Product home page Git Product logo

Comments (7)

darrenjacoby avatar darrenjacoby commented on July 25, 2024

Hey @mrgesco,

I'll retest with Bedrock, but initial feeling is that it may have something do with the setup.

The path is loaded using define('INTERVENTION_DIR', dirname(__FILE__)); which runs from intervention.php within the plugin folder and should return the correct path for loading files from there. You could try echo constant INTERVENTION_DIR and see what it returns?

from intervention.

mrgesco avatar mrgesco commented on July 25, 2024

Thank you @darrenjacoby for your quick reply!

This is the value of INTERVENTION_DIR and the plugin is working
/var/www/html/app/plugins/intervention

But I have always the warning about composer
include(/var/www/vendor/composer/../../web/app/plugins/intervention/src/Intervention.php): failed to open stream: No such file or directory /var/www/vendor/composer/ClassLoader.php:444

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

@mrgesco try give rc.4 a go, tagged today and let me know if that helps.

from intervention.

mrgesco avatar mrgesco commented on July 25, 2024

No luck same behavior.

Getting the plugin manually works fine without the warning.

I'm pretty sure the problem is with docker but can't figure why...

Plugins required from wpackagist works fine.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

Hey @mrgesco, checking in to see if you were able to resolve the issue?

from intervention.

mrgesco avatar mrgesco commented on July 25, 2024

Unfortunatly not. I have installed the plugin manually and not with composer

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

Thanks for reporting back @mrgesco. I haven't been able to replicate, so I'm going to close for now. If you discover any more information regarding the issue please do let me know.

from intervention.

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.