Error
Call to undefined function fw_ext_feedback_stars_get_post_rating() Error thrown with message "Call to undefined function fw_ext_feedback_stars_get_post_rating()" Stacktrace: #12 Error in /home/marketm4/public_html/documentarynow.org/wp-content/themes/blockter/inc/hooks.php:425 #11 blockter_set_movie_rating in /home/marketm4/public_html/documentarynow.org/wp-includes/class-wp-hook.php:287 #10 WP_Hook:apply_filters in /home/marketm4/public_html/documentarynow.org/wp-includes/class-wp-hook.php:311 #9 WP_Hook:do_action in /home/marketm4/public_html/documentarynow.org/wp-includes/plugin.php:478 #8 do_action in /home/marketm4/public_html/documentarynow.org/wp-includes/general-template.php:2884 #7 wp_head in /home/marketm4/public_html/documentarynow.org/wp-content/themes/blockter/header.php:20 #6 require_once in /home/marketm4/public_html/documentarynow.org/wp-includes/template.php:723 #5 load_template in /home/marketm4/public_html/documentarynow.org/wp-includes/template.php:672 #4 locate_template in /home/marketm4/public_html/documentarynow.org/wp-includes/general-template.php:41 #3 get_header in /home/marketm4/public_html/documentarynow.org/wp-content/plugins/ht-movie/extensions/ht-movie/views/single-movie.php:9 #2 include in /home/marketm4/public_html/documentarynow.org/wp-includes/template-loader.php:106 #1 require_once in /home/marketm4/public_html/documentarynow.org/wp-blog-header.php:19 #0 require in /home/marketm4/public_html/documentarynow.org/index.php:17
Stack frames (13)
12
Error
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-content
/
themes
/
blockter
/
inc
/
hooks.php
425
11
blockter_set_movie_rating
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
class-wp-hook.php
287
10
WP_Hook
apply_filters
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
class-wp-hook.php
311
9
WP_Hook
do_action
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
plugin.php
478
8
do_action
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
general-template.php
2884
7
wp_head
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-content
/
themes
/
blockter
/
header.php
20
6
require_once
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
template.php
723
5
load_template
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
template.php
672
4
locate_template
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
general-template.php
41
3
get_header
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-content
/
plugins
/
ht-movie
/
extensions
/
ht-movie
/
views
/
single-movie.php
9
2
include
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
template-loader.php
106
1
require_once
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-blog-header.php
19
0
require
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
index.php
17
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-content
/
themes
/
blockter
/
inc
/
hooks.php
    $vars[] = 'section';
    $vars[] = 'topsortby';
    $vars[] = 'search-type';
    return $vars;
}
add_filter( 'query_vars', 'blockter_register_query_vars' );
 
/**
 * Set custom post meta for every single movie/tv-show
 * for filtering by rating purpose.
 *
 * @param $post_id
 */
function blockter_set_movie_rating() {
 
    if ( is_singular( array( 'ht_movie', 'ht_show' ) ) ) {
        global $post;
        $post_id = $post->ID;
        $rating_key   = 'blockter_rating';
        $rating_value = intval( fw_ext_feedback_stars_get_post_rating()['average'] );
        update_post_meta( $post_id, $rating_key, $rating_value );
    }
}
add_action( 'wp_head', 'blockter_set_movie_rating' );
 
// To keep the count accurate, lets get rid of prefetching
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10 );
 
 
/**
 * Modify pagination links for search pages.
 *
 * Rewrite `page/2` to `paged=2`
 */
add_filter( 'paginate_links', 'blockter_search_pagination_mod', 1 );
 
function blockter_search_pagination_mod( $link )
{
 
    if ( is_search() ) {
Arguments
  1. "Call to undefined function fw_ext_feedback_stars_get_post_rating()"
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
class-wp-hook.php
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
            $priority                                 = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 == $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
Arguments
  1. ""
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. null
    
  2. array:1 [
      0 => ""
    ]
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
plugin.php
 
    if ( ! isset( $wp_filter[ $tag ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
        // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
        $arg[0] = $arg[0][0];
    }
 
    $wp_filter[ $tag ]->do_action( $arg );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Retrieve the number of times an action is fired.
 *
 * @since 2.1.0
 *
 * @global array $wp_actions Increments the amount of times action was triggered.
 *
 * @param string $tag The name of the action hook.
 * @return int The number of times action hook $tag is fired.
 */
function did_action( $tag ) {
    global $wp_actions;
 
    if ( ! isset( $wp_actions[ $tag ] ) ) {
        return 0;
    }
Arguments
  1. array:1 [
      0 => ""
    ]
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
general-template.php
     * @param string $before           The HTML to output before the date.
     * @param string $after            The HTML to output after the date.
     */
    echo apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after );
}
 
/**
 * Fire the wp_head action.
 *
 * See {@see 'wp_head'}.
 *
 * @since 1.2.0
 */
function wp_head() {
    /**
     * Prints scripts or data in the head tag on the front end.
     *
     * @since 1.5.0
     */
    do_action( 'wp_head' );
}
 
/**
 * Fire the wp_footer action.
 *
 * See {@see 'wp_footer'}.
 *
 * @since 1.5.1
 */
function wp_footer() {
    /**
     * Prints scripts or data before the closing body tag on the front end.
     *
     * @since 1.5.1
     */
    do_action( 'wp_footer' );
}
 
/**
 * Fire the wp_body_open action.
Arguments
  1. "wp_head"
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-content
/
themes
/
blockter
/
header.php
<?php
ob_start();
/**
 * The header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package blockter
 */
 
$c_lg = get_theme_mod('logo_img', '');
 
?><!DOCTYPE html>
<html <?php language_attributes(); ?> itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
 
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
    if ( function_exists( 'wp_body_open' ) ) {
        wp_body_open();
    }
?>
<?php  $has_preloading_effect = get_theme_mod('loading', 0);?>
<?php if($has_preloading_effect != '0'): ?>
 
<!--preloading-->
<div id="preloader">
    <img src="<?php echo esc_url($c_lg); ?>" alt="<?php esc_attr_e("logo image", 'blockter'); ?>" width="119" height="58">
    <div id="status">
        <span></span>
        <span></span>
    </div>
</div>
<?php endif; ?>
<div class="overlay">
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
template.php
 
    if ( is_array( $wp_query->query_vars ) ) {
        /*
         * This use of extract() cannot be removed. There are many possible ways that
         * templates could depend on variables that it creates existing, and no way to
         * detect and deprecate it.
         *
         * Passing the EXTR_SKIP flag is the safest option, ensuring globals and
         * function variables cannot be overwritten.
         */
        // phpcs:ignore WordPress.PHP.DontExtract.extract_extract
        extract( $wp_query->query_vars, EXTR_SKIP );
    }
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    if ( $require_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
}
 
Arguments
  1. "/home/marketm4/public_html/documentarynow.org/wp-content/themes/blockter/header.php"
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
template.php
function locate_template( $template_names, $load = false, $require_once = true ) {
    $located = '';
    foreach ( (array) $template_names as $template_name ) {
        if ( ! $template_name ) {
            continue;
        }
        if ( file_exists( STYLESHEETPATH . '/' . $template_name ) ) {
            $located = STYLESHEETPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( TEMPLATEPATH . '/' . $template_name ) ) {
            $located = TEMPLATEPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( ABSPATH . WPINC . '/theme-compat/' . $template_name ) ) {
            $located = ABSPATH . WPINC . '/theme-compat/' . $template_name;
            break;
        }
    }
 
    if ( $load && '' != $located ) {
        load_template( $located, $require_once );
    }
 
    return $located;
}
 
/**
 * Require the template file with WordPress environment.
 *
 * The globals are set up for the template file to ensure that the WordPress
 * environment is available from within the function. The query variables are
 * also available.
 *
 * @since 1.5.0
 *
 * @global array      $posts
 * @global WP_Post    $post          Global post object.
 * @global bool       $wp_did_header
 * @global WP_Query   $wp_query      WordPress Query object.
 * @global WP_Rewrite $wp_rewrite    WordPress rewrite component.
 * @global wpdb       $wpdb          WordPress database abstraction object.
Arguments
  1. "/home/marketm4/public_html/documentarynow.org/wp-content/themes/blockter/header.php"
    
  2. true
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
general-template.php
function get_header( $name = null ) {
    /**
     * Fires before the header template file is loaded.
     *
     * @since 2.1.0
     * @since 2.8.0 $name parameter added.
     *
     * @param string|null $name Name of the specific header file to use. null for the default header.
     */
    do_action( 'get_header', $name );
 
    $templates = array();
    $name      = (string) $name;
    if ( '' !== $name ) {
        $templates[] = "header-{$name}.php";
    }
 
    $templates[] = 'header.php';
 
    locate_template( $templates, true );
}
 
/**
 * Load footer template.
 *
 * Includes the footer template for a theme or if a name is specified then a
 * specialised footer will be included.
 *
 * For the parameter, if the file is called "footer-special.php" then specify
 * "special".
 *
 * @since 1.5.0
 *
 * @param string $name The name of the specialised footer.
 */
function get_footer( $name = null ) {
    /**
     * Fires before the footer template file is loaded.
     *
     * @since 2.1.0
Arguments
  1. array:1 [
      0 => "header.php"
    ]
    
  2. true
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-content
/
plugins
/
ht-movie
/
extensions
/
ht-movie
/
views
/
single-movie.php
<?php
/**
 * The template for displaying single Movie
 */
 
global $current_user;
wp_get_current_user();
 
get_header();
?>
<?php if(have_posts()) : ?>
    <?php while(have_posts()) : the_post(); ?>
    <?php
        /**
         * Movie metaboxes
         */
        //General
        $blockter_rate = get_post_meta( $post->ID, 'blockter_rating', true );
        $tagline = fw_get_db_post_option($post->ID, 'tagline');
        $overview = fw_get_db_post_option($post->ID, 'overview');
        $release_date = fw_get_db_post_option($post->ID, 'release_date');
        $runtime = fw_get_db_post_option($post->ID, 'runtime');
        $production = fw_get_db_post_option($post->ID, 'production');
        $country = fw_get_db_post_option($post->ID, 'country');
        $languages = fw_get_db_post_option($post->ID, 'languages');
        $directors = fw_get_db_post_option($post->ID, 'directors');
        $writers = fw_get_db_post_option($post->ID, 'writers');
 
        //Media
        $poster = get_the_post_thumbnail();
        $banner = fw_get_db_post_option($post->ID, 'banner');
        $gallery = fw_get_db_post_option($post->ID, 'gallery');
        $video = fw_get_db_post_option($post->ID, 'video');
        $hosted_videos = fw_get_db_post_option($post->ID, 'hosted_videos');
        $iframe_videos = fw_get_db_post_option($post->ID, 'iframe_videos');
 
        //Button
        $button_1_text = fw_get_db_post_option($post->ID, 'button_1_text');
        $button_1_url = fw_get_db_post_option($post->ID, 'button_1_url');
        $button_2_text = fw_get_db_post_option($post->ID, 'button_2_text');
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-includes
/
template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/home/marketm4/public_html/documentarynow.org/wp-content/plugins/ht-movie/extensions/ht-movie/views/single-movie.php"
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/marketm4/public_html/documentarynow.org/wp-includes/template-loader.php"
    
/
home
/
marketm4
/
public_html
/
documentarynow.org
/
index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/home/marketm4/public_html/documentarynow.org/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/movie/when-we-were-kings/"
PATH
"/usr/local/bin:/usr/bin:/bin"
REDIRECT_STATUS
"200"
UNIQUE_ID
"Xv2jB1P3D3d9cdYPINy4lwAAAAM"
HTTPS
"on"
PHPHANDLER
"/usr/local/php73/bin/php"
HTTP_HOST
"documentarynow.org"
HTTP_X_REAL_IP
"35.173.215.75"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_CONNECTION
"close"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
SERVER_NAME
"documentarynow.org"
SERVER_ADDR
"35.208.120.158"
SERVER_PORT
"443"
REMOTE_ADDR
"35.173.215.75"
DOCUMENT_ROOT
"/home/marketm4/public_html/documentarynow.org"
SERVER_ADMIN
"webmaster@documentarynow.marketmarvel.org"
SCRIPT_FILENAME
"/home/marketm4/public_html/documentarynow.org/index.php"
REMOTE_PORT
"54236"
REDIRECT_URL
"/movie/when-we-were-kings/"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1593680648.0185
REQUEST_TIME
1593680648
empty
0. Whoops\Handler\PrettyPageHandler