• Resolved webgirish

    (@webgirish)


    I have facing an issue with \include\class-epofw-front.php. It shows me error “Parse error: syntax error, unexpected ‘)’ in /wp-content/plugins/extra-product-options-for-woocommerce/includes/class-epofw-front.php”.

    I have fixed it and want you to implement it in original plugin so next time when I update the plugin, it will work fine for me.
    First:

    wp_enqueue_style(
    'select2-css',
    EPOFW_PLUGIN_URL . 'assets/css/select2.min.css',
    array(),
    'all',
    );

    Solution: (PLEASE REMOVE COMMA , AFTER ‘all’)

    wp_enqueue_script(
    'iris',
    admin_url( 'js/iris.min.js' ),
    array(
    'jquery-ui-draggable',
    'jquery-ui-slider',
    'jquery-touch-punch',
    'wp-i18n',
    ),
    'all',
    false,
    );

    Solution: (PLEASE REMOVE COMMA , AFTER ‘false’)

    wp_enqueue_script(
    'wp-color-picker',
    admin_url( 'js/color-picker.min.js' ),
    array( 'iris' ),
    'all',
    false,
    );

    Solution: (PLEASE REMOVE COMMA , AFTER ‘false’)

    After these fixes, plugin and site is working fine. So please if you dont saw any issue with these fixes, please impelemnt these in original plugins.

    Thanks!

    Girish

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue in plugin’ is closed to new replies.