• Resolved pbchambers26

    (@pbchambers26)


    When I activate this plugin I get a warning

    Constants may only evaluate to scalar values in /home/nccofc/public_html/wp-content/plugins/force-refresh/filter-force-refresh.php on line 30

    and I can’t see the plugin in the Tools Menu.

    Am I doing something wrong?

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

    (@jordanleven)

    pbchambers26,

    It sounds like you’re using a version of PHP prior to 5.6. Can you send along the version you’re using?

    Plugin Author jordanleven

    (@jordanleven)

    pbchambers26,

    I haven’t heard back from you, so I’m going to close out this request. If you want to reopen it, feel free to respond to this thread.

    I’m having this same error. I’m using PHP 7.3

    Thank you!

    PHP Warning: Constants may only evaluate to scalar values in /home/public_html/wp-content/plugins/force-refresh/filter-force-refresh.php on line 30

    Plugin Author jordanleven

    (@jordanleven)

    @jesusdlg, this is an error if you’re using a version of PHP prior to 5.6 (scarlet values for constants weren’t supported then). Please double check that you’re using PHP that is supported.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning when activating plugin’ is closed to new replies.