Whoops \ Exception \ ErrorException (E_NOTICE)
Undefined property: stdClass::$full_picture Whoops\Exception\ErrorException thrown with message "Undefined property: stdClass::$full_picture" Stacktrace: #4 Whoops\Exception\ErrorException in /var/www/nlgrit-adekidero/wordpress/current/content/themes/gritoptiek/template-facebook.php:69 #3 Whoops\Run:handleError in /var/www/nlgrit-adekidero/wordpress/current/content/themes/gritoptiek/template-facebook.php:69 #2 include in /var/www/nlgrit-adekidero/wordpress/current/wp/wp-includes/template-loader.php:77 #1 require_once in /var/www/nlgrit-adekidero/wordpress/current/wp/wp-blog-header.php:19 #0 require in /var/www/nlgrit-adekidero/wordpress/current/index.php:4
Stack frames (5)
4
Whoops
\
Exception
\
ErrorException
/
content
/
themes
/
gritoptiek
/
template-facebook.php
69
3
Whoops
\
Run
handleError
/
content
/
themes
/
gritoptiek
/
template-facebook.php
69
2
include
/
wp
/
wp-includes
/
template-loader.php
77
1
require_once
/
wp
/
wp-blog-header.php
19
0
require
/
index.php
4
/
var
/
www
/
nlgrit-adekidero
/
wordpress
/
current
/
content
/
themes
/
gritoptiek
/
template-facebook.php
        // echo '<pre>';
        // print_r($post);
        // echo '</pre>';
 
    if (!empty($post->message) && $i <= 10) { ?>
        <article class="news-item">
            <div class="container">
                <div class="column facebook">
                    <div class="logo"></div>
 
 
                        <p class="post-content">
                            <i><?php echo date('j F Y', strtotime($post->created_time)) ?></i>
                            <?php echo char_limit($post->message); ?>
                        </p>
 
                    <p>View on <a target="_blank" href="<?php echo $post->link ?>">Facebook</a> | <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $post->link ?>" target="_blank">share</a></p>
 
                </div>
                <div class="column image" style="background-image: url('<?php echo $post->full_picture ?>')">
 
                </div>
            </div>
        </article>
 
    <?php } $i++; }  ?>
</section>
 
<?php
get_footer();
 
/
var
/
www
/
nlgrit-adekidero
/
wordpress
/
current
/
content
/
themes
/
gritoptiek
/
template-facebook.php
        // echo '<pre>';
        // print_r($post);
        // echo '</pre>';
 
    if (!empty($post->message) && $i <= 10) { ?>
        <article class="news-item">
            <div class="container">
                <div class="column facebook">
                    <div class="logo"></div>
 
 
                        <p class="post-content">
                            <i><?php echo date('j F Y', strtotime($post->created_time)) ?></i>
                            <?php echo char_limit($post->message); ?>
                        </p>
 
                    <p>View on <a target="_blank" href="<?php echo $post->link ?>">Facebook</a> | <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $post->link ?>" target="_blank">share</a></p>
 
                </div>
                <div class="column image" style="background-image: url('<?php echo $post->full_picture ?>')">
 
                </div>
            </div>
        </article>
 
    <?php } $i++; }  ?>
</section>
 
<?php
get_footer();
 
/
var
/
www
/
nlgrit-adekidero
/
wordpress
/
current
/
wp
/
wp-includes
/
template-loader.php
	elseif ( is_single() && $template = get_single_template() ) :
	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;
 
/
var
/
www
/
nlgrit-adekidero
/
wordpress
/
current
/
wp
/
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' );
 
}
 
/
var
/
www
/
nlgrit-adekidero
/
wordpress
/
current
/
index.php
<?php
define('WP_USE_THEMES', true);
 
require('./wp/wp-blog-header.php');
 

Environment & details:

Key Value
version 5.1
WP Array ( [public_query_vars] => Array ( [0] => m [1] => p [2] => posts [3] => w [4] => cat [5] => withcomments [6] => withoutcomments [7] => s [8] => search [9] => exact [10] => sentence [11] => calendar [12] => page [13] => paged [14] => more [15] => tb [16] => pb [17] => author [18] => order [19] => orderby [20] => year [21] => monthnum [22] => day [23] => hour [24] => minute [25] => second [26] => name [27] => category_name [28] => tag [29] => feed [30] => author_name [31] => static [32] => pagename [33] => page_id [34] => error [35] => attachment [36] => attachment_id [37] => subpost [38] => subpost_id [39] => preview [40] => robots [41] => taxonomy [42] => term [43] => cpage [44] => post_type [45] => embed [46] => post_format [47] => gritoptiek_faq [48] => gritoptiek_brand [49] => brand_category [50] => sitemap [51] => sitemap_n [52] => xsl [53] => rest_route ) [private_query_vars] => Array ( [0] => offset [1] => posts_per_page [2] => posts_per_archive_page [3] => showposts [4] => nopaging [5] => post_type [6] => post_status [7] => category__in [8] => category__not_in [9] => category__and [10] => tag__in [11] => tag__not_in [12] => tag__and [13] => tag_slug__in [14] => tag_slug__and [15] => tag_id [16] => post_mime_type [17] => perm [18] => comments_per_page [19] => post__in [20] => post__not_in [21] => post_parent [22] => post_parent__in [23] => post_parent__not_in [24] => title [25] => fields ) )
WP_Query Array ( [current_post] => -1 [current_comment] => -1 )
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx/1.13.6
REQUEST_URI /facebook/
WARPDRIVE_SYSTEM_NAME nlgrit-adekidero
WARPDRIVE_ACCESS_TOKEN a9dc43bb0e135a57f00987006a1dec8c
WARPDRIVE_API https://api.savvii.services
TMPDIR /var/www/nlgrit-adekidero/tmp
USER nlgrit-adekidero
HOME /var/www/nlgrit-adekidero
HTTP_X_VARNISH 330663203
HTTP_ACCEPT_ENCODING gzip
HTTP_X_FORWARDED_FOR 35.173.48.224, 188.226.169.244, 188.226.169.244
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_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
HTTP_X_REMOTE_IP 35.173.48.224
HTTP_X_REAL_IP 35.173.48.224
HTTP_HOST gritoptiek.nl
HTTP_SCHEME https
HTTPS on
SCRIPT_FILENAME /var/www/nlgrit-adekidero/wordpress/current/index.php
REDIRECT_STATUS 200
SERVER_NAME gritoptiek.nl
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
REMOTE_PORT
REMOTE_ADDR 35.173.48.224
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/nlgrit-adekidero/wordpress/current
DOCUMENT_URI /index.php
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1566350824.0952
REQUEST_TIME 1566350824
empty
0. Whoops\Handler\PrettyPageHandler