• Resolved propletenec

    (@propletenec)


    Hello,

    I have problem during the plugin installation.

    Parse error: syntax error, unexpected ‘string’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in …/wp-content/plugins/wc-donation-platform/wc-donation-platform.php on line 43

    WP 5.9.3
    Woocommerce 6.4.1
    Donation Platform 1.2.4
    PHP 7.3.31-1

    Any idea? Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonas

    (@flinnn)

    Hi, thank you for your message and please excuse the problem. I took a closer look and was able to identify the problem: you are using php version 7.3, where typed properties are not supported yet. However, Donation Platform for WooCommerce requires a php version >= 7.4. Please excuse that this was incorrectly displayed on the plugin page until just now, I have just fixed that.
    I strongly recommend you to upgrade to a newer version of php. The support for php 7.3 has already expired in December 2021. Accordingly, there will be no more security updates, which makes your site more vulnerable.

    Thread Starter propletenec

    (@propletenec)

    I thought it was problem. I upgrade PHP definitely. Thanks for your quick support.

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