Whoops \ Exception \ ErrorException (E_RECOVERABLE_ERROR)
Object of class WP_Error could not be converted to string Whoops\Exception\ErrorException thrown with message "Object of class WP_Error could not be converted to string" Stacktrace: #4 Whoops\Exception\ErrorException in /home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-content/themes/g5-hydrogen-child/page-painting.php:160 #3 Gantry\Component\Whoops\SystemFacade:handleError in /home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-content/themes/g5-hydrogen-child/page-painting.php:160 #2 include in /home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-blog-header.php:19 #0 require in /home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-content/themes/g5-hydrogen-child/page-painting.php160
3
Gantry\Component\Whoops\SystemFacade handleError
/home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-content/themes/g5-hydrogen-child/page-painting.php160
2
include
/home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-includes/template-loader.php106
1
require_once
/home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/wp-blog-header.php19
0
require
/home/arnoldgal/domains/kunstgalerie-arnold.nl/public_html/index.php17
                                <a href="<?php echo get_permalink( '94' )?>" class="button"><?php echo __($text_contact_btn)?></a>
                            <?php endif; ?>
                        </p>
                    </div>
                </div>        
            </div>
            <div class="g-grid">
                <div class="g-content">
                    <div class="g-block size-100">
                        
                        <?php //if( !empty($img_price) ):?>
                        <b><?php //echo __('Price', 'artist-g5-theme')?></b>
                        <span><?php //echo !empty($img_price) ? $img_price.'&euro;' : __('No Price') ?> </span>
                        <?php //endif;?>
 
                        <h3><?php echo __($lable_desc, 'artist-g5-theme')?></h3>
                        <span><?php echo $img_description;?></span>
                        <br>
                        <h3><?php echo __($lable_artist, 'artist-g5-theme')?></h3>
                        <span><?php echo '<a href="'. $artist_link .'">' . $artist_name .  sprintf( __( $in_collection_text, 'artist-g5-theme' ), $total_images ) .'</a>';?></span>
                        <br>
                        <h3><?php echo __($lable_category, 'artist-g5-theme')?></h3>
                        <span><?php echo '<a href="'. $cat_link .'">' . $cat_name . '</a>'; ?></span>
                        <br> 
                        <h3><?php echo __($lable_object, 'artist-g5-theme')?></h3>
                        <span><?php echo '<a href="'. $object_link .'">' . $object_name . '</a>'; ?></span>   
                    </div>    
                </div>
            </div>
        </div>
<?php
get_footer();
?>
                                <a href="<?php echo get_permalink( '94' )?>" class="button"><?php echo __($text_contact_btn)?></a>
                            <?php endif; ?>
                        </p>
                    </div>
                </div>        
            </div>
            <div class="g-grid">
                <div class="g-content">
                    <div class="g-block size-100">
                        
                        <?php //if( !empty($img_price) ):?>
                        <b><?php //echo __('Price', 'artist-g5-theme')?></b>
                        <span><?php //echo !empty($img_price) ? $img_price.'&euro;' : __('No Price') ?> </span>
                        <?php //endif;?>
 
                        <h3><?php echo __($lable_desc, 'artist-g5-theme')?></h3>
                        <span><?php echo $img_description;?></span>
                        <br>
                        <h3><?php echo __($lable_artist, 'artist-g5-theme')?></h3>
                        <span><?php echo '<a href="'. $artist_link .'">' . $artist_name .  sprintf( __( $in_collection_text, 'artist-g5-theme' ), $total_images ) .'</a>';?></span>
                        <br>
                        <h3><?php echo __($lable_category, 'artist-g5-theme')?></h3>
                        <span><?php echo '<a href="'. $cat_link .'">' . $cat_name . '</a>'; ?></span>
                        <br> 
                        <h3><?php echo __($lable_object, 'artist-g5-theme')?></h3>
                        <span><?php echo '<a href="'. $object_link .'">' . $object_name . '</a>'; ?></span>   
                    </div>    
                </div>
            </div>
        </div>
<?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/2
REQUEST_URI /painting/949/
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_HOST www.kunstgalerie-arnold.nl
HTTP_USER_AGENT claudebot
REDIRECT_UNIQUE_ID ZfkNeCQtavu_fSeBi7Br0AAAAwU
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www.kunstgalerie-arnold.nl
REDIRECT_HTTP2 on
REDIRECT_H2PUSH off
REDIRECT_H2_PUSH off
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_STREAM_TAG 132349-601-3
REDIRECT_STATUS 200
UNIQUE_ID ZfkNeCQtavu_fSeBi7Br0AAAAwU
HTTPS on
SSL_TLS_SNI www.kunstgalerie-arnold.nl
HTTP2 on
H2PUSH off
H2_PUSH off
H2_PUSHED
H2_PUSHED_ON
H2_STREAM_ID 3
H2_STREAM_TAG 132349-601-3
SERVER_SIGNATURE
SERVER_NAME www.kunstgalerie-arnold.nl
SERVER_ADDR 5.79.64.132
SERVER_PORT 443
REMOTE_ADDR 3.230.128.106
DOCUMENT_ROOT /home/arnoldgal/domains/kunstgalerie-arnold.nl/private_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/arnoldgal/domains/kunstgalerie-arnold.nl/private_html
SERVER_ADMIN webmaster@kunstgalerie-arnold.nl
SCRIPT_FILENAME /home/arnoldgal/domains/kunstgalerie-arnold.nl/private_html/index.php
REMOTE_PORT 47174
REDIRECT_URL /painting/949/
SERVER_PROTOCOL HTTP/2.0
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710820728.9687
REQUEST_TIME 1710820728
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
0. Whoops\Handler\PrettyPageHandler