• Resolved jenskn

    (@jenskn)


    Hi there,

    recendly i get this strange error:
    Parse error: syntax error, unexpected ‘[‘ in /wp/wp-content/plugins/the-holiday-calendar/helpers/http-get-helper.class.php on line 45

    Any chance you can help me out here ?

    greetings

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mva7

    (@mva7)

    Hi jenskn,

    This is because you use an older version of PHP. We fixed the problem in version 1.15.7.2.

    Sorry for the malfunction!

    Regards,

    Mva7

    Thread Starter jenskn

    (@jenskn)

    Hey,

    thanks for the fix. After applying the latest update the following warning pops up:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /wp/wp-content/plugins/the-holiday-calendar/helpers/http-get-helper.class.php on line 30

    Sorry for the trouble.

    Plugin Author mva7

    (@mva7)

    New update comes in a moment, you can also replace it with this line:

    return str_replace(array(‘+’, ‘-‘), ”, filter_var($output[‘thc-month’], FILTER_SANITIZE_NUMBER_INT));

    Regards,

    Mva7

    Plugin Author mva7

    (@mva7)

    Hi jenskn,

    Fixed in 1.15.7.3.

    Sorry again and thanks for reporting!

    Regards,

    Mva7

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse error: syntax error, unexpected ‘[’ is closed to new replies.