Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1383312
    bradmaclean
    Participant

    Is xTheme, cornerstone and The Grid add-on plugin compatible with PHP 7.0? I ask because WPengine hosting is offering to upgrade to PHP 7.0. I want to consider it because it supposedly provides significant performance improvements to your wordpress site. I ran the compatibility checker but not sure how reliable it is. Checker says xTheme is compatbible but found the errors below for Cornderstone and The Grid. Not sure if you could speak to the Grid; if not can you direct me to their support? I could not find them on wordpress.org. Thanks!

    Here is an article about PHP 7…

    PHP 7: The Way Of The Future

    Here are the errors I get when i run the compatibility checker:

    xTheme is compatible per checker

    Name: Cornerstone

    FILE: /nas/content/live/w2worg/wp-content/plugins/cornerstone/includes/utility/jsqueeze.php
    ————————————————————————————————–
    FOUND 3 ERRORS AFFECTING 3 LINES
    ————————————————————————————————–
    387 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    465 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    480 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    ————————————————————————————————–

    Name: The Grid

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/frontend/the-grid.class.php
    ————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————–
    96 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ————————————————————————————–

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/frontend/the-grid-data.class.php
    ——————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————-
    46 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ——————————————————————————————-

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/frontend/the-grid-ajax.class.php
    ——————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————-
    26 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ——————————————————————————————-

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/frontend/the-grid-element.class.php
    ———————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————-
    97 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ———————————————————————————————-

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/frontend/the-grid-layout.class.php
    ———————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————
    46 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ———————————————————————————————

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/the-grid.php
    ———————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————
    70 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ———————————————————————————

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/includes/metabox/tomb.php
    ————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————
    27 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ————————————————————————————

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/backend/admin-skins-preview.php
    ——————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————
    92 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ——————————————————————————————

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/backend/admin-grid-preview.php
    —————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————–
    26 | ERROR | Visibility for magic method __sleep must be public. Found: private
    —————————————————————————————–

    FILE: /nas/content/live/w2worg/wp-content/plugins/the-grid/backend/admin-skin-generator.php
    ——————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————-
    246 | ERROR | Visibility for magic method __sleep must be public. Found: private
    ——————————————————————————————-

    #1383420
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! PHP preg_replace() seems to be deprecated since v5.5 and that seems to be the issue.

    I have already submitted this information to our development team for further review and will update when we have more information.

    Thank you!

    #1387323
    Gee R
    Participant

    FWIW we’ve migrated around 5 clients using wpengine to php7 so far this year, without issue. Whatever the issues flagged-up by the wpengine php checker, they don’t seem to affect the install.

    #1387357
    Joao
    Moderator

    Hi Gee,

    I am not sure if you still need help with this matter, in case you do please let us know.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1383312 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>