Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same problem. It’s caused me some heartache.

    Wordpress site states in requirements PHP 5.6 or greater so not supporting PHP 7 is a serious issue.

    It works fine with PHP 5.6.

    I have PHP XML installed and it still fails like this:

    [Sat Oct 08 17:14:20.132351 2016] [:error] [pid 11294] [client 172.31.1.122:3871] PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /home/ubuntu/theweedblog/public/wp-content/plugins/wp-ses/ses.class.0.8.6.php:635\nStack trace:\n#0 /home/ubuntu/theweedblog/public/wp-content/plugins/wp-se$

    Plugin Contributor Sylvain Deaure

    (@sylvaindeaure)

    Hi,

    Two Things here :
    – Full PHP7 compatibility will come
    @theider, your error shows that your php7 doesn’t come with simplexml support.

    That’s a known problem, see
    https://wpml.org/fr/errata/php-7-possible-issues-simplexml/
    and
    https://stackoverflow.com/questions/35593521/php-7-simplexml

    Did you install php7 by yourself? if so, updating PHP from the right repository as stated in the SO answers will hopefully solve your issue.

    I reinstalled my servers on 5.5.9 and everything is working.

    I don’t have a need for v7 at this point really so I’ll wait a little while before trying it again.

    Thanks for your response!

    Thread Starter okamos

    (@okamos)

    Hi.

    @sylvaindeaure

    > Full PHP7 compatibility will come

    Thanks a lot :=)
    I look forward to your update.

    Hi Sylvain,

    First of all, thanks for such a fantastic plugin. Secondly, any update on when PHP7 compatibility might come? I get several warnings, which aren’t critical, but there’s two errors regarding ereg().

    Results of my PHP 7 Compatibility Scan:

    FILE: /wp-content/plugins/wp-ses/ses.class.0.8.4.php
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     370 | WARNING | Method name "SimpleEmailService::__triggerError" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     563 | WARNING | Method name "SimpleEmailServiceRequest::__responseWriteCallback" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     577 | WARNING | Method name "SimpleEmailServiceRequest::__customUrlEncode" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     588 | WARNING | Method name "SimpleEmailServiceRequest::__getSignature" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/wp-ses/ses.class.0.8.6.php
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     484 | WARNING | Method name "SimpleEmailService::__triggerError" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     663 | WARNING | Method name "SimpleEmailServiceRequest::__responseWriteCallback" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     677 | WARNING | Method name "SimpleEmailServiceRequest::__customUrlEncode" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     688 | WARNING | Method name "SimpleEmailServiceRequest::__getSignature" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/wp-ses/lib.inc.php
    -----------------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------
     9 | ERROR | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
     9 | ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
    -----------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/wp-ses/ses.class.php
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     350 | WARNING | Method name "SimpleEmailService::__triggerError" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     532 | WARNING | Method name "SimpleEmailServiceRequest::__responseWriteCallback" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     546 | WARNING | Method name "SimpleEmailServiceRequest::__customUrlEncode" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     557 | WARNING | Method name "SimpleEmailServiceRequest::__getSignature" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Plugin Contributor Sylvain Deaure

    (@sylvaindeaure)

    Please try the updated version, and keep me posted ??

    Dave Clements

    (@thewanderingbrit)

    Hi Sylvain,

    I actually made the switch to PHP 7 last week after a colleague of mine checked the plugin and confirmed that the function containing the deprecated ereg() function was not called anywhere in the plugin. I can confirm that my transition to PHP 7 has been successful, including WP SES.

    Thanks so much!

    Plugin Contributor Sylvain Deaure

    (@sylvaindeaure)

    Great, thanks for the feedback !

    Thread Starter okamos

    (@okamos)

    Thanks a lot!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Do you have plan that php7.0 support?’ is closed to new replies.