I notice that you added an entry in the wiki article Example: configure WordPress with a static cache. I must admit to being in awe at the clever stuff done in that article and don’t fully understand it all at this stage.
In relation to the issue you’re having here though, I’m just wondering if you temporarily comment out the import you mentioned in your post, does this problem disappear?