I have a LOT of includes, and they're all showing this error:
Error rendering macro 'include' : The body of this ContentEntityObject ('Contacts') was 'BodyType:WIKI' but was expected to be 'BodyType:XHTML'
The
documentation (for 4.0)
talks about upgrading *user* macros, but surely the {include} macro is native to Confluence and should have been upgraded automatically to XHMTL?
Could you give exact versions and plan of your upgrade?
Also please check your upgrade logs - maybe your upgrade failed in the middle - so not all document content was upgraded. Upgrade logs can be found according to the guide:
It might cause by html macro which is disabled by default for confluence 5.
Please kindly enable [HTML Macro|https://confluence.atlassian.com/display/DOC/Enabling+the+html-include+Macro] (with all the module enable). see if the problem fix?