Support » Plugin: Events Manager » PHP 7.0 compatibility issue

  • Resolved JimGasperini

    (@jimgasperini)


    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/

    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

    (@angelo_nwl)

    I see what you mean, I’m going to let the devs know about this.

    Plugin Author Marcus

    (@netweblogic)

    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)
  • You must be logged in to reply to this topic.