Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Ultimate › Fatal error: Can't use function return value in write context in line 20
- This topic has 5 replies, 1 voice, and was last updated 8 years, 2 months ago by
Shhiv Narayan.
- AuthorPosts
- May 18, 2017 at 7:13 pm #10026
Dee Dee Edwards
GuestFatal 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 🙂
- May 18, 2017 at 7:16 pm #10027
Dee Dee Edwards
GuestThis 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’ ) : ”;
- May 18, 2017 at 7:51 pm #10028
Shhiv Narayan
GuestHi 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 - May 18, 2017 at 8:14 pm #10029
Shhiv Kumar
GuestHi Dee,
Can you please share your site PHP version with us ?
Thanks
- May 18, 2017 at 10:54 pm #10031
Dee Dee Edwards
GuestThat fixed it for me 🙂 thank you 🙂
site is on PHP version 4.3.8
- May 19, 2017 at 8:35 am #10032
Shhiv Narayan
GuestHi 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
- AuthorPosts
- The topic ‘Fatal error: Can't use function return value in write context in line 20’ is closed to new replies.