GithubHelp home page GithubHelp logo

Class 'ILAB\MediaCloud\Cloud\Storage\StorageManager' not found in /htdocs/wp-content/plugins/ilab-media-tools/ilab-media-tools.php:90 about ilab-media-tools HOT 8 CLOSED

stentotre avatar stentotre commented on July 21, 2024
Class 'ILAB\MediaCloud\Cloud\Storage\StorageManager' not found in /htdocs/wp-content/plugins/ilab-media-tools/ilab-media-tools.php:90

from ilab-media-tools.

Comments (8)

stentotre avatar stentotre commented on July 21, 2024

I will try an earlier version to see if we get the same errors.

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024

Bump

from ilab-media-tools.

DavidMillington-CD avatar DavidMillington-CD commented on July 21, 2024

What we found was that the version you install via the WordPress admin plugins system is 2.1.30 which only has very minor changes to 2.1.31 which is the latest on GitHub. The version doesn't make a difference to this particular problem. The issue is when you use the version from GitHub...

What was killing the GitHub version was that it lacks the vendor directory that the WordPress version includes. So once you clone the GitHub repo make sure to run composer install in the plugin directory.

If that complains that "The "https://packages.interfacelab.io/packages.json" file could not be downloaded (HTTP/1.1 521 Origin Down)" it means that site is down which sucks. I had this error. The fix is easy. Edit composer.json and remove the "repositories" block. So ditch all of this and re-run the composer install:

"repositories": [{
    "type": "composer",
    "url": "https://packages.interfacelab.io"
  }],

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024

The version in github is intended to be installed as a composer dependency via bedrock/trellis or whatever else you are using that manages WordPress via composer, so checking in the vendor directory would be a bad idea.

I just committed a change that removes the packages repo from the composer.json. I'm not even sure why that was in there.

from ilab-media-tools.

DavidMillington-CD avatar DavidMillington-CD commented on July 21, 2024

We are installing it as a Git submodule. Long story short we just inherited a project that installs all the WP plugins as submodules so to keep along the same line we did that with your plugin. The site will be rewritten from the ground up soon but the first step was to get the existing site up and running on our setup.

The new pipeline is to install this as a submodule along with the others and then we call composer install in your plugin directory (after calling it in our main project root). The commit you did to remove the package repo saves us some work, thank you.

from ilab-media-tools.

DavidMillington-CD avatar DavidMillington-CD commented on July 21, 2024

Since you implemented the change and bumped the version number can you make a 2.1.32 release please?

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024

Done!

from ilab-media-tools.

DavidMillington-CD avatar DavidMillington-CD commented on July 21, 2024

Excellent, thank you very much.

from ilab-media-tools.

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.