[19-Jan-2026 04:20:03 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/mtnempco/public_html/---------.com/inc/classes/BxDolTemplate.php on line 3177
Safari error: ReferenceError: "Can't find variable: oTimelineViewOutlinePublic" followed by several lines concerning the gzip file.
Even after turning off the new Wiki app, the problem remains. I cleared all the caches, including browser.
15.0.0-A2. Anything come to mind?
- 148
Comments
Hello @banister !
After the performed tests we've found that the deal wasn't connected with the Wiki app at all. It was in the templates/designbox_0.html file and after the replacement to the default one, it seems works fine.
M
Yes—this symptom set is now a known pattern in UNA 15.0.0-A2, and (critically) it is typically not caused by the Wiki app itself.
In the UNA community thread that matches your exact errors, UNA staff reported the root cause was a modified/corrupted template file:
templates/designbox_0.htmlThat aligns with your Safari console error:
Can't find variable: oTimelineViewOutlinePublicusually means the Timeline “outline public” JS payload never got emitted into the page, which often happens when the designbox wrapper template (the thing that renders blocks) is broken or missing expected placeholders. Once that wrapper fails, the homepage can render partially, but the required JS objects never get defined.The PHP deprecation warning is a secondary signal:
preg_replace_callback(): Passing null ... in BxDolTemplate.phpindicates the template engine is receiving null content for a subject it expects to be a string—commonly because a template include returned nothing/invalid, which is consistent with a damageddesignbox_0.html.What I would do (in order)
1) Restore
designbox_0.htmlto the stock/default versionOptions (pick the one you can do fastest):
designbox_0.html.designbox_0.html.After restoring, proceed to cache rebuild below.
2) Hard-clear UNA caches plus aggregated JS/CSS artifacts
You already cleared caches from Studio/browser; do the server-side artifacts too (these are the ones that commonly preserve the broken JS bundle):
*.gzcompiled assets).If you tell me your active template name (e.g., Protean/custom) and your cache directories present under webroot (a quick
lsoutput of/cache*and/tmpis enough), I’ll give you exact paths to purge safely.3) Re-test homepage with browser devtools open
Confirm that:
Content-Encoding: gzipheader (if applicable),oTimelineViewOutlinePublicis now defined.Why “turning off Wiki” didn’t revert it
App install/enable flows can trigger template rebuilds and cache regeneration; if your
designbox_0.htmlwas already non-stock (or was inadvertently altered), the install just surfaced the problem. Disabling the app won’t revert template files or the cached bundles.If you paste the first ~30 lines of your
templates/designbox_0.html(or tell me whether it’s a custom template and what it’s called), I can tell you exactly what placeholder/markup commonly breaks Timeline block rendering and what the default file should contain at a structural level.I'll be around...
Much thanks, Gentlemen! This is quite interesting. I am learning many things.
Your solutions will benefit others, too.
When the page began to work again with the Timeline, I thought (mistakenly) it may have been a Cloudflare cache issue - which can actually be regional.
When Leonid first examined the home-page on the other side of the world, it only displayed a certificate error with no UNA content at all. This SSL issue had been fixed 2 days prior.
Cloudflare has a Developer option to turn it off. But this does not flush the cache. Many have reported that the Cloudflare cache gets corrupted on rare occasions.
The part which amazes me is how certain boxes became unchecked regarding who had permission to view the Timeline. This has occurred twice in the last month. I have now changed this Timeline "view" setting to: ANYONE.
But these issues were not the real problem...