WordPress.org

Forums

[resolved] Parse Error in .php file of The Events Calendar Plugin (1 post)

  1. wellbein.borja
    Member
    Posted 9 months ago #

    Please help me solve this problem. I only have the basic knowledge about php and I don't know why it happened. The site displays only pure white. This is what says in the error log: "[25-Jul-2014 02:44:35] PHP Parse error: syntax error, unexpected T_STRING in /home2/shdacvco/public_html/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 3283" Please Help. Thank you so much! Here's the complete code from line 3281-3283 of the .php file:

    if ( !empty($_REQUEST['eventDate']) ) {
                $duration = get_post_meta( $postId, '_EventDuration', true );
                $start_time = isset( $_EventStartDate ) ? TribeDateUtils::timeOnly( $_EventStartDate ) : TribeDateUtils::timeOnly( tribe_get_start_date( $post->ID ) );

Reply

You must log in to post.

About this Topic

Tags