Okay
  Public Ticket #1711651
Salient PHP7 Compatibility
Closed

Comments

  •  10
    Ellison started the conversation

    Hey there.

    I'm checking some of our sites that use Salient for PHP7 Compatibility (using the WP Engine PHP 7 Compatibility checker) and came across a few errors: 


    FILE: /nas/content/live/earlarch/wp-content/themes/salient/nectar/nectar-vc-
    addons/nectar-addons-no-lean.php

    ---------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------
    ----------
    FOUND 2 ERRORS AFFECTING 1 LINE
    ---------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------
    ----------
    1374 | ERROR | Indirect access to variables, properties and methods will be
    evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to
    remove ambiguity.
    1374 | ERROR | Indirect access to variables, properties and methods will be
    evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to
    remove ambiguity.
    ---------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------

    ###


    Also, in the page builder plugin: 


    FILE: /nas/content/live/earlarch/wp-
    content/plugins/js_composer_salient/include/classes/shortcodes/vc-accordion-
    tab.php

    ---------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------
    ---------
    FOUND 2 ERRORS AFFECTING 1 LINE
    ---------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------
    ---------
    245 | ERROR | Indirect access to variables, properties and methods will be
    evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to
    remove ambiguity.
    245 | ERROR | Indirect access to variables, properties and methods will be
    evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to
    remove ambiguity.
    ---------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------


    ###


    Can you confirm that these errors have been fixed or when they will be in the future? Also, are there other issues you are aware of when upgraded to PHP7?

  •  8,997
    Tahir replied

    Hey Again,

    Please update to Salient Theme Version 9.01 and Salient VC 5.5.2. 

    If you are not seeing the Plugin Update Notification you need to uncheck the " Disable Theme Reccomended Plugin Notifications " Field in "Salient Theme Options Panel"  -> General Settings -> "Toggle Theme Features" Section .

    To get a list of Bug Fixes and new Feature addons in the Latest Theme update,  the changelog can be viewed here : http://themenectar.com/changelogs/salient.html .

    Update the theme by following this guide: http://themenectar.com/docs/salient/updating-salient/ .

    Best.


    ThemeNectar Support Team 

  • BlackSquareStudio replied

    all issues are removed and tested via https://github.com/wimg/PHPCompatibility ?