Can't use function return value in write context

  • In Progress
    Posted in: Fundingpress  
  • Member
    calvama
    June 12, 2018 at 3:34 pm #112658

    I got this error:
    PHP Fatal error: Can’t use function return value in write context in wp-content/themes/fundingpress/funding/tpl/f-fund-project.php on line 122

    which refers to this line:

    ?php if(of_get_option(‘po_gateways’) == ‘1’ && !empty(get_user_meta(get_the_author_meta( ‘ID’ ), ‘paypal_email’, true))){ ?>

    I am not an expert in php, but guys out there solve this by changing this line to:

    ?php if(of_get_option(‘po_gateways’) == ‘1’ && !get_user_meta(get_the_author_meta( ‘ID’ ), ‘paypal_email’, true)){ ?>

    Is this fine for you? Are you gonna update it?

    Best,

    Tino

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

Comments are closed.