TypeError
array_column(): Argument #1 ($array) must be of type array, false given TypeError thrown with message "array_column(): Argument #1 ($array) must be of type array, false given" Stacktrace: #4 TypeError in /srv/htdocs/wp-content/themes/asap/cityTemplate.php:578 #3 array_column in /srv/htdocs/wp-content/themes/asap/cityTemplate.php:578 #2 include in /wordpress/core/6.9.4/wp-includes/template-loader.php:132 #1 require_once in /wordpress/core/6.9.4/wp-blog-header.php:19 #0 require in /wordpress/core/6.9.4/index.php:17
Stack frames (5)
4
TypeError
/wp-content/themes/asap/cityTemplate.php578
3
array_column
/wp-content/themes/asap/cityTemplate.php578
2
include
/wordpress/core/6.9.4/wp-includes/template-loader.php132
1
require_once
/wordpress/core/6.9.4/wp-blog-header.php19
0
require
/wordpress/core/6.9.4/index.php17
/srv/htdocs/wp-content/themes/asap/cityTemplate.php
        set_transient('portable_linked_cities', $rowsLC, 60 * 60 * 168);
 
        wp_die('Refresh Again');
    }
 
}else{
 
    function numberFormat($price){
        $price=str_replace(',','',$price);
        if(isset($price) && $price !=0){
            return intval($price);
        }else{
            return false;
        }
    }
    ///**************if city dumpster page**************///
    if($terms_service[0]->name == 'Dumpster'){
 
        $searchVar=$context['getCityName'].', '.$context['state_name'];
        $getIndexKeyFAQ = array_search($searchVar, array_column($faq_dumpster_min_max_price, '0'));
        $context['dumpsterCalculator']=$globalcontent['dumpster_calculator_redirect'];
        $dataCitySheet=array_column($dumpster_min_max_price, '0');
 
        $getIndexKey = array_search($searchVar, array_column($dumpster_min_max_price, '0'));
        //$getLinkedCityIndexKey = array_search($searchVar, array_column($dumpster_linked_cities, '0'));
 
        if(empty($getIndexKey)){
            $cityWithHyphen=str_replace(' ','-',$context['getCityName']);
            $searchVar=$cityWithHyphen.', '.$context['state_name'];
            $getIndexKey = array_search($searchVar, array_column($dumpster_min_max_price, '0'));
        }
        if(!empty($getIndexKey)){
            $arr_combine = array_combine($dumpster_min_max_price[0], $dumpster_min_max_price[$getIndexKey]);
            $dumpsterProductList=get_field('min_and_maximum_price','options');
            $context['dumpsterProductList']=$dumpsterProductList['products'];
            $context['cityPageSubHeading']=$dumpsterProductList['heading'];
            $context['cityPageTermShortDescription']=$dumpsterProductList['short_description_about_dumpster'];
 
            $dumpsterArraydata = array(
                'min0' => numberFormat($arr_combine['10YD Min Price']),
/srv/htdocs/wp-content/themes/asap/cityTemplate.php
        set_transient('portable_linked_cities', $rowsLC, 60 * 60 * 168);
 
        wp_die('Refresh Again');
    }
 
}else{
 
    function numberFormat($price){
        $price=str_replace(',','',$price);
        if(isset($price) && $price !=0){
            return intval($price);
        }else{
            return false;
        }
    }
    ///**************if city dumpster page**************///
    if($terms_service[0]->name == 'Dumpster'){
 
        $searchVar=$context['getCityName'].', '.$context['state_name'];
        $getIndexKeyFAQ = array_search($searchVar, array_column($faq_dumpster_min_max_price, '0'));
        $context['dumpsterCalculator']=$globalcontent['dumpster_calculator_redirect'];
        $dataCitySheet=array_column($dumpster_min_max_price, '0');
 
        $getIndexKey = array_search($searchVar, array_column($dumpster_min_max_price, '0'));
        //$getLinkedCityIndexKey = array_search($searchVar, array_column($dumpster_linked_cities, '0'));
 
        if(empty($getIndexKey)){
            $cityWithHyphen=str_replace(' ','-',$context['getCityName']);
            $searchVar=$cityWithHyphen.', '.$context['state_name'];
            $getIndexKey = array_search($searchVar, array_column($dumpster_min_max_price, '0'));
        }
        if(!empty($getIndexKey)){
            $arr_combine = array_combine($dumpster_min_max_price[0], $dumpster_min_max_price[$getIndexKey]);
            $dumpsterProductList=get_field('min_and_maximum_price','options');
            $context['dumpsterProductList']=$dumpsterProductList['products'];
            $context['cityPageSubHeading']=$dumpsterProductList['heading'];
            $context['cityPageTermShortDescription']=$dumpsterProductList['short_description_about_dumpster'];
 
            $dumpsterArraydata = array(
                'min0' => numberFormat($arr_combine['10YD Min Price']),
/wordpress/core/6.9.4/wp-includes/template-loader.php
     */
    $template   = apply_filters( 'template_include', $template );
    $is_stringy = is_string( $template ) || ( is_object( $template ) && method_exists( $template, '__toString' ) );
    $template   = $is_stringy ? realpath( (string) $template ) : null;
    if (
        is_string( $template ) &&
        ( str_ends_with( $template, '.php' ) || str_ends_with( $template, '.html' ) ) &&
        is_file( $template ) &&
        is_readable( $template )
    ) {
        /**
         * Fires immediately before including the template.
         *
         * @since 6.9.0
         *
         * @param string $template The path of the template about to be included.
         */
        do_action( 'wp_before_include_template', $template );
 
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
/wordpress/core/6.9.4/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';
 
}
 
/wordpress/core/6.9.4/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';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx
REQUEST_URI /locations/nh/grafton-county/hanover/roll-off-dumpster-rentals/
HTTP_X_VALID_CERTIFICATE 1
HTTP_REFERER https://ordering.asapmarketplace.com/?p=104826
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_HTTP2_FINGERPRINT 2:0;4:2097152;5:16384;6:16384|5177345|m,s,a,p
HTTP_X_JA4T_LITE_HASH 62727_2-4-8-1-3_7
HTTP_X_JA4T_HASH 62727_2-4-8-1-3_1460_7
HTTP_X_TCP_RTT_MIN 9.421
HTTP_X_TCP_RTT_AVG 9.863
HTTP_X_JA4_HASH t13d1011h2_61a7ad8aa9b6_3fcd1a44f3e3
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING br
HTTP_X_FORWARDED_HTTP2 h2
HTTP_X_FORWARDED_SERVER_PROTOCOL HTTP/2.0
HTTP_X_A8C_EDGE_DC mdw
HTTP_X_IP_PROXY_TYPE SES
HTTP_X_A8C_REQUEST_ID c663cc94ae5a9abbf734972a10d86391
HTTP_X_JA3_HASH 66529a959624d128bf5b69bfecd9e6b6
HTTP_X_SUPPORTLOGIN yes
HTTP_X_WPLOGIN yes
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_FOR 216.73.216.154
HTTP_HOST ordering.asapmarketplace.com
PRESSABLE_PROXIED_REQUEST 0
A8C_PROXIED_REQUEST 0
ATOMIC_SITE_OPCACHE_MEMORY_MB 0
SCRIPT_FILENAME /srv/htdocs/__wp__/index.php
DOCUMENT_ROOT /srv/htdocs
GATEWAY_INTERFACE CGI/1.1
GEOIP_COUNTRY_CODE US
SERVER_PROTOCOL HTTP/1.1
REDIRECT_URL /locations/nh/grafton-county/hanover/roll-off-dumpster-rentals/
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SERVER_ADDR 103.115.10.140
SERVER_NAME ordering.asapmarketplace.com
SERVER_PORT 443
REMOTE_PORT 48276
REMOTE_ADDR 216.73.216.154
DOCUMENT_URI /__wp__/index.php
SCRIPT_NAME /__wp__/index.php
FCGI_ROLE RESPONDER
PHP_SELF /__wp__/index.php
REQUEST_TIME_FLOAT 1776409229.7775
REQUEST_TIME 1776409229
WP_DIR /scripts/../srv/htdocs/__wp__/
HTTPS on
ENVIRONMENT production
SITE_URL https://ordering.asapmarketplace.com/
HOME_URL https://ordering.asapmarketplace.com/
GOOGLE_MAPS_API_KEY AIzaSyAP1B7bQjbEbQ6IcPeN3fm6QnXaHMGxSBc
Key Value
HTTP_X_VALID_CERTIFICATE 1
HTTP_REFERER https://ordering.asapmarketplace.com/?p=104826
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_HTTP2_FINGERPRINT 2:0;4:2097152;5:16384;6:16384|5177345|m,s,a,p
HTTP_X_JA4T_LITE_HASH 62727_2-4-8-1-3_7
HTTP_X_JA4T_HASH 62727_2-4-8-1-3_1460_7
HTTP_X_TCP_RTT_MIN 9.421
HTTP_X_TCP_RTT_AVG 9.863
HTTP_X_JA4_HASH t13d1011h2_61a7ad8aa9b6_3fcd1a44f3e3
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING br
HTTP_X_FORWARDED_HTTP2 h2
HTTP_X_FORWARDED_SERVER_PROTOCOL HTTP/2.0
HTTP_X_A8C_EDGE_DC mdw
HTTP_X_IP_PROXY_TYPE SES
HTTP_X_A8C_REQUEST_ID c663cc94ae5a9abbf734972a10d86391
HTTP_X_JA3_HASH 66529a959624d128bf5b69bfecd9e6b6
HTTP_X_SUPPORTLOGIN yes
HTTP_X_WPLOGIN yes
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_FOR 216.73.216.154
HTTP_HOST ordering.asapmarketplace.com
PRESSABLE_PROXIED_REQUEST 0
A8C_PROXIED_REQUEST 0
ATOMIC_SITE_OPCACHE_MEMORY_MB 0
SSL_ENABLED false
SCRIPT_FILENAME /srv/htdocs/__wp__/index.php
DOCUMENT_ROOT /srv/htdocs
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx
GEOIP_COUNTRY_CODE US
SERVER_PROTOCOL HTTP/1.1
REDIRECT_URL /locations/nh/grafton-county/hanover/roll-off-dumpster-rentals/
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SERVER_ADDR 103.115.10.140
SERVER_NAME ordering.asapmarketplace.com
SERVER_PORT 8089
REMOTE_PORT 48276
REMOTE_ADDR 192.0.98.192
DOCUMENT_URI /__wp__/index.php
REQUEST_URI /locations/nh/grafton-county/hanover/roll-off-dumpster-rentals/
SCRIPT_NAME /__wp__/index.php
FCGI_ROLE RESPONDER
PHP_SELF /__wp__/index.php
REQUEST_TIME_FLOAT 1776409229.7775
REQUEST_TIME 1776409229
ENVIRONMENT production
SITE_URL https://ordering.asapmarketplace.com/
HOME_URL https://ordering.asapmarketplace.com/
GOOGLE_MAPS_API_KEY AIzaSyAP1B7bQjbEbQ6IcPeN3fm6QnXaHMGxSBc
0. Whoops\Handler\PrettyPageHandler