Home Forums Plugins WooCommerce Coupon Box Get a fatal error when activate plugin

Get a fatal error when activate plugin

  • Author
  • #45554


    Hi there,

    I moved to a new host and re-installed a clean WP/Woocommerce. But when I try to activate WCB, I get an error message:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ‘class’ (T_CLASS) in …/wp-content/plugins/woocommerce-coupon-box/frontend/shortcode.php on line 1

    Also, can you check the translation of the modal box? I’ve installed a previous version ( for a test and I wasn’t able to translate the modal with WPML.

    Here is how I did:
    – I enabled the “Enable multi language” option in the WCB settings
    – I went to the frontpage and switched to the language I want to modify (FR) => clicked “Customize” in the toolbar => Selected WooCommerce Coupon Box, but there I could only change the main language (EN).


You must be logged in to see replies to this topic. Click here to login or register