- This topic has 4 replies, 3 voices, and was last updated 7 years, 5 months ago by
Tom.
-
AuthorPosts
-
July 25, 2015 at 4:45 pm #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
July 25, 2015 at 5:07 pm #123609Tom
Lead DeveloperLead DeveloperHi 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 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 16, 2015 at 5:30 am #144833José LuÃs Araújo
themes/generatepress/inc/template-tags.php on line 197
please help me
October 16, 2015 at 5:35 am #144834José 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>’;
}October 16, 2015 at 9:49 am #144887Tom
Lead DeveloperLead DeveloperHi there,
Are you getting any specific errors? Have you altered the file at all?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.