Title: PHP 7.0 compatibility issue
Last modified: November 24, 2017

---

# PHP 7.0 compatibility issue

 *  Resolved [JimGasperini](https://wordpress.org/support/users/jimgasperini/)
 * (@jimgasperini)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-0-compatibility-issue/)
 * One host SiteGround wants us to upgrade to php 7.0. Running a test with their
   tool SG Optimizer, Events Manager Pro is flagged with an error. The error is 
   almost identical to one discussed 7 months ago in this thread:
 * [https://wordpress.org/support/topic/php-7-events-rev-5-6-6-1/](https://wordpress.org/support/topic/php-7-events-rev-5-6-6-1/)
 * However our issue is with Pro Version 2.5.1
 * Error report pasted below. Please advise.
    –Jim
 * FILE: /home/uucb8916/public_html/wp-content/plugins/events-manager-pro/add-ons/
   emails.php
 * ————————————————————————————————————————
 * FOUND 1 ERROR AFFECTING 1 LINE
 * ————————————————————————————————————————
 *  55 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and
   cannot be invoked as a function (T_CLONE)

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-0-compatibility-issue/#post-9717525)
 * I see what you mean, I’m going to let the devs know about this.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-7-0-compatibility-issue/#post-9962803)
 * Sorry for the delayed reply. Our latest plugin versions are compatible with PHP
   7 and passed the compatibility checker at the time of publication.
 * It may be that the checker has been improved on and is highlighting more errors,
   but in many cases these will be warnings and advisories rather than show-stoppers.
   The plugin does work with PHP 7
 * We’re aware of some issues with PHP 7.2+ and the use of a now-deprecated function
   called create_function() and those will get fixed in the next update, but any
   version prior to 7.2 should be fine.

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

The topic ‘PHP 7.0 compatibility issue’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [PHP 7.0](https://wordpress.org/support/topic-tag/php-7-0/)

 * 2 replies
 * 3 participants
 * Last reply from: [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php-7-0-compatibility-issue/#post-9962803)
 * Status: resolved