• Resolved fredvdp

    (@fredvdp)


    First of all, thanks for this plugin.

    When I try to activate the plugin on one of my sites, I get the following error:

    Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /html/wp-content/plugins/headers-security-advanced-hsts-wp/headers-security-advanced-hsts-wp.php on line 79

    What does this mean? I have successfully activated the plugin on 2 other websites. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrea Ferro

    (@unicorn03)

    Hi @fredvdp , thanks for using Headers Security Advanced & HSTS WP.

    We are verifying the issue to reproduce it in current systems we may launch an update with more fixes within the next few days.

    For the moment we have released 4.7.20 with more improvements and optimizations.

    We are at your disposal if you encounter any problems

    Plugin Author Andrea Ferro

    (@unicorn03)

    Hi @fredvdp, we have run some tests but we can not reproduce the error we ask you to share a log and some information that may allow us to investigate and verify the issue you are experiencing.

    To offer you the best support we will leave the ticket open for 48 hours.

    Hein

    (@heinku)

    Having the same issue here with Version 4.7.20:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting ‘-‘ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/xxxx/domains/xxxx/public_html/wp-content/plugins/headers-security-advanced-hsts-wp/headers-security-advanced-hsts-wp.php on line 79

    Thread Starter fredvdp

    (@fredvdp)

    Hi, Andrea. Sorry for the late reply. I did not receive an e-mail notification for your replies, but I did get one for Hein’s reply. :p

    I have since added my security headers manually, so I no longer need help with this.

    Plugin Author Andrea Ferro

    (@unicorn03)

    Hello @heinku , thank you for choosing Headers Security Advanced & HSTS WP.

    We have released a new version 4.7.30 which should resolve the issues you have experienced. Thank you for your feedback and don’t hesitate to write to us if you experience any issues.

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error on plugin activation’ is closed to new replies.