Forum Discussion
Something went wrong: there was an error publishing your course - How to resolve
We were also unable to publish our course on Review. So we found the buggy element: We made a copy of the course for testing purposes, deleted one chapter at a time and tried to upload the course after each deleted chapter. When the error message finally disappeared the first time, we knew we had found the buggy chapter. In our case, it was the third one.
After that we did the same with all the elements of that chapter: delete one block - try to publish - error still there? Delete the next block - try to publish ... Until publishing is possible.
This way we found out that there was a block with an attachment, but the attachment was empty. After we deleted this empty block, publishing was possible.
We replaced this block in the original course and now everything works fine!
As mine was a 'test' course, I'd put some block 'place holders' in without any content (in my case it was to access a downloaded file). Once this was remedied, the publishing worked a treat. Thanks!