Multi Vendor Marketplace Plugin | WCFM Marketplace › 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 6 years, 10 months ago by Shhiv Narayan.
- AuthorPosts
- May 18, 2017 at 7:13 pm #10026Dee Dee EdwardsGuest
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 🙂
- May 18, 2017 at 7:16 pm #10027Dee Dee EdwardsGuest
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’ ) : ”;
- May 18, 2017 at 7:51 pm #10028Shhiv NarayanGuest
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 - May 18, 2017 at 8:14 pm #10029Shhiv KumarGuest
Hi Dee,
Can you please share your site PHP version with us ?
Thanks
- May 18, 2017 at 10:54 pm #10031Dee Dee EdwardsGuest
That fixed it for me 🙂 thank you 🙂
site is on PHP version 4.3.8
- May 19, 2017 at 8:35 am #10032Shhiv NarayanGuest
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
- AuthorPosts
- The topic ‘Fatal error: Can't use function return value in write context in line 20’ is closed to new replies.