So I had Pressbooks installed and running for over a year with no problems. I decided to update it to the latest version and all hell broke loose.
I have been able to fix all the problems except that I can’t export my books. I get an error saying that I am missing dependencies. I went ahead and updated all my dependencies (Kindle and epub) but I am still getting the same error.
Here is the line of code in WP-Config file for the epub installation:
Hello. I see that ned is aiming to help with your dilemma. I was merely jumping in to ask if, by chance, you documented all the fixes you did to get new Pressbooks version to work, @josuerodriguez? I am in the same boat you were in, meaning persisting with older version of Pressbooks and considering upgrade to current version in March or April. Welcome your thoughts.
One note is that EpubCheck is not a strict requirement. It validates your EPUB’s conformance to the EPUB specifications, and if your EPUB isn’t compliant then your MOBI files will likely be rejected by Amazon (MOBI is created by transforming an EPUB 2.0 export). If you don’t care about this, you can disable the check for EpubCheck by adding the following to a file (say, override-dependency-checks.php) in /wp-content/mu-plugins/: