Title: Error while cloning
Last modified: June 2, 2022

---

# Error while cloning

 *  Resolved [vjnath](https://wordpress.org/support/users/vjnath/)
 * (@vjnath)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-while-cloning/)
 * 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](https://wordpress.org/support/users/rokumetal/)
 * (@rokumetal)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-while-cloning/#post-15703526)
 * Hello [@vjnath](https://wordpress.org/support/users/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](https://wordpress.org/support/users/vjnath/)
 * (@vjnath)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-while-cloning/#post-15704938)
 * Hi [@rokumetal](https://wordpress.org/support/users/rokumetal/) My PHP version
   is 7.3. Please advise
 *  Plugin Author [Roel Magdaleno](https://wordpress.org/support/users/rokumetal/)
 * (@rokumetal)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-while-cloning/#post-15727410)
 * [@vjnath](https://wordpress.org/support/users/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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-countup-js_fafafa.svg)
 * [WP CountUP JS](https://wordpress.org/plugins/wp-countup-js/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-countup-js/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-countup-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-countup-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-countup-js/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Roel Magdaleno](https://wordpress.org/support/users/rokumetal/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/error-while-cloning/#post-15727410)
 * Status: resolved