-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty wp-content #54
Comments
Same issue here, installed via wordpress plugins, activated, and got |
Sign |
Are you using PHP >= 5.3? https://github.com/benbalter/wordpress-to-jekyll-exporter#a-note- |
I'm having a similar issue. I get the error without doing any jekyll-exporter operation. I get it as soon as I try to invoke the wordpress cli like this: I'm running php 5.4.42 on Dreamhost |
What other plugins do you have installed? Is it possible one of them relies on Spyc? |
@benbalter Just your own exporter mate. I'm getting the same error on a Windows 10 machine. |
I also see this: $ find /home/REDACTED/public_html/wp-content -type f -print0 | xargs -0 grep "class Spyc"
/home/REDACTED/public_html/wp-content/plugins/jekyll-exporter/vendor/mustangostang/spyc/Spyc.php:class Spyc {
/home/REDACTED/public_html/wp-content/plugins/jekyll-exporter/vendor/mustangostang/spyc/php4/spyc.php4:class Spyc { So, the only declarations of that class are yours.... |
I wrapped the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, I am trying to export all my post, pages and uploads to jekyll but with no luck. The wp-content directory is empty.
I've tried with both
wp-cli
andphp jekyll-export-cli.php > jekyll-export.zip
. As I have a custom wordpress structure, I thought that wp-cli will solve the problem, but it didn't.The first error that I've encounter with wp-cli was that it can not find
jekyll-export
as a command. So I downloaded the plugin to~/.wp-cli
as explained here https://github.com/wp-cli/wp-cli/wiki/Community-PackagesAfter that, the plugin was able to run, but with errors like:
After commenting all the function redeclared, I keep getting things like:
I do not know what more I can do to be able to download the contents of wp-content.
Is worth mentioning that I have a custom wordpress structure, like this:
So I modified the file
jekyll-export-cli
toHope you can help me. Regards
The text was updated successfully, but these errors were encountered: