In my theme editor, I get this error with "header" and "footer". There is also this error: "Error loading block: You are probably offline.".
Additionally, when trying to save an action in my theme editor, it fails with an error.
Disabling wpdiscuz resolves this issue. I have no other plugins installed, only wpdiscuz.
I tried purging my WP install and starting from scratch. Same issue.
Clearing my browser cache (or using a different browser) did not help either.
The only 'unique' thing to my site is that I have 'WP_HOME' and 'WP_SITEURL' hardwired in my wp-config.php, per the instructions here: https://developer.wordpress.org/advanced-administration/upgrade/migrating/ .
Any help is greatly appreciated.
Thanks
I found an answer to my issue. Hard-coding "WP_HOME" and "WP_SITEURL" to 'https://www.domain.com' does in fact break compatibility with wpdiscuz.
The solution I found was to edit the 'siteurl' and 'home' database entries in the 'wp_options' table of the Wordpress database and manually set them to full domain with the 'www'.
I hope this can help someone else in the future.