Comments (4)
Not sure if the error is triggered by WordPress or WordPlate. Another thing you might try is to create a fresh install of WordPlate and then move over your themes and plugins.
from wordplate.
Hmm, if wordplate/uuid
isn't required in your composer.json
file it might still be registered in your composer.lock
file. Try to remove the lock file and run composer install
again. I also suggest to update the project to the latest version of WordPlate. There is a upgrade guide available in the documentation.
from wordplate.
Thanks for suggestion, I tried that.
Here is what I learned
$ composer-1.10.23.phar update
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 1 install, 7 updates, 0 removals
[InvalidArgumentException]
Two packages (johnpbloch/wordpress-core and johnpbloch/wordpress) cannot share the same directory!
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
Then I got to your message and found the upgrade guide. I feel that my solution is simply to upgrade. Cheers!
from wordplate.
So... a few hours later...
I went through each following version up to v9, and followed the steps for each (as sure as I can be). The only version that is working for me is still v4.
For the others I get this error message
2021/11/17 23:37:00 [error] 28336#28336: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in public/wordpress/wp-blog-header.php:16
Stack trace:
#0 public/index.php(16): require()
#1 {main}
thrown in public/wordpress/wp-blog-header.php on line 16" while reading response header from upstream, client: , server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host:
I'm sure there is something obvious I should fix, since this exact error appears for each of the 5 to 9 versions. Any available hints remaining ?
from wordplate.
Related Issues (20)
- "The Mix manifest does not exist." since upgrade HOT 5
- Custom routes + frameworks examples? HOT 2
- mail repo archived HOT 1
- Webpack set images vendor path HOT 1
- Multisite network with no input specified HOT 2
- WP-CLI fatal error on use HOT 5
- mix.sourceMaps() not working HOT 1
- Sharing database for collaborative development HOT 1
- Configuration on apache
- Wordplate don't use the configured language HOT 4
- Can you integrate a docker integration in the project ? HOT 1
- Can't use background-image css properties with vitejs HOT 1
- Connection not found critical error public\wordpress\wp-includes\wp-db.php on line 1785 HOT 1
- Deprecated code in WordPress 5.9.2 HOT 3
- More information about Vite? HOT 3
- Any guide for moving existing default wordpress to wordplate? HOT 1
- Can not choose language during installation HOT 5
- How do you dockerize a WordPlate setup?
- Bunch of deprecations after fresh installation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordplate.