V4 Fatal error: Header.php

  • In Progress
    Posted in: Fundingpress  
  • Member
    UR1211
    September 21, 2016 at 4:28 am #86549

    Having same issue in installing v4. Unfortunately this is a brand new install on fresh WP. Also tried your previous link and saved permalink and setting new user to contributor: http://support.skywarriorthemes.com/forums/topic/important-new-update-fundingpress-4-0/

    Right after uploading theme and activating, site shows this error:

    Fatal error: Can’t use function return value in write context in /home/USERXXX/public_html/wp-content/themes/fundingpress/header.php on line 165

    and line 165 in header says:

    <?php if(empty(get_the_author_meta(‘last_name’, get_post_field( ‘post_author’,$post->ID ))) && empty(get_the_author_meta(‘first_name’, get_post_field( ‘post_author’,$post->ID )))){
    echo esc_attr(get_the_author_meta(‘login’,get_post_field( ‘post_author’,$post->ID )));
    } ?>

    What needs to be modified?
    If I delete the line altogether then site show, but not sure what functions I removed.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.