Error export via epub

Hello all,

I have installed a new Pressbooks site, with wordpress 6.1.1, pressbooks 6.6.0 and php8.0.
I have installed epubcheck with aptitude package on a Debian server.

I have cloned the pressbooks user-guide. When I try to export it in epub, there are some errors:

ERROR(RSC-007): [Location]/pressbooks/exports/Pressbooks-User-Guide-1672845474.epub/EPUB/front-cover.xhtml(13,51): Referenced resource “EPUB/assets/” could not be found in the EPUB.

ERROR(RSC-012): [Location]/pressbooks/exports/Pressbooks-User-Guide-1672845474.epub/EPUB/chapter-010-export.xhtml(18,490): Fragment identifier is not defined.

ERROR(RSC-012): [Location]/pressbooks/exports/Pressbooks-User-Guide-1672845474.epub/EPUB/chapter-017-what-is-a-webbook.xhtml(18,1098): Fragment identifier is not defined.

Do you have any ideas, advice for me ? The biggest problem for me is the first error (“EPUB/assets/” could not be found in the EPUB.) as It happens to others books.

Thanks.
Noémie

ERROR(OPF-014): [Location]/wp-content/uploads/sites/2/pressbooks/exports/Handbook-of-Research-Data-Management-1673274153.epub/EPUB/mcluhan.css(0,0): The property "remote-resources" should be declared in the OPF file.

ERROR(RSC-007): [Location]/wp-content/uploads/sites/2/pressbooks/exports/Handbook-of-Research-Data-Management-1673274153.epub/EPUB/front-cover.xhtml(13,66): Referenced resource "EPUB/assets/" could not be found in the EPUB.

ERROR(RSC-006): [Location]/wp-content/uploads/sites/2/pressbooks/exports/Handbook-of-Research-Data-Management-1673274153.epub/EPUB/mcluhan.css(2,9): Remote resource reference not allowed; resource must be placed in the OCF.

ERROR(RSC-006): [Location]/wp-content/uploads/sites/2/pressbooks/exports/Handbook-of-Research-Data-Management-1673274153.epub/EPUB/mcluhan.css(3,9): Remote resource reference not allowed; resource must be placed in the OCF.

Does anyone has a hint ? It looks like the McLuhan theme produces those errors ?

Hi @SteelWagstaff

Do you have any ideas on how to solve this issue ?
It’s the last error we have to solve before my university can go on production…

Thanks.
Noémie

Hi @njamar we have created a ticket for this issue Validation errors shown when exporting an EPUB: · Issue #3136 · pressbooks/pressbooks · GitHub. Our developers are still trying to reproduce it locally.