Whoops \ Exception \ ErrorException (E_WARNING)
number_format() expects parameter 1 to be float, string given Whoops\Exception\ErrorException thrown with message "number_format() expects parameter 1 to be float, string given" Stacktrace: #8 Whoops\Exception\ErrorException in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php:52 #7 number_format in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php:52 #6 require in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template.php:724 #5 load_template in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template.php:671 #4 locate_template in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/general-template.php:168 #3 get_template_part in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/page.php:142 #2 include in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template-loader.php:79 #1 require_once in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-blog-header.php:19 #0 require in /var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/index.php:18
Stack frames (9)
8
Whoops\Exception\ErrorException
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php52
7
number_format
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php52
6
require
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template.php724
5
load_template
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template.php671
4
locate_template
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/general-template.php168
3
get_template_part
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/page.php142
2
include
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template-loader.php79
1
require_once
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-blog-header.php19
0
require
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/index.php18
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php
    <div class="prices-tab_wrapper prices">
        <div class="prices-mobile-promo">
            <span class="promo-inner-1">Актуальные акции!</span>
            <span class="promo-inner-2">Предложения действительны <span>до <i></i></span></span>
        </div>
        <div class="prices-tab_title">
            Услуги
            <span id="actionTitle">
                    <?= $common_title ?>
                </span>
            <span class="titleBr"> сегодня со скидкой</span>
        </div>
        <div class="prices-outer">
            <?php foreach ($data as $value) { ?>
            <div id="static_chaser<?php echo $count_chaser_static; ?>" class="prices-tab">
                <div id="static_chaser-count<?php echo $count_chaser_static; ?>" class="count" data-timer="10"></div>
                <div class="prices-oldnew_wrapper">
                    <?php if ($value->offer) { ?>
                        <div class="prices-sum-offer-content">от
                            <span class="prices-sum-offer"><?php echo number_format($value->offerPrice, 0, '.', ' '); ?></span>
                            <i class="fa fa-rub" aria-hidden="true"></i></div>
                        <div class="prices-offer-old-price">
                            от <?php echo number_format($value->sum, 0, '.', ' '); ?> р.
                        </div>
                    <?php } else { ?>
                        <div class="prices-sum-content">
                            от
                            <span class="prices-sum"><?php echo number_format($value->sum, 0, '.', ' '); ?></span>
                            <i class="fa fa-rub" aria-hidden="true"></i>
                        </div>
                    <?php } ?>
                </div>
                <div class="prices-title"><?php echo $value->title; ?></div>
                <div class="prices-clickmore">Читать подробнее</div>
                <div class="prices-offer-banner_wrapper">
                <?php if ($value->offerBanner) { ?>
                    <?php if (!$value->offerTitle) { ?>
                        <div class="prices-offer-banner-title">Только у нас</div>
                    <?php } else { ?>
                        <div class="prices-offer-banner-title">
Arguments
  1. "number_format() expects parameter 1 to be float, string given"
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php
    <div class="prices-tab_wrapper prices">
        <div class="prices-mobile-promo">
            <span class="promo-inner-1">Актуальные акции!</span>
            <span class="promo-inner-2">Предложения действительны <span>до <i></i></span></span>
        </div>
        <div class="prices-tab_title">
            Услуги
            <span id="actionTitle">
                    <?= $common_title ?>
                </span>
            <span class="titleBr"> сегодня со скидкой</span>
        </div>
        <div class="prices-outer">
            <?php foreach ($data as $value) { ?>
            <div id="static_chaser<?php echo $count_chaser_static; ?>" class="prices-tab">
                <div id="static_chaser-count<?php echo $count_chaser_static; ?>" class="count" data-timer="10"></div>
                <div class="prices-oldnew_wrapper">
                    <?php if ($value->offer) { ?>
                        <div class="prices-sum-offer-content">от
                            <span class="prices-sum-offer"><?php echo number_format($value->offerPrice, 0, '.', ' '); ?></span>
                            <i class="fa fa-rub" aria-hidden="true"></i></div>
                        <div class="prices-offer-old-price">
                            от <?php echo number_format($value->sum, 0, '.', ' '); ?> р.
                        </div>
                    <?php } else { ?>
                        <div class="prices-sum-content">
                            от
                            <span class="prices-sum"><?php echo number_format($value->sum, 0, '.', ' '); ?></span>
                            <i class="fa fa-rub" aria-hidden="true"></i>
                        </div>
                    <?php } ?>
                </div>
                <div class="prices-title"><?php echo $value->title; ?></div>
                <div class="prices-clickmore">Читать подробнее</div>
                <div class="prices-offer-banner_wrapper">
                <?php if ($value->offerBanner) { ?>
                    <?php if (!$value->offerTitle) { ?>
                        <div class="prices-offer-banner-title">Только у нас</div>
                    <?php } else { ?>
                        <div class="prices-offer-banner-title">
Arguments
  1. ""
    
  2. 0
    
  3. "."
    
  4. " "
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template.php
        /*
         * 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. "/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php"
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/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 bool       $wp_did_header
 * @global WP_Query   $wp_query
 * @global WP_Rewrite $wp_rewrite
 * @global wpdb       $wpdb
Arguments
  1. "/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/includes/content-prices.php"
    
  2. false
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/general-template.php
    $templates = array();
    $name      = (string) $name;
    if ( '' !== $name ) {
        $templates[] = "{$slug}-{$name}.php";
    }
 
    $templates[] = "{$slug}.php";
 
    /**
     * Fires before a template part is loaded.
     *
     * @since 5.2.0
     *
     * @param string   $slug      The slug name for the generic template.
     * @param string   $name      The name of the specialized template.
     * @param string[] $templates Array of template files to search for, in order.
     */
    do_action( 'get_template_part', $slug, $name, $templates );
 
    locate_template( $templates, true, false );
}
 
/**
 * Display search form.
 *
 * Will first attempt to locate the searchform.php file in either the child or
 * the parent, then load it. If it doesn't exist, then the default search form
 * will be displayed. The default search form is HTML, which will be displayed.
 * There is a filter applied to the search form HTML in order to edit or replace
 * it. The filter is {@see 'get_search_form'}.
 *
 * This function is primarily used by themes which want to hardcode the search
 * form into the sidebar and also by the search widget in WordPress.
 *
 * There is also an action that is called whenever the function is run called,
 * {@see 'pre_get_search_form'}. This can be useful for outputting JavaScript that the
 * search relies on or various formatting that applies to the beginning of the
 * search. To give a few examples of what it can be used for.
 *
 * @since 2.7.0
Arguments
  1. array:2 [
      0 => "includes/content-prices.php"
      1 => "includes/content.php"
    ]
    
  2. true
    
  3. false
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/page.php
get_template_part('includes/likbez16');
        break;
    case 18:
get_template_part('includes/likbez');
        break;
    case 19:
get_template_part('includes/likbez19');
        break;
    case 20:
get_template_part('includes/likbez20');
        break;
    case 21:
get_template_part('includes/likbez21');
        break;
}
endif; ?>
<?php // get_template_part('includes/likbez'); ?>
<?php  get_template_part('includes/video'); ?>
 
<?php if ($id != 12115) get_template_part('includes/content', 'prices'); ?>
 
<?php if( get_field('page-category') && $id != 12115):
$ff = get_field('page-category');
switch ($ff) {
    case 0:
        break;
    case 1:
get_template_part('includes/servprices1');
        break;
    case 2:
get_template_part('includes/servprices2');
        break;
    case 3:
get_template_part('includes/servprices3');
        break;
    case 4:
get_template_part('includes/servprices4');
        break;
    case 5:
get_template_part('includes/servprices5');
Arguments
  1. "includes/content"
    
  2. "prices"
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template-loader.php
    elseif ( is_page() && $template = get_page_template() ) :
    elseif ( is_singular() && $template = get_singular_template() ) :
    elseif ( is_category() && $template = get_category_template() ) :
    elseif ( is_tag() && $template = get_tag_template() ) :
    elseif ( is_author() && $template = get_author_template() ) :
    elseif ( is_date() && $template = get_date_template() ) :
    elseif ( is_archive() && $template = get_archive_template() ) :
    else :
        $template = get_index_template(); 
    endif;
    
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    if ( $template = apply_filters( 'template_include', $template ) ) { 
        include( $template );
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
endif;
 
Arguments
  1. "/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-content/themes/zem-pr/page.php"
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/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( dirname( __FILE__ ) . '/wp-load.php' );
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once( ABSPATH . WPINC . '/template-loader.php' );
 
}
 
Arguments
  1. "/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-includes/template-loader.php"
    
/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/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( dirname( __FILE__ ) . '/wp-blog-header.php' );
 
Arguments
  1. "/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
REQUEST_URI
"/ispravlenie-kadastrovogo-pasporta-pomoshch-yurista"
PHP_INI_SCAN_DIR
"/var/www/www-root/data/php-bin-isp-php72/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai:"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPRC
"/var/www/www-root/data/php-bin-isp-php72"
PWD
"/var/www/php-bin-isp-php72/www-root/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai"
CONTENT_LENGTH
"0"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/ispravlenie-kadastrovogo-pasporta-pomoshch-yurista"
REMOTE_PORT
"40910"
SCRIPT_FILENAME
"/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/index.php"
SERVER_ADMIN
"webmaster@xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai"
CONTEXT_DOCUMENT_ROOT
"/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/var/www/www-root/data/www/xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai"
REMOTE_ADDR
"3.236.112.101"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai Port 80</address>\n"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Thu, 20 Jun 2024 12:02:17 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
"1728882272.3978"
REQUEST_TIME
"1728882272"
empty
0. Whoops\Handler\PrettyPageHandler