• Resolved salsa23

    (@salsa23)


    I’m trying to pupdate my hosting php to 7. When checking, this plugin has an error. Will it continue to work under php 7 ?

    This is the error found in the plugin file.
    ————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————–
    99 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, how was this resolved? I just downloaded the last version what says:

    “Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; themePacific_jetpack_User_Agent_Info has a deprecated constructor in …/wp-content/plugins/tiled-gallery-carousel-without-jetpack/class.jetpack-user-agent.php on line 61”

    The latest version is still causing this PHP warning when checking for PHP7 compatibility. Will this be resolved?

    Resolved means it will work under php7?

    I have it running under PHP7 on my site – and haven’t seen any issues.
    Though I didn’t check it with a php7-compatibility checking tool (do I really want to find bad surprises?).

    Thanks 4 info that it works.

    I’m getting the same error when trying to upload pictures: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; themePacific_jetpack_User_Agent_Info has a deprecated constructor in …/wp-content/plugins/tiled-gallery-carousel-without-jetpack/class.jetpack-user-agent.php on line 61”
    Is there any way how to fix that?
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Outdated php’ is closed to new replies.