• Resolved TheRiz

    (@theriz)


    My host, siteground, will not allow me to update to php 7.1 due to some plugins not being compatible. This plugin returns the following error in a php 7.1 check:

    File: /content-aware-sidebars/lib/freemius/includes/class-freemius.php

    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————————
    15572 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)

    Just wanted to let you know in case this change could be made. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this.

    Content Aware Sidebars is fully compatible with PHP7.x and I do encourage users to upgrade.

    I have so far only seen warning messages regarding a __ prefix, and have not seen this error before.

    It seems odd that SiteGround refuses to upgrade your site though, as I have multiple sites running PHP7.3 with this plugin just fine.

    As the error stems from a library called Freemius, would it be possible for you to open an issue here: https://github.com/Freemius/wordpress-sdk/issues

    Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Hristo from SiteGround here. We do perform standard compatibility checks and report all errors. Of course, there are false-positives and that’s why we keep a whitelist of plugins. Adding yours to it as we speak.

    Meanwhile, you can manually change your PHP version by following the instructions in this article: https://www.siteground.com/kb/how_to_have_different_php_versions/

    Plugin Author Joachim Jensen

    (@intoxstudio)

    @hristo-sg

    Thank you for your insight here, and for adding Content Aware Sidebars to the whitelist! Much appreciated ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not Compatible with PHP 7.1’ is closed to new replies.