Giter VIP home page Giter VIP logo

Comments (6)

adamziel avatar adamziel commented on July 17, 2024

@vyskoczilova it looks like https://kybernaut.cz/blueprints/pay-for-payment-playground.zip contains a zipped Playground site that was exported before these PRs landed:

The zIp file contains the SQLite integration plugin, but the importer doesn't pick it up (which seems to be a bug) and the Playground doesn't install a new instance of the SQLite integration plugin in the same mu-plugins location. As a result, this error happens:

[01-Jul-2024 23:15:34 UTC] PHP Warning:  require_once(/wordpress/wp-content/mu-plugins/sqlite-database-integration/load.php): Failed to open stream: No such file or directory in /wordpress/wp-content/mu-plugins/0-sqlite.php on line 1
[01-Jul-2024 23:15:34 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/wordpress/wp-content/mu-plugins/sqlite-database-integration/load.php' (include_path='.:') in /wordpress/wp-content/mu-plugins/0-sqlite.php:1

I'm adding it to our queue. A fix would be to use the zipped sqlite-database-integration plugin. I can't promise any timeline – perhaps removing the zipped mu-plugins entirely would work as as a workaround?

from wordpress-playground.

vyskoczilova avatar vyskoczilova commented on July 17, 2024

Hi @adamziel, Thanks for stepping in. Somehow, the Playground stopped working as the previous version.

Now I try to install the zip with deleted mu-plugins (from https://kybernaut.cz/blueprints/pay-for-payment-playground-v2.zip) or with zipped version (https://kybernaut.cz/blueprints/pay-for-payment-playground-v3.zip) and the WooCommerce plugin is not there any longer and the DB doesn't seem to be picked up either :( I have prepared a complete site to test my plugin - set up WooCommerce, products, my plugin, and homepage with instructions. Now I get an empty playground without imported data and plugin :/

What do you think Icould do about it? And I wouldn't be the only one who tried to leverage the importWordPressFiles step.

from wordpress-playground.

adamziel avatar adamziel commented on July 17, 2024

@vyskoczilova aha, it seems like a workaround might not work and this needs a fix in Playground. Sorry about that! I started a Pull Request that fixes the problem on my end – I hope to land it later today:

CleanShot 2024-07-03 at 11 27 33@2x

from wordpress-playground.

vyskoczilova avatar vyskoczilova commented on July 17, 2024

@adamziel, that would be awesome! Thanks a lot :) My fingers crossed.

from wordpress-playground.

adamziel avatar adamziel commented on July 17, 2024

#1569 solved this and the link you've shared works now :-)

from wordpress-playground.

vyskoczilova avatar vyskoczilova commented on July 17, 2024

Great! Thanks a lot, Adam!

from wordpress-playground.

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.