error when activating the plugin

Activating the plugin gives me this error:
Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /home2/tuereslomas/public_html/wp-content/plugins/affiliates-pro/lib/core/dashboard/class-affiliates-dashboard.php on line 52

how can I solve that?


Comments

2 responses to “error when activating the plugin”

  1. Hi Luis,

    What is the PHP version currently in use by your hosting server? Minimum requirement for Affiliates plugins is version 5.6 but I would recommend you to use version 7.x. If that info is not available on your hosting control panel, please also contact your hosting provider and ask for an update if necessary.

    Kind regards,
    George

  2. Hi Luis,

    Thanks for mentioning.

    Would it be possible for you to send me a copy of your debug.log file where the issue appears? You may send it to george@itthinx.com and I will have a look as soon as possible.

    Kind regards,
    George

Share