• Resolved tonyzyc

    (@tonyzyc)


    After upgrading from PHP version 7.0 to 7.2 on my WordPress website, I received the error message below above the header on my website.

    Parse error: syntax error, unexpected ‘$query’ (T_VARIABLE) in /home/abc/public_html/wp-content/plugins/whp-hide-posts/classes/WHP_Post_Hide.php on line 48

    I can not activate this plugin

    How to fix it?

    • This topic was modified 5 years ago by tonyzyc.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MartinCV

    (@martin7ba)

    Hi tonyzyc,

    Sorry for late reply. I checked the code there on that line and there is no reason for that variable to be unexpected there.

    I will give it a test locally and see if the issue shows too.

    Best,
    Martin

    Hi, any updates on the compatibility with wordpress version5.7?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘do not work on PHP 7.2’ is closed to new replies.