Support » Plugin: Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy » PHP Fatal error: Can’t use function return value in write context in

  • Resolved liroychik

    (@liroychik)


    hello / sorry fo my english mans, i need help

    after install latest version of this plugin (2.7.5) for latest version wordpress (4.9.2) i have an error

    PHP Fatal error: Can’t use function return value in write context in /wp-content/plugins/dokan-lite/includes/wc-functions.php on line 407

    error 500 on opening all pages (admin pages too)

    if i delete plugin directory (dokan-lite) error has gone away
    what can i do ?
    help please

    • This topic was modified 4 years, 4 months ago by liroychik.
    • This topic was modified 4 years, 4 months ago by liroychik.
Viewing 6 replies - 1 through 6 (of 6 total)
  • hi @liroychik,

    Can you please check the PHP version of your server and tell us the version please?

    You can check it from your WooCommerce System menu in the Admin Dashboard.

    Thanks

    Thread Starter liroychik

    (@liroychik)

    #:/var/www/bay/wp-content/plugins# php -v
    PHP 5.4.45-0+deb7u11 (cli) (built: Aug 30 2017 01:07:33)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
        with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.4, Copyright (c) 2002-2017, by ionCube Ltd.
        with XCache v2.0.0, Copyright (c) 2005-2012, by mOo

    need 5.5 ?

    Plugin Support Nazmul Hassan

    (@nazmulhassann20)

    @liroychik, Please update your server PHP version to 5.6 or later. After updating PHP version everything will work fine 🙂

    Thread Starter liroychik

    (@liroychik)

    thanks man, i try it and reply

    Thread Starter liroychik

    (@liroychik)

    thanks mans, i update php (to 5.6) and mysql version on my linux and its working )

    SOLVED!

    • This reply was modified 4 years, 4 months ago by liroychik.
    • This reply was modified 4 years, 4 months ago by liroychik.

    It was a pleasure to help you. 🙂

    Let us know if you need further assistance.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal error: Can’t use function return value in write context in’ is closed to new replies.