Notifications
Clear all

[Closed] Subscriptions template blank with sage roots 9

7 Posts
3 Users
0 Reactions
703 Views
sc89me
Posts: 26
Topic starter
(@sc89me)
Eminent Member
Joined: 5 years ago

Having an issue with the subscriptions page I have spent hours looking at and am getting nowhere with it. 

I have (I think) confirmed its to do with sage roots 9 theme because on the default 2023 theme we can get that page to load. 

What I can't work out is why it's actually being an issue, from doing bits of debugging I can see that the code is actually hitting the profile-subscriptions.php file, I can see the $subscriptions array is empty and it ends up hitting the bottom bit where its supposed to output the message about the user having no subs. 

Every other page I have looked at for wpforo loads fine.

Since we began the process of updating to v2 (site originally had v1 when it was built) all other pages have been fine its just this one that constantly renders blank, it's not just "visually" blank there is nothing in terms of HTML being output from that file even though its running through it and "should" output the warning at the end. 

This leads me to think its some connection with sage9 and how it renders blade templates but why this is any different in terms of no other wpforo pages have the same issue is what's puzzling me the most. 

Can any plugin developer perhaps assist in terms of telling me where and what I might want to look into next? As I said it's only this page doing this, this happens if you override the file or not we currently are not. 

I can give the URL to the site but would prefer not to post it publically as its a staging area. 

6 Replies
dimalifragis
Posts: 2615
(@dimalifragis)
Famed Member
Joined: 4 years ago

Empty/blank pages usually mean a fatal error (white screen of death).

Enable Wordpress debug to a LOG and check.

sc89me
Posts: 26
Topic starter
(@sc89me)
Eminent Member
Joined: 5 years ago

There is no fatal error, I did look into this the whole pages loads its just fine apart from that template section, 

Adding error_log items throughout the subscriptions templating "journey" outputs all the points, it gets to the correct point in the file the output just isn't happening on the page all the surrounding HTML outputs fine. 

If this was a "Fatal" error you wouldn't get what you see in the screenshot. 

EDIT: also using xdebug the breakpoints set show that the template content should be outputting it just isn't. 

dimalifragis
Posts: 2615
(@dimalifragis)
Famed Member
Joined: 4 years ago

Again, did you enabled wordpress debug to a log? It is empty?

What you say above is not correct. Pages can crash in the middle, just with a header.

Anyways, goog luck into solving this.

sc89me
Posts: 26
Topic starter
(@sc89me)
Eminent Member
Joined: 5 years ago

Yes I have enabled debug. 

Page 1 / 2