• Resolved hifunda

    (@hifunda)


    Hi,

    I got an email from my host (Siteground) that your plugin is incompatible for PHP 7.1 automatic updates. Please see email contents below:
    ——————————–
    Unfortunately, we have noticed that your account is not compatible with PHP 7.1 due to an installed theme or plugins. Please see the list of incompatible sites below:

    Site: https://www.chennaidreamhomes.com
    Incompatible plugins: PublishPress, Swift Performance Lite

    We strongly recommend that you either delete or update the incompatible themes and plugins and then switch your version manually, using our SG Optimizer plugin.
    ————————————-
    Is there an update available to fix this?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author PublishPress

    (@publishpress)

    @hifunda Please tell Siteground that they are mistaken.

    PublishPress is 100% compatible with PHP 7.1.

    Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Something triggers the compatibility check on our end.Can you tell me if you’re keeping legacy code for backwards compatibility so I can whitelist it in our checks?

    Plugin Author PublishPress

    (@publishpress)

    @hristo-sg Thanks. This is a fork of the old Edit Flow plugin so there may be some older code in there, but that’s not a deliberate choice.

    If you know what is triggering your compatibility check, we can look at workarounds.

    Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    FILE: /wp-content/plugins/publishpress/vendor/twig/twig/src/Extension/CoreExtension.php
    —————————————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————–
    1184 | ERROR | The function mb_ord() is not present in PHP version 7.1 or earlier
    —————————————————————————————————————–

    FILE: /wp-content/plugins/publishpress/publishpress.php
    ————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 2 LINES
    ————————————————————————————————————
    111 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    494 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    ————————————————————————————————————

    Plugin Author PublishPress

    (@publishpress)

    @hristo-sg Thanks. Yes, we can fix those in our next release.

    PublishPress will still run smoothly on 7.1 but we’ll tidy up that code.

    Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Please ping me in the WordPress slack or hristo.p [at] siteground.com so I can check again ??

    Plugin Author PublishPress

    (@publishpress)

    @hristo-sg Here’s the first one: https://github.com/publishpress/PublishPress/issues/436#issuecomment-498403936

    You found some fallback code in Twig

    Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    That’s why we have whitelists. I’ve added your plugin to it and it will not trigger such errors anymore. Please, contact me in such cases, so I can take care of it.

    Plugin Author PublishPress

    (@publishpress)

    Thanks @hristo-sg

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Siteground notice for 7.1 incompatibility’ is closed to new replies.