Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tribulant Software

    (@contrid)

    @frank

    Thank you for your post and we will assist you with this problem.

    Can you please post the deprecated constructor error/warning here that you’re getting? And are you specifically getting it with PHP 7?

    I look forward to your response.

    Thread Starter Frank

    (@t-mug)

    Hi,

    you need to replace all old-style constructors from all your classes and replace them with __construct() to be PHP7 compatible.

    Hope this helps!

    Any progress on php7 compatibility?
    for changing the constructors, you can try using this regex
    class(\s(\w+)\s[\w\s\{]+(?s:(?!function\s\2|function\s__construct).)+function\s)\2([\s\(])

    class$1__construct$3

    I’m not a regex guru, but I successfully converted the whole plugin, I’d however check each replacement manually rather than running it all on auto

    Plugin Author Tribulant Software

    (@contrid)

    Thank you for your response.

    We have made this improvement in our latest development.
    To eliminate the deprecated constructors and to be PHP7 compatible.

    We will release an update soon with this included.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 7’ is closed to new replies.