<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>URGENT: Fatal error: Call to undefined function x_page_item_featured_content() &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/feed/</link>
		<description></description>
		<lastBuildDate>Tue, 14 Oct 2025 10:13:02 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-185956</guid>
					<title><![CDATA[URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-185956</link>
					<pubDate>Mon, 19 Jan 2015 09:43:42 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I&#8217;m getting a fatal error on my photo gallery page. The error is the following:</p>
<p>Fatal error: Call to undefined function x_page_item_featured_content() in /home/observ15/public_html/wp-content/themes/x-child-integrity-light/framework/views/integrity/content-page.php on line 15</p>
<p>The code on the &#8220;content-page.php&#8221; file is the following:</p>
<pre><code>$disable_page_title = get_post_meta( get_the_ID(), &#039;_x_entry_disable_page_title&#039;, true );

?&gt;

&lt;article id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
  &lt;div class=&quot;entry-featured&quot;&gt;
  &lt;?php  if(x_page_item_featured_content()){
       x_page_item_featured_content();
       }else{
         x_featured_image();
        };?&gt;
  &lt;/div&gt;
  &lt;div class=&quot;entry-wrap&quot;&gt;
    &lt;?php if ( is_singular() ) : ?&gt;
      &lt;?php if ( $disable_page_title != &#039;on&#039; ) : ?&gt;
      &lt;header class=&quot;entry-header&quot;&gt;
        &lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
      &lt;/header&gt;
      &lt;?php endif; ?&gt;
    &lt;?php else : ?&gt;
    &lt;header class=&quot;entry-header&quot;&gt;
      &lt;h2 class=&quot;entry-title&quot;&gt;
        &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( sprintf( __( &#039;Permalink to: &quot;%s&quot;&#039;, &#039;__x__&#039; ), the_title_attribute( &#039;echo=0&#039; ) ) ); ?&gt;&quot;&gt;&lt;?php x_the_alternate_title(); ?&gt;&lt;/a&gt;
      &lt;/h2&gt;
    &lt;/header&gt;
    &lt;?php endif; ?&gt;
    &lt;?php x_get_view( &#039;global&#039;, &#039;_content&#039; ); ?&gt;
  &lt;/div&gt;
&lt;/article&gt;</code></pre>
<p>Line 15 that the error is referring to is the following:</p>
<p><code>&lt;?php  if(x_page_item_featured_content()){</code></p>
<p>If someone could help me fix this ASAP I would greatly appreciate it.</p>
<p>Dan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-185964</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-185964</link>
					<pubDate>Mon, 19 Jan 2015 09:49:55 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						<p>I need to add that the issue happened after I upgraded the theme to version 3.1.1 (from version 3.0.1).</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-185967</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-185967</link>
					<pubDate>Mon, 19 Jan 2015 09:54:45 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186060</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186060</link>
					<pubDate>Mon, 19 Jan 2015 11:56:50 +0000</pubDate>
					<dc:creator>mariusvetrici</dc:creator>

					<description>
						<![CDATA[
						<p>Replace:</p>
<p>&lt;div class=&#8221;entry-featured&#8221;&gt;<br />
  &lt;?php  if(x_page_item_featured_content()){<br />
       x_page_item_featured_content();<br />
       }else{<br />
         x_featured_image();<br />
        };?&gt;<br />
  &lt;/div&gt;</p>
<p>WITH:</p>
<p>&lt;div class=&#8221;entry-featured&#8221;&gt;<br />
    &lt;?php x_featured_image(); ?&gt;<br />
  &lt;/div&gt;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186088</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186088</link>
					<pubDate>Mon, 19 Jan 2015 12:45:03 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						<p>Issue has been sorted out. No need to offer support. 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186090</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186090</link>
					<pubDate>Mon, 19 Jan 2015 12:46:16 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you so much Marius! 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186265</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186265</link>
					<pubDate>Mon, 19 Jan 2015 16:38:38 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for sharing Mariusvetrici.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186507</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186507</link>
					<pubDate>Tue, 20 Jan 2015 02:30:38 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						<p>Um&#8230;. I&#8217;ve just realized that the new code that has fixed the issue has unfortunately removed the gallery (which automatically scrolls through multiple images via the flex slider (not rev slider)) from the following pages:</p>
<p>• <a href="http://www.observatory.net.au/location/" rel="nofollow">http://www.observatory.net.au/location/</a><br />
• <a href="http://www.observatory.net.au/about-us/community-activity/" rel="nofollow">http://www.observatory.net.au/about-us/community-activity/</a><br />
• <a href="http://www.observatory.net.au/facilities-services/" rel="nofollow">http://www.observatory.net.au/facilities-services/</a></p>
<p>Can you please have a look at the code and see where it has stopped the slider from working and have it reinstated? This is very important.</p>
<p>Thank you.</p>
<p>Dan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186819</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186819</link>
					<pubDate>Tue, 20 Jan 2015 12:40:57 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Dan,</p>
<p>Please replace the entire code in content-page.php with this.</p>
<pre><code>
&lt;?php

// =============================================================================
// VIEWS/INTEGRITY/CONTENT-PAGE.PHP
// -----------------------------------------------------------------------------
// Standard page output for Integrity.
// =============================================================================

$disable_page_title = get_post_meta( get_the_ID(), &#039;_x_entry_disable_page_title&#039;, true );

?&gt;

&lt;article id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
  &lt;div class=&quot;entry-featured&quot;&gt;
    &lt;?php x_featured_image(); ?&gt;
  &lt;/div&gt;
  &lt;div class=&quot;entry-wrap&quot;&gt;
    &lt;?php if ( is_singular() ) : ?&gt;
      &lt;?php if ( $disable_page_title != &#039;on&#039; ) : ?&gt;
      &lt;header class=&quot;entry-header&quot;&gt;
        &lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
      &lt;/header&gt;
      &lt;?php endif; ?&gt;
    &lt;?php else : ?&gt;
    &lt;header class=&quot;entry-header&quot;&gt;
      &lt;h2 class=&quot;entry-title&quot;&gt;
        &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( sprintf( __( &#039;Permalink to: &quot;%s&quot;&#039;, &#039;__x__&#039; ), the_title_attribute( &#039;echo=0&#039; ) ) ); ?&gt;&quot;&gt;&lt;?php x_the_alternate_title(); ?&gt;&lt;/a&gt;
      &lt;/h2&gt;
    &lt;/header&gt;
    &lt;?php endif; ?&gt;
    &lt;?php x_get_view( &#039;global&#039;, &#039;_content&#039; ); ?&gt;
  &lt;/div&gt;
&lt;/article&gt;
</code></pre>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186839</guid>
					<title><![CDATA[Reply To: URGENT: Fatal error: Call to undefined function x_page_item_featured_content()]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-fatal-error-call-to-undefined-function-x_page_item_featured_content/#post-186839</link>
					<pubDate>Tue, 20 Jan 2015 13:17:03 +0000</pubDate>
					<dc:creator>Daniel S</dc:creator>

					<description>
						<![CDATA[
						<p>I tried it, but it didn&#8217;t work.</p>
<p>The code you supplied was exactly the same as what I already had.</p>
<p>Any other ideas?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

