Fatal error: Can't use function return value in write context in line 20

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Fatal error: Can't use function return value in write context in line 20

Viewing 5 reply threads
  • Author
    Posts
    • #10026
      Dee Dee Edwards
      Guest

      Fatal error: Can’t use function return value in write context in /home/blueriverprintin/public_html/major/wp-content/plugins/wc-frontend-manager/views/wcfm-view-menu.php on line 20

      This is the full error message I am receiving when I am trying to access the Product Manager portion of my website.

      I updated the actual WooCommerce plugin today to 3.0.7 – but did not see any updates for either WCFM or WCFM Ultimate.

      Thank you in advance for any help you can give me 🙂

    • #10027
      Dee Dee Edwards
      Guest

      This is what is actually written on line 20 of the file in question:

      $logo = ! empty( get_option( ‘wcfm_site_logo’ ) ) ? get_option( ‘wcfm_site_logo’ ) : ”;

    • #10028
      Shhiv Narayan
      Guest

      Hi Dee,

      Thanks for such details. This is due to PHP version.
      We have already fixed it. Fixed code:

      $logo = ( get_option( ‘wcfm_site_logo’ ) ) ? get_option( ‘wcfm_site_logo’ ) : ”;

      We are going to update our plugin within 1-2 days, please bare with us.

      Thank You
      Shhiv

    • #10029
      Shhiv Kumar
      Guest

      Hi Dee,

      Can you please share your site PHP version with us ?

      Thanks

    • #10031
      Dee Dee Edwards
      Guest

      That fixed it for me 🙂 thank you 🙂

      site is on PHP version 4.3.8

    • #10032
      Shhiv Narayan
      Guest

      Hi Dee,

      Thanks for get in touch with us.

      Happy to know that your issue has been fixed.

      Just for suggestion, it will be good for your site to update PHP version to atleast 5.6 as WC 3.0 requires that.

      If you have any further query or issue please feel free to contact us anytime.

      Thank You
      Shhiv

Viewing 5 reply threads
  • The topic ‘Fatal error: Can't use function return value in write context in line 20’ is closed to new replies.