This error can occur if the section order is broken. This may happen if a parent section has been deleted without deleting the child sections. In the error log (click the settings button in the top right page corner), you should see the message "The tree contains items with invalid parent IDs or with an invalid order".
To fix the structure:
This message indicates that either an article does not contain content intended for a specific pipeline or that the export stylesheets cannot handle the content. To narrow down the error, proceed as follows: