Title: Parse error: syntax error, unexpected &#8216;clone&#8217; (T_CLONE)
Last modified: December 7, 2018

---

# Parse error: syntax error, unexpected ‘clone’ (T_CLONE)

 *  Resolved [Steve](https://wordpress.org/support/users/thewebsmiths/)
 * (@thewebsmiths)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/)
 * Hi,
    We’re getting the error below when we attempt to log into admin or access
   any admin pages. _Parse error: syntax error, unexpected ‘clone’ (T\_CLONE) in/
   homepages/XXXXX/XXXXX/XXXXX/wp-content/plugins/multipay/settings.php on line 
   157_
 * I got in by renaming the plugin folder but when I reactivate it the issue returns.
   
   I removed the plugin and reinstalled but get the same issue with following message
   in admin: _Plugin could not be activated because it triggered a fatal error. 
   Parse error: syntax error, unexpected ‘clone’ (T\_CLONE) in /homepages/XXXXX/
   XXXXX/XXXXX/wp-content/plugins/multipay/settings.php on line 157
 * WordPress 5 – although the issue was first spotted in 4.9.8 prior to the upgrade.
 * Any ideas?
    Thanks in advance. Steve
    -  This topic was modified 7 years, 6 months ago by [Steve](https://wordpress.org/support/users/thewebsmiths/).

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

 *  Plugin Author [etalented](https://wordpress.org/support/users/etalented/)
 * (@etalented)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011590)
 * Steve- thanks for letting me know about this issue.
 * Can you please confirm the version number of the plugin & the version of PHP 
   you have?
 *  Thread Starter [Steve](https://wordpress.org/support/users/thewebsmiths/)
 * (@thewebsmiths)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011608)
 * Hi etalented,
 * WordPress version 5.0.2
    MultiPay version 1.4.1 PHP version 5.6.39
 * Thank you
 *  Plugin Author [etalented](https://wordpress.org/support/users/etalented/)
 * (@etalented)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011652)
 * Thanks for the info- Ill look into the issue for you
 *  Thread Starter [Steve](https://wordpress.org/support/users/thewebsmiths/)
 * (@thewebsmiths)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011836)
 * …ugraded PHP to 7.2 issue still the same.
 * Disabled, ‘Popup with fancybox’ plugin then was able to activate MultiPay.
 * Now reactivated ‘Popup with fancybox’ and all fine.
 * Thank you
 *  Plugin Author [etalented](https://wordpress.org/support/users/etalented/)
 * (@etalented)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011911)
 * Im happy to know that MultiPay is now working for you. However, you did identify
   an underlying issue that we have now fixed in version 1.4.2 so please do update!
   
   Happy selling 🙂
 *  Thread Starter [Steve](https://wordpress.org/support/users/thewebsmiths/)
 * (@thewebsmiths)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011963)
 * Magic, updated now.
 * Thanks you

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

The topic ‘Parse error: syntax error, unexpected ‘clone’ (T_CLONE)’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multipay_bd9468.svg)
 * [MultiPay](https://wordpress.org/plugins/multipay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multipay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multipay/)
 * [Active Topics](https://wordpress.org/support/plugin/multipay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multipay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multipay/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/thewebsmiths/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-clone-t_clone/#post-11011963)
 * Status: resolved