Title: PHP 7 Errors
Last modified: December 19, 2016

---

# PHP 7 Errors

 *  Resolved [Jasonian](https://wordpress.org/support/users/jasonian/)
 * (@jasonian)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-errors/)
 * In ns-cloner.php, there are two php 7 errors.
 * Please update line 976 from:
    `global $$section_classname;` to `global ${$section_classname};`
 * Also update line 996 from:
    `global $$section_classname;` to `global ${$section_classname};`

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

 *  Thread Starter [Jasonian](https://wordpress.org/support/users/jasonian/)
 * (@jasonian)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-errors/#post-8572659)
 * Scratch that, it breaks the plugin. 🙁
 * Still, though, this needs to be php7 compliant!
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-errors/#post-8575707)
 * Absolutely! We had made an update for this months ago, but never pushed it! (
   ugh! That’s on us). We were waiting for more beta feedback that never came in,
   but we should have had it up a long time ago. Sorry about that. Still not a lot
   of people on PHP 7 yet 🙂 Let us know if you see issues. Thanks for reporting
   this.
 *  Thread Starter [Jasonian](https://wordpress.org/support/users/jasonian/)
 * (@jasonian)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-errors/#post-8619661)
 * Well, I now get 500 server errors. A new site is created with the correct subdomain
   url, but nothing is cloned.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-errors/#post-8619970)
 * Server 500 errors are frequently caused by a directory/file permissions issue.
   Have you tried making sure that the wp-content directory (and ALL subdirectories)
   are set to 755 ?

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

The topic ‘PHP 7 Errors’ is closed to new replies.

 * ![](https://ps.w.org/ns-cloner-site-copier/assets/icon-256x256.gif?rev=2323308)
 * [NS Cloner - Site Copier](https://wordpress.org/plugins/ns-cloner-site-copier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ns-cloner-site-copier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ns-cloner-site-copier/)
 * [Active Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ns-cloner-site-copier/reviews/)

## Tags

 * [ns-cloner](https://wordpress.org/support/topic-tag/ns-cloner/)
 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 4 replies
 * 2 participants
 * Last reply from: [Never Settle](https://wordpress.org/support/users/neversettle/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-errors/#post-8619970)
 * Status: resolved