<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Subscriptions template blank with sage roots 9 - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 15 Sep 2026 21:21:26 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/paged/2/#post-103764</link>
                        <pubDate>Wed, 05 Jul 2023 19:58:13 +0000</pubDate>
                        <description><![CDATA[Hi @sc89me,
This is something wired, we&#039;ve never faced with some issue. In any case we&#039;ve changed the required_once to required. Please provide some details about your hosting, WordPress th...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@sc89me,</span></p>
<p>This is something wired, we've never faced with some issue. In any case we've changed the required_once to required. Please provide some details about your hosting, WordPress theme and plugins for further debugging.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/paged/2/#post-103764</guid>
                    </item>
				                    <item>
                        <title>RE: Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/paged/2/#post-103755</link>
                        <pubDate>Wed, 05 Jul 2023 10:07:05 +0000</pubDate>
                        <description><![CDATA[Ok we have found out what causes this. 
In file plugins/wpforo/modules/subscriptions/Subscriptions.php, there is method add_templates which looks like:

	public function add_templates( $t...]]></description>
                        <content:encoded><![CDATA[<p>Ok we have found out what causes this. <br /><br /></p>
<p data-renderer-start-pos="13">In file <code class="code css-z5oxh7" data-renderer-mark="true">plugins/wpforo/modules/subscriptions/Subscriptions.php</code>, there is method <code class="code css-z5oxh7" data-renderer-mark="true">add_templates</code> which looks like:</p>
<div class="code-block  css-1ofwmam">
<pre contenteditable="false">	public function add_templates( $templates ) {
		$templates = ;

		return $templates;
	}</pre>
</div>
<p data-renderer-start-pos="737">If we change the <code class="code css-z5oxh7" data-renderer-mark="true">require_once</code> on line 13 above and line 65 in the actual file, to <code class="code css-z5oxh7" data-renderer-mark="true">require</code> it works.</p>
<p data-renderer-start-pos="838">I’m not sure if this is a bug in the wpforo code or not. From what we can tell the templates are being processed more than once, which I think is due to some of the template overrides we might have in place. <br /><br />When we flush the output buffer at the correct point we are seeing the original wpforo template in the buffer as well as our override, so something odd is going on with the way the overrides are handled.</p>
<p data-renderer-start-pos="1253">Most of the template definitions, which are set in <code class="code css-z5oxh7" data-renderer-mark="true">plugins/wpforo/Templates.php</code> use <code class="code css-z5oxh7" data-renderer-mark="true">require</code> instead of <code class="code css-z5oxh7" data-renderer-mark="true">require_once</code>. It only appears to be the <code class="code css-z5oxh7" data-renderer-mark="true">subscriptions</code> and <code class="code css-z5oxh7" data-renderer-mark="true">follows</code> modules that use <code class="code css-z5oxh7" data-renderer-mark="true">require_once</code>.<br /><br />@Robert could you comment on if the require_once is necessary for some reason we are not aware of or if these can be changed to require? </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/paged/2/#post-103755</guid>
                    </item>
				                    <item>
                        <title>RE: Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103417</link>
                        <pubDate>Wed, 21 Jun 2023 16:36:53 +0000</pubDate>
                        <description><![CDATA[Yes I have enabled debug.]]></description>
                        <content:encoded><![CDATA[<p>Yes I have enabled debug. </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103417</guid>
                    </item>
				                    <item>
                        <title>RE: Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103415</link>
                        <pubDate>Wed, 21 Jun 2023 12:17:36 +0000</pubDate>
                        <description><![CDATA[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.]]></description>
                        <content:encoded><![CDATA[<p>Again, did you enabled wordpress debug to a log? It is empty?</p>
<p>What you say above is not correct. Pages can crash in the middle, just with a header.</p>
<p>Anyways, goog luck into solving this.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>dimalifragis</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103415</guid>
                    </item>
				                    <item>
                        <title>RE: Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103414</link>
                        <pubDate>Wed, 21 Jun 2023 12:11:58 +0000</pubDate>
                        <description><![CDATA[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 &quot;journey&quot; o...]]></description>
                        <content:encoded><![CDATA[<p>There is no fatal error, I did look into this the whole pages loads its just fine apart from that template section, <br /><br />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. <br /><br />If this was a "Fatal" error you wouldn't get what you see in the screenshot. <br /><br />EDIT: also using xdebug the breakpoints set show that the template content should be outputting it just isn't. </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103414</guid>
                    </item>
				                    <item>
                        <title>RE: Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103413</link>
                        <pubDate>Wed, 21 Jun 2023 11:33:50 +0000</pubDate>
                        <description><![CDATA[Empty/blank pages usually mean a fatal error (white screen of death).
Enable Wordpress debug to a LOG and check.]]></description>
                        <content:encoded><![CDATA[<p>Empty/blank pages usually mean a fatal error (white screen of death).</p>
<p>Enable Wordpress debug to a LOG and check.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>dimalifragis</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103413</guid>
                    </item>
				                    <item>
                        <title>Subscriptions template blank with sage roots 9</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103412</link>
                        <pubDate>Wed, 21 Jun 2023 11:13:32 +0000</pubDate>
                        <description><![CDATA[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 ...]]></description>
                        <content:encoded><![CDATA[<p>Having an issue with the subscriptions page I have spent hours looking at and am getting nowhere with it. <br /><br />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. <br /><br />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. <br /><br />Every other page I have looked at for wpforo loads fine.<br /><br />Since we began the process of updating to v2 <em>(site originally had v1 when it was built) </em>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. <br /><br />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. <br /><br />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. <br /><br />I can give the URL to the site but would prefer not to post it publically as its a staging area. </p>
<div id="wpfa-0" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1687346012-empty.png" target="_blank" title="empty.png"><i class="fas fa-paperclip"></i>&nbsp;empty.png</a></div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/subscriptions-template-blank-with-sage-roots-9/#post-103412</guid>
                    </item>
							        </channel>
        </rss>
		