Whoops! There was an error.
Error
Call to undefined function the_posts() Error thrown with message "Call to undefined function the_posts()" Stacktrace: #3 Error in /home/monkeysu/public_html/wp-content/themes/monkeys-uncle/index.php:14 #2 include in /home/monkeysu/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/monkeysu/public_html/wp-blog-header.php:19 #0 require in /home/monkeysu/public_html/index.php:17
Stack frames (4)
3
Error
/
home
/
monkeysu
/
public_html
/
wp-content
/
themes
/
monkeys-uncle
/
index.php
14
2
include
/
home
/
monkeysu
/
public_html
/
wp-includes
/
template-loader.php
106
1
require_once
/
home
/
monkeysu
/
public_html
/
wp-blog-header.php
19
0
require
/
home
/
monkeysu
/
public_html
/
index.php
17
<?php
/**
 * Index
 */
 
get_header(); ?>
 
<section class="row">
 
    <div class="small-12 columns text-center">
 
        <div class="leader">
 
            <?php if ( have_posts() ) : while ( have_posts() ) : the_posts(); ?>
 
                <h1><?php the_title(); ?></h1>
 
                <p><?php the_content(); ?></p>
 
            <?php endwhile; else : ?>
 
                <p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
 
            <?php endif ?>
 
        </div><!-- end leader -->
 
    </div><!-- small-12 columns text-center -->
 
</section><!-- row -->
 
<?php get_sidebar(); ?>
 
<?php get_footer(); ?>
            }
 
            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';
 
}
 
<?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 Apache
REQUEST_URI /cms/component/k2/item/34-shop-projects-long-overdue-update
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_HOST www.monkeysuncle.net
HTTP_REFERER https://www.monkeysuncle.net/cms/index.php/component/k2/item/34-shop-projects-long-overdue-update
HTTP_USER_AGENT claudebot
HTTP_X_HTTPS 1
REDIRECT_UNIQUE_ID ZgZS_0l7k5bsKqejqusSQQAAAI8
REDIRECT_SCRIPT_URL /cms/component/k2/item/34-shop-projects-long-overdue-update
REDIRECT_SCRIPT_URI https://www.monkeysuncle.net/cms/component/k2/item/34-shop-projects-long-overdue-update
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www.monkeysuncle.net
REDIRECT_STATUS 200
UNIQUE_ID ZgZS_0l7k5bsKqejqusSQQAAAI8
SCRIPT_URL /cms/component/k2/item/34-shop-projects-long-overdue-update
SCRIPT_URI https://www.monkeysuncle.net/cms/component/k2/item/34-shop-projects-long-overdue-update
HTTPS on
SSL_TLS_SNI www.monkeysuncle.net
SERVER_SIGNATURE
SERVER_NAME www.monkeysuncle.net
SERVER_ADDR 216.71.118.44
SERVER_PORT 443
REMOTE_ADDR 44.208.25.215
DOCUMENT_ROOT /home/monkeysu/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/monkeysu/public_html
SERVER_ADMIN webmaster@monkeysuncle.net
SCRIPT_FILENAME /home/monkeysu/public_html/index.php
REMOTE_PORT 37212
REDIRECT_URL /cms/component/k2/item/34-shop-projects-long-overdue-update
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711690495.4992
REQUEST_TIME 1711690495
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
0. Whoops\Handler\PrettyPageHandler