• Installed ok on a fresh install of WP 4.* with WooCommerce

    Getting error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/devsite/public_html/WooTest/wp-content/plugins/woo-order-export-lite/woo-order-export-lite.php on line 40 .

    Tried uninstalling and then reinstalling & getting same error.
    Any ideas?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter davedrake

    (@davedrake)

    This is for woo-order-export-lite.zip

    Plugin Author algol.plus

    (@algolplus)

    could you check php version? less than 5.3?

    Thread Starter davedrake

    (@davedrake)

    It’s returning:

    Current PHP version: 5.2.17

    Thread Starter davedrake

    (@davedrake)

    Are there any adjustments I can make to get it running on 5.2.17?

    Plugin Author algol.plus

    (@algolplus)

    You can disable Pro version, so this code won’t be used.

    Or you switch PHP to later versions. 5.6? or 7?

    Thread Starter davedrake

    (@davedrake)

    I can’t upgrade PHP so how do I disable Pro before it’s activated? Or was I supposed to download different plugin?

    Plugin Author algol.plus

    (@algolplus)

    hi

    Could you check >Plugins>Installed?

    Will you see “Advanced Orders Export For WooCommerce” twice?

    thanks, Alex

    Thread Starter davedrake

    (@davedrake)

    No it is only installed once and I can’t activate.

    Plugin Author algol.plus

    (@algolplus)

    hi Dave

    Could you try install this version https://www.dropbox.com/s/a7x9lgygq8x7yp7/woo-order-export-lite.zip?dl=0

    thanks, Alex

    Thread Starter davedrake

    (@davedrake)

    Hi Alex,

    Thanks for the new file. Getting a similar error:

    Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/devsite/public_html/WooTest/wp-content/plugins/woo-order-export-lite/classes/class-wc-order-export-admin.php on line 636

    Maybe you can answer our questions.

    What we’re trying to test with this: We’d like to be able to export a list of sales – say from the last 14 days and group products by attribute. So for example, we’d like to see that we sold 20 shirts (whose sizes are listed as an attribute in WooCommerce) – 5 smalls, 10 mediums, 2 larges and 3 XL.

    We’d also like to pull a different report (as a CSV or something for a mail merge) that would allow us to print shipping labels (in Word or whatever) for all orders in a given time (last 5 days or whatever).

    Can we do those two things with this plugin?

    Plugin Author algol.plus

    (@algolplus)

    hi

    Why can’t you upgrade php?
    5.2 is really old version.
    I can’t promise to fix this issue quickly.
    as there are a lot of other features to develop.

    if each variation uses own sku – you can adapt code “Summary by Products” at this page.

    yes, Pro supports multiple profiles and scheduled reports too.

    thanks, Alex

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can’t activate – getting syntax error’ is closed to new replies.