The problem here is that in DetectPostsPagionationURLs the post type "oembed_cache" is not excluded from the query. This results in URLs that does not exist on the site.
For SuperCache the solution would be to exclude oembed_cachejust like nav_menu_item and revision.
A more general approach would be so let configure an list of excluded post_types.
Sidenote:
I forked this project (swtrse/wp2static) and did include all the changes to optimize this plugin to my needs.
Maybe someone finds this useful.
The problem here is that in DetectPostsPagionationURLs the post type "oembed_cache" is not excluded from the query. This results in URLs that does not exist on the site. For SuperCache the solution would be to exclude oembed_cachejust like nav_menu_item and revision. A more general approach would be so let configure an list of excluded post_types.
Sidenote: I forked this project (swtrse/wp2static) and did include all the changes to optimize this plugin to my needs. Maybe someone finds this useful.