Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #741937

    Parse error: syntax error, unexpected ‘<‘ in /wp-content/themes/enfold/functions.php on line 567

    I don’t know what the problem is. I cannot find any ‘<‘ on line 567. could someone please help.

    This is line 565 – 571

    foreach ( $pung as $link_test ) {
    if ( ! in_array( $link_test, $post_links_temp ) ) { // link no longer in post
    $mids = $wpdb->get_col( $wpdb->prepare(“SELECT meta_id FROM $wpdb->postmeta WHERE post_id = %d AND meta_key = ‘enclosure’ AND meta_value LIKE %s”, $post_ID, $wpdb->esc_like( $link_test ) . ‘%’) );
    foreach ( $mids as $mid )
    delete_metadata_by_mid( ‘post’, $mid );
    }
    }

    • This topic was modified 7 years, 9 months ago by nbicorp.
    #741942

    Hey!

    Which file is throwing the error? Can you please post the content of the file here using – pastebin.com?

    Best regards,
    Yigit

    #741944

    it is the functions.php file.

    http://pastebin.com/VasUpsiy

    • This reply was modified 7 years, 9 months ago by nbicorp.
    #741953

    The error that pops up is
    Parse error: syntax error, unexpected ‘<‘ in /wp-content/themes/enfold/functions.php on line 567

    I can’t access the site anymore!

    #741954

    Hey!

    This seems to be the functions.php file inside wp-includes folder. Please undo the changes you made on that file and only edit wp-content/themes/enfold/functions.php file

    Best regards,
    Yigit

    #741956

    That fixed the problem! Thanks! That was an oversight on my part!

    #741960

    Hi!

    Happens to the best of us :) Glad it is working fine now!

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Parse error: syntax error, unexpected '’ is closed to new replies.