Repository Forums Support WooCommerce Extended Coupon Features PRO Fatal Error under PHP8

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17914
    bluedogranch
    Participant

    PHP Fatal error: Unparenthesizeda ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /home/public_html/wp-content/plugins/woocommerce-auto-added-coupons-pro/includes/WJECF_Controller.php on line 94

    This appears to fix it:

    $this->log( 'debug', "INIT " . (( is_ajax() ? "AJAX" : is_admin()) ? "ADMIN" : "FRONTEND" ) . " " . $_SERVER['REQUEST_URI'] );

    Can you test and update the plugin?

    #17915
    Soft79
    Keymaster

    What version of the plugin are you using? This line does not occur in the latest version.

    #17916
    bluedogranch
    Participant

    Thanks, using 2.6.2. What’s the latest?

    #17917
    bluedogranch
    Participant

    Sorry, my mistake, the version we have is way out of date; we’ll get a new license.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.