Warning message with new theme activation

This topic contains 4 replies, has 2 voices, and was last updated by  Nicolas Wuergler 4 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #489775

    Nicolas Wuergler
    Expired Member
    Post count: 7

    Hi Everyone,

    When I use GeoDirectory with the “Directory Starter” theme all works fine. When I activate my own theme all GeoDirectcory pages (e.g. GD location page) give me the following two error messages while all my other pages work fine:

    Warning: include(/public_html/mypage/wp-content/plugins/geodirectory/templates/ ): failed to open stream: No such file or directory in /public_html/mypage/wp-includes/template-loader.php on line 78

    Warning: include(): Failed opening ‘/public_html/mypage/wp-content/plugins/geodirectory/templates/ ‘ for inclusion (include_path=’.:/usr/local/php71/pear’) in /public_html/mypage/wp-includes/template-loader.php on line 78

    What am I missing? What do I need to add/change?

    Thanks!

    #489789

    Alex Rollin
    Moderator
    Post count: 27815

    Hi!

    Sorry to hear about that issue, let’s see if we can figure out a solution.

    If GD was working fine, then, it could be a theme compatibility issue, which we would be happy to look into.

    Please share some access info with us in a private reply so we can check it out.

    WordPress Administrator Account Credentials
    WP Admin Login URL:
    Username:
    Password:

    SFTP / FTP Credentials
    Host URL:
    Port:
    Username:
    Password: “

    #489797

    Nicolas Wuergler
    Expired Member
    Post count: 7

    Thanks Alex,

    Well, I currently can’t set up a read only http://ftp... maybe you can quickly look at the below. The error concerns this section in template-loader.php of wp. Any ideas before I try setting up the ftp?:

    * 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;

    #489869

    Alex Rollin
    Moderator
    Post count: 27815

    If they are warnings, only, are the pages working?

    #489885

    Nicolas Wuergler
    Expired Member
    Post count: 7

    When I removed the error messages I got a blank page. So I figured it has something to do with a blank template in my theme. I manually set the page under GD – Design – Archive to a specific template and it works.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket