Title: UpdraftPlus NOT compatible with PHP 7.0.
Last modified: August 26, 2017

---

# UpdraftPlus NOT compatible with PHP 7.0.

 *  Resolved [bjrnet21](https://wordpress.org/support/users/bjrnet21/)
 * (@bjrnet21)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/updraftplus-not-compatible-with-php-7-0/)
 * Just upgraded my WordPress site to PHP 7.1.
 * SG Optimizer plugin informs me that…
 * “The following plugins/themes are not compatible with PHP 7.0.
    UpdraftPlus –
   Backup/Restore”
 * ?????
 * Do I have a problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fupdraftplus-not-compatible-with-php-7-0%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [DNutbourne](https://wordpress.org/support/users/dnutbourne/)
 * (@dnutbourne)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/updraftplus-not-compatible-with-php-7-0/#post-9446981)
 * Hi,
 * Are you on the latest version of UpdraftPlus?
 * UpdraftPlus is tested on a range of PHP versions, including PHP7.
    Does SG Optimizer
   give any further details as to why UpdraftPlus is flagged?
 *  Thread Starter [bjrnet21](https://wordpress.org/support/users/bjrnet21/)
 * (@bjrnet21)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/updraftplus-not-compatible-with-php-7-0/#post-9447115)
 * Yes, I have the latest version of UpdraftPlus 1.13.5.
    When I upgraded from PHP
   5.6 to PHP 7.0 initially, I got a lot of errors on the back-end (ie., admin screens,
   etc). Then, I upgraded to PHP 7.1 and everything seemed to work fine. Then, I
   noticed SG Optimizer showing errors for UpdraftPlus. Here they are. I haven’t
   attempted to use UpdraftPlus since upgrading to PHP 7.1.
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php
    ———————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————————–
   200 | ERROR | Global with variable variables is not allowed since PHP 7.0 ———————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.
   php
    ———————————————————————————————————————————————————————— FOUND 1 ERROR AFFECTING
   1 LINE ———————————————————————————————————————————————————————— 3 | ERROR | ‘
   resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name
   a class, interface or trait or as part of a namespace (T_NAMESPACE) ————————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php
    ——————————————————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————-
   3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————-
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php
    ——————————————————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————-
   3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————-
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.
   php
    ———————————————————————————————————————————————————————— FOUND 1 ERROR AFFECTING
   1 LINE ———————————————————————————————————————————————————————— 3 | ERROR | ‘
   resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name
   a class, interface or trait or as part of a namespace (T_NAMESPACE) ————————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.
   php
    ————————————————————————————————————————————————————————— FOUND 1 ERROR 
   AFFECTING 1 LINE ————————————————————————————————————————————————————————— 3 
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)—————————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php
   ———————————————————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————————————————-
   3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)———————————————————————————————————————————————————————-
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.
   php
    —————————————————————————————————————————————————————————- FOUND 1 ERROR
   AFFECTING 1 LINE —————————————————————————————————————————————————————————- 3
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)—————————————————————————————————————————————————————————-
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.
   php
    —————————————————————————————————————————————————————————- FOUND 1 ERROR
   AFFECTING 1 LINE —————————————————————————————————————————————————————————- 3
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)—————————————————————————————————————————————————————————-
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorInterface.php
   ———————————————————————————————————————————————————————
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————————————————
   3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)———————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/PersistentResource.
   php
    ————————————————————————————————————————————————————————– FOUND 1 ERROR 
   AFFECTING 1 LINE ————————————————————————————————————————————————————————– 18
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)————————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/ReadOnlyResource.
   php
    ———————————————————————————————————————————————————————— FOUND 1 ERROR AFFECTING
   1 LINE ———————————————————————————————————————————————————————— 18 | ERROR | ‘
   resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name
   a class, interface or trait or as part of a namespace (T_NAMESPACE) ————————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/NovaResource.php
   ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/BaseResource.php
   ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/Token.php
    ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/Tenant.php
    ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/User.php
    ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/Role.php
    ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/DataObject.
   php
    ———————————————————————————————————————————————————————– FOUND 1 ERROR AFFECTING
   1 LINE ———————————————————————————————————————————————————————– 18 | ERROR | ‘
   resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name
   a class, interface or trait or as part of a namespace (T_NAMESPACE) ———————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/ContainerMetadata.
   php
    —————————————————————————————————————————————————————————— FOUND 1 ERROR
   AFFECTING 1 LINE —————————————————————————————————————————————————————————— 18
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/AbstractContainer.
   php
    —————————————————————————————————————————————————————————— FOUND 1 ERROR
   AFFECTING 1 LINE —————————————————————————————————————————————————————————— 18
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————————
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/CDNContainer.
   php
    ————————————————————————————————————————————————————————- FOUND 1 ERROR 
   AFFECTING 1 LINE ————————————————————————————————————————————————————————- 18
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)————————————————————————————————————————————————————————-
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/AbstractResource.
   php
    —————————————————————————————————————————————————————————– FOUND 1 ERROR
   AFFECTING 1 LINE —————————————————————————————————————————————————————————– 18
   | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be
   used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)—————————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/Account.php
   ——————————————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————————————————–
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)——————————————————————————————————————————————————————–
 * FILE: /home/xxxxxxx/public_html/blackjackreview.com/wp/wp-content/plugins/updraftplus/
   vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/Container.php
   ———————————————————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————————————————-
   18 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot
   be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/updraftplus-not-compatible-with-php-7-0/#post-9449089)
 * Hi,
 * UpdraftPlus has been compatible with PHP 7.0 since 2015. That report is telling
   you what code *exists*, not what code gets run on a particular version. UD is
   compatible with PHP 5.2 – 7.0, and so includes various pieces of code which may
   or may not actually get run on different versions.
 * David
    -  This reply was modified 8 years, 8 months ago by [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/).

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

The topic ‘UpdraftPlus NOT compatible with PHP 7.0.’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/updraftplus-not-compatible-with-php-7-0/#post-9449089)
 * Status: resolved