Blank topics after import?

After importing data from Vanilla all my topics are blank. If I press the reply-counter (which is correct numbered) I can scroll through the posts, but the main content section is blank.

I get a bunch of these Javascript errors when opening a topic:

Uncaught TypeError: Cannot read property ‘split’ of null

I’m running Discourse commit a6ebe49 (newest upgrade available at the time of writing this)

Please let me know if you need any other information.

ITs clearly something about the import. What version of vanilla? The MySQL importer or the other one?

The other one. Vanilla version is 2.1.11

The topic contents are clearly there but just not shown correctly.

It also applies to the autogenerated topics made by Discourse on installation

Have you tried safe mode?

1 Like

Tried enabling safe mode and disabling it all but still the same result - topics come out blank.

Check this screenshot:

@Falco @pfaffman Any other clues? I’m pretty much stuck on this :confused:

1 Like

If you press F12 to open the Dev Tools, and reload the page, what errors do you see?

I get a bunch of Uncaught TypeError: Cannot read property 'split' of null

What file is it referencing? A screenshot of the error would be helpful.

Please share a link to your forum.

@cpradio Screenshot:

@Falco The forum is not publicly accessible at the moment since I’m still working on it on an internal server.

Okay, and you said you are not running any plugins right and zero customizations?

Can you go to Admin > Settings and check the box Only show overriden?

I have a feeling you changed a setting to a bad value. But I’m not 100% certain which one.

This is the overridden settings:

I am using the following plugins:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/communiteq/discourse-migratepassword.git
- git clone https://github.com/discourse/discourse-spoiler-alert.git
- git clone https://github.com/discourse/discourse-solved.git
- git clone https://github.com/discourse/discourse-feature-voting.git
- git clone https://github.com/discourse/discourse-push-notifications.git
- git clone https://github.com/discourse/discourse-staff-notes.git
- git clone https://github.com/discourse/discourse-backup-uploads-to-s3.git
- git clone https://github.com/discourse/discourse-cakeday.git
- git clone https://github.com/communiteq/discourse-adsense.git

I tried commenting out all those plugins (except the docker manager) and rebuilding the app but with the same result.

@cpradio @Falco @pfaffman
Any other ideas? Things to try?
I would really like to get rid of Vanilla, but this is kinda holding me back :confused:

Did you make a backup and restore from the backup after doing the import? I know that is recommended to cleanup some lingering performance issues.

2 Likes

It was a brand new Discourse installation so I didn’t think of doing the backup thing, but i’ll try that next.

Seems like it was a broken plugin after all, specifically this one:
https://github.com/gnunicorn/discourse-plugin-shared-edit

The author of that plugin is lost in the space for a long time…
A suggestion: before installing new plugins check if the authors are still active here on meta and if the plugins are up to date. Tons of things have changed from 2014 (last commit of the plugin).

3 Likes

I usually do that, but must have skipped it with this one since I was surprised to find it being that old, But good advice nonetheless!

1 Like

This topic was automatically closed after 2666 days. New replies are no longer allowed.