Can't use function return value in write context

Theme support is offered to verified customers by forum only. Support requests and solutions made by email, Skype, Envato or any other method will be redirected back to the forum.

This topic is: not resolved
  • In Progress
    Posted in: Fundingpress  

  • Member
    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?



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

Comments are closed.