I’m experiencing an issue with the new Customize About Page feature after updating to the latest Discourse Version 3.4.0.beta3-dev (d853b5384b). I confirmed there are no further updates available as of today. Here’s the main problem:
Mixed Content: When I try to update the About page using the new customization feature, the new content doesn’t fully replace the old js.about.contact_info text. Instead, it merges with it, resulting in a jumbled display of old and new text on the About page.
Editing Site Texts: I cannot edit overridden site texts in /admin/customize/site_texts?overridden=true&q=. I encounter an error page saying “Something went wrong” when attempting to access this page.
Developer Console Errors:
TypeError: “Cannot read properties of null (reading ‘find’)” in admin-site-text-edit.js:19:1.
OneSignal SDK Errors: Repeated updateSubscription: subscriptionId is not defined errors from ExecutorBase.js:89, which may or may not be related.
Steps I’ve Taken:
Updated to the latest version available (3.4.0.beta3-dev d853b5384b).
Refreshed the browser and cleared cache.
Checked for errors in the developer console (details provided above).
Unable to share the website URL for privacy reasons.
Request for Assistance:
Is there a way to fully utilize the new Customize About Page feature without interference from the previously customized js.about.contact_info text? Additionally, is there a fix or workaround for the error preventing access to the overridden site texts?
I am having a bit of trouble understanding your problem and replicating it. Are you saying that you had already changed the js.about.contact_info text previously, and now after the update when you try to update the text you are getting an error?
Can you look at the developer console in your web browser to see if more details are shown there when the error message appears on the page?
Yes, I had previously modified the js.about.contact_info text, and after the recent update, I noticed that when I try to customize the About page with new content, it doesn’t fully override the old js.about.contact_info text. Instead, the old text is still present and mixes with the new content, creating display issues.
Additionally, I’m not receiving a specific error message in the interface. However, I do see an error page (“Something went wrong”) when trying to edit overridden texts in /admin/customize/site_texts?overridden=true&q=. I’ve checked the developer console, and here’s what I observed:
I checked the developer console in Chrome, and here’s what I found:
TypeError: I’m seeing a “Cannot read properties of null (reading ‘find’)” error in admin-site-text-edit.js:19:1. This seems to indicate an issue with the setupController function when accessing site_texts.
The issue seems to prevent the new customization feature from fully replacing old text in the About section. Let me know if there are specific details in the console you’d like me to capture, or if there’s anything else I can provide to help troubleshoot this!
Ok, thanks for that! We will look into it and see if there’s a bug.
You are aware that there are two site texts you migh tlike to edit affecting the “Contact us” section on the about page? There is also the js.about.report_inappropriate_content site text.
Yes, I am aware of the other js.about site texts, but my primary issue is with using the new Customize About Page feature. Because of the previously modified js.about.contact_info text in /admin/customize/site_texts, I’m unable to fully update the contact information.
When I try to use the new customization feature to update the Contact section, the new text doesn’t replace the old js.about.contact_info content. Instead, it mixes with the old text, resulting in a jumbled display on the About page.
I’d really appreciate any insights into resolving this so I can make full use of the new Customize About Page feature. Thank you!
Thanks for the detailed report! moved all this into the same topic.
I am still not able to repro, unfortunately, even on a site I had not yet updated so was able to customize this site text before updating.
Can you try the above steps in safe mode and see if it still happens? Can you try it in a different web browser, in case you are having a browser plugin conflict?
Thank you for your suggestions. Here’s what I’ve tried so far:
Safe Mode: I enabled safe mode and experienced the same issue. I also tested in Chrome’s guest mode, a new profile, and even on a smartphone without any plugins—no change.
Primary Concern - Customize About Page Issue:
When I try to update the “Contact us” section on the About page (website.com/about) using the Edit this page feature, it doesn’t display the information I add in the Contact Information section (website.com/admin/config/about).
Specifically, none of the fields like Community owner, Contact email, or Contact URL from the Contact Information section appear in the “Contact us” column on the About page. Instead, it’s displaying a mix of the old js.about.contact_info text with the new input, creating a jumbled result.
Secondary Concern - Site Text Editing Error:
When I try to access and edit any text via /admin/customize/site_texts?q=, I get an error page (“Something went wrong”).
I previously customized some texts here, but now I can’t edit them anymore. The customizations made in the past are also potentially interfering with the current setup, as shown in the screenshots and GIF.
Summary of Observations:
It seems that the Contact Information (website.com/admin/config/about) and site_texts (website.com/admin/customize/site_texts?q=) configurations are conflicting. This conflict results in mixed content displaying in the “Contact us” section on the About page, rather than showing the intended updates from the new Customize About Page feature.
Thank you for any further insights or solutions you might have!
I don’t see anything “jumbled” in the screenshots you posted. I need a screenshot of the “jumbled” results that you’re seeing so we can figure out what the problem is.
Do you see any errors in the browser console or in /logs?
Is your site locale set to en_uk? Can you try changing it to en_us and see if that fixes it?
What is the content of the js.about.contact_info site text? It appears to be empty but when I try to empty the field on my site I get a validation error.
There is definitely something weird going on with your locales. You should have en_us and en_uk available as options. en is not even an option in Discourse!
What do you have set for the following three settings?
If you enabled allow user locale then what is the locale you have set in your own preferences? Maybe try disabling that setting to see if you can narrow down the problem that way.
If you have made changes to the default locales available in core discourse, then it is going to be hard for us to support you.
Something is severely broken with your site @TheBaby5 — the list of available locales on your site is null and it’s causing a whole lot of problems. Are you running a supported install? Do you have any non-official plugins?