• Resolved lorier25

    (@lorier25)


    When I try to activate the plugin, I get the following fatal error:

    Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in /home/cronus/public_html/motio.shop/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/class-woo-invoice-orders.php on line 586

    I’ve tried removing and re-adding the plugin via both the plugin admin page and FTP, which didn’t help. All other plugins are up to date, as is WP core. We are running PHP 7.4.33

Viewing 1 replies (of 1 total)
  • Plugin Support Ahmed Imran

    (@ahmedimran)

    Hi @lorier25 ,

    Thanks for reporting the issue.

    The error you’re seeing —

    Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE)
    

    — occurs because the current plugin version uses PHP 8+ syntax, while your site is running PHP 7.4.33.

    Please update the Challan plugin to the latest version, which includes compatibility improvements and fixes. After updating, try activating it again.

    If the issue persists even after updating, please let us know we’ll check it further for you.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error’ is closed to new replies.