<?php global $post; $current_post = $post; if ( $post->post_parent ) { $siblings = new WP_Query( array( 'post_type' => 'page', 'order' => 'ASC', 'post_parent' => $post->post_parent, 'post__not_in' => array( $post->ID ) ) ); } if ( $siblings->have_posts() ) : ?> <?php while ( $siblings->have_posts() ) : $siblings->the_post(); ?> <div class="cell small-12 medium-6"> <a href="<?php the_permalink()?>" class="card--product"> <div class="card__inner"> <span class="card__title"><?php the_title(); ?></span> </div> </a> </div>
"Call to a member function have_posts() on null"
} 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; }
<?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'; }
"/home/runcloud/webapps/app-erova-live/wp-includes/template-loader.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';
"/home/runcloud/webapps/app-erova-live/wp-blog-header.php"
Key | Value |
icwp-wpsf-notbot | "exp-1733245198"
|
user_agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
handl_ip | "18.191.10.119, 64.252.86.48"
|
handl_url | "https://sprylab.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fsprylab.com%2Fen%2Fhealth%2F"
|
HandLtestDomainNameServer | "HandLtestDomainValueServer"
|
handl_url_base | "https://sprylab.com/wp-json/oembed/1.0/embed"
|
handl_landing_page | "https://sprylab.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fsprylab.com%2Fen%2Fhealth%2F"
|
Key | Value |
SERVER_SOFTWARE | "Apache/2.4.62 (Unix) OpenSSL/1.1.1f"
|
REQUEST_URI | "/about-us/"
|
USER | "runcloud"
|
HOME | "/home/runcloud"
|
SCRIPT_NAME | "/index.php"
|
QUERY_STRING | "" |
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REDIRECT_URL | "/about-us/"
|
REMOTE_PORT | "41866"
|
SCRIPT_FILENAME | "/home/runcloud/webapps/app-erova-live/index.php"
|
SERVER_ADMIN | "you@example.com"
|
CONTEXT_DOCUMENT_ROOT | "/home/runcloud/webapps/app-erova-live/"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "http"
|
DOCUMENT_ROOT | "/home/runcloud/webapps/app-erova-live/"
|
REMOTE_ADDR | "18.191.10.119"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "127.0.0.1"
|
SERVER_NAME | "erovaenergy.com"
|
SERVER_SIGNATURE | "" |
LD_LIBRARY_PATH | "/RunCloud/Packages/apache2-rc/lib"
|
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|
HTTP_COOKIE | "icwp-wpsf-notbot=exp-1733245197; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_ip=18.191.10.119%2C%2064.252.86.48; handl_url=https%3A%2F%2Fsprylab.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fsprylab.com%252Fen%252Fhealth%252F; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_url_base=https%3A%2F%2Fsprylab.com%2Fwp-json%2Foembed%2F1.0%2Fembed; handl_landing_page=https%3A%2F%2Fsprylab.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fsprylab.com%252Fen%252Fhealth%252F"
|
HTTP_REFERER | "https://erovaenergy.com/about-us"
|
HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_ACCEPT | "*/*"
|
HTTP_CONNECTION | "close"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_X_FORWARDED_FOR | "18.191.10.119"
|
HTTP_X_SERVER_ADDR | "138.68.147.214"
|
HTTP_HOST | "erovaenergy.com"
|
HTTP_AUTHORIZATION | "" |
HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
REDIRECT_HTTP_AUTHORIZATION | "" |
REDIRECT_HTTPS | "on"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1733244598.0055
|
REQUEST_TIME | 1733244598
|