• Resolved vtx826

    (@vtx826)


    Hello

    After updating to 1.7.0 our WP admin panel ceased to work
    Due to Fatal Error
    Can’t use function return value in write context in wp-content/plugins/perfect-woocommerce-brands/classes/shortcodes/class-pwb-az-listing.php on line 52
    PHP Version 5.4.45

    This is the line of code that caused an error
    if( !empty( self::has_products( $brand->term_id ) ) ):

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi vtx826.

    This “bug” affects PHP versions < 5.5, i will fix it as soon as posible, but i recommend you update your php version, PHP 5.4 is completly obsolete. PHP 7.1 is the recommended current version.

    ??

    Thread Starter vtx826

    (@vtx826)

    Hi titodevera.

    Thanks for quick reply.

    Unfortunately, updating PHP version is not an option here as some software on hosting requires 5.4 version of PHP(.

    We’ve downgraded plugin to previous version and now everything is fine.

    Plugin Contributor titodevera

    (@titodevera)

    Hi vtx826.

    The new PWB version will include this fix, it will be available very soon.

    ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem after updating to version 1.7.0’ is closed to new replies.