• Resolved vjnath

    (@vjnath)


    Hi I was trying to clone my production website into staging and got the below error.

    Failed to reset cache for the instance #8: Parse error: syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE) in wp-content/plugins/wp-countup-js/includes/class-wp-cujs-options.php on line 30
    Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.

    My production is up and running.

    How to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Roel Magdaleno

    (@rokumetal)

    Hello @vjnath, thanks for using my plugin.

    Looks like that error is due to your PHP version, any idea what’s your current PHP version?

    If that’s below 7.1.1 version, then that’s the problem.

    Hope that helps. Thanks.

    Thread Starter vjnath

    (@vjnath)

    Hi @rokumetal My PHP version is 7.3. Please advise

    Plugin Author Roel Magdaleno

    (@rokumetal)

    @vjnath That’s weird. Any good behavior so far or the issue persist? I might be able to fix that tomorrow (I have an idea of what’s going on).

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error while cloning’ is closed to new replies.