[Resolved] Cannot connect.

Home Forums Support Cannot connect.

  • This topic has 4 replies, 3 voices, and was last updated 5 years ago by Tom.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #123608
    Genie Bohn

    This is quite strange. I have several sites running with GP and it’s premiums. One sight, listed below consistently struggles to connect regularly.

    I am on my own server and my hosts are scratching their heads, but keep coming back to this log error message. Hoping you can see what is happening. All the other sites (same nameservers) work fine.

    root@perioddrama [/home/lookback/public_html]# tail -f /usr/local/apache/logs/error_log
    [Sat Jul 25 17:30:46 2015] [error] [client 182.73.165.90] PHP Fatal error: Can’t use function return value in write context in /home/lookback/public_html/wp-content/themes/generatepress/inc/template-tags.php on line 479
    [Sat Jul 25 17:33:48 2015] [error] [client 182.73.165.90] PHP Fatal error: Can’t use function return value in write context in /home/lookback/public_html/wp-content/themes/generatepress/inc/template-tags.php on line 479

    Look Bact at Me

    #123609
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Very sorry this.

    Can you try the instructions in this topic?: http://generatepress.com/forums/topic/important-do-not-upgrade-to-1-3-05/

    Let me know if you need more assistance 🙂

    #144833
    José Luís Araújo

    themes/generatepress/inc/template-tags.php on line 197

    please help me

    #144834
    José Luís Araújo

    $time_string = sprintf( $time_string,
    esc_attr( get_the_date( ‘c’ ) ),
    esc_html( get_the_date() ),
    esc_attr( get_the_modified_date( ‘c’ ) ),
    esc_html( get_the_modified_date() )
    );

    printf( __( ‘<span class=”posted-on”>%1$s</span> <span class=”byline”>%2$s</span>’, ‘generate’ ),
    sprintf( ‘%3$s‘,
    esc_url( get_permalink() ),
    esc_attr( get_the_time() ),
    $time_string
    ),

    }
    endif;

    if ( ! function_exists( ‘generate_excerpt_more’ ) ) :
    /**
    * Prints the read more HTML to post excerpts
    */
    add_filter( ‘excerpt_more’, ‘generate_excerpt_more’ );
    function generate_excerpt_more( $more ) {
    return ‘ … ‘ . __(‘Ver mais’, ‘generate’) . ‘‘;
    }
    endif;

    if ( ! function_exists( ‘generate_content_more’ ) ) :
    /**
    * Prints the read more HTML to post content using the more tag
    */
    add_filter( ‘the_content_more_link’, ‘generate_content_more’ );
    function generate_content_more( $more ) {
    $more_jump = apply_filters( ‘generate_more_jump’,’#more-‘ . get_the_ID() );
    return ‘<p>‘ . __(‘Read more’, ‘generate’) . ‘</p>’;
    }

    #144887
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are you getting any specific errors? Have you altered the file at all?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.