Home>Support>Fatal error: Call to undefined function siteorigin_setting()

Fatal error: Call to undefined function siteorigin_setting()

hi good day,
I just updated my wordpress and my website is like this,

Fatal error: Call to undefined function siteorigin_setting() in /var/www/html/wp-content/themes/vantage-childtheme/header.php on line 30
ive allready done changing the name of the childtheme and re upload the wordpress.
thanks

URL: http://www.inkersph.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 5 months ago mel.santonil
     
    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package vantage
     * @since vantage 1.0
     * @license GPL 2.0
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<meta http-equiv="X-UA-Compatible" content="IE=10" />
    	<title><?php wp_title( '|', true, 'right' ); ?></title>
    	<link rel="profile" href="http://gmpg.org/xfn/11" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    
    <?php do_action('vantage_before_page_wrapper') ?>
    
    <div id="page-wrapper">
    
    	<?php do_action( 'vantage_before_masthead' ); ?>
    
    	<?php get_template_part( 'parts/masthead', apply_filters( 'vantage_masthead_type', siteorigin_setting( 'layout_masthead' ) ) ); ?>
    
    	<?php do_action( 'vantage_after_masthead' ); ?>
    
    	<?php vantage_render_slider() ?>
    
    	<?php do_action( 'vantage_before_main_container' ); ?>
    
    	<div id="main" class="site-main">
    		<div class="full-container">
    			<?php do_action( 'vantage_main_top' ); ?>
    
  2. 9 years, 5 months ago Greg Priday
    Hi, I Work Here

    Hi Mel

    Ouch! Lets get that fixes up as quickly as possible. So siteorigin_setting is a function that comes from SiteOrigin’s extras framework. For some reason, it seems like it’s not being included properly in your installation.

    So just to confirm, are you still getting this error after you renamed your child theme over FTP? The only thing I can think is that this is somehow being caused by a child theme trying to access the siteorigin_setting function before it’s available, so renaming the child theme folder (so disabling it), should fix the issue.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More