Update theme legenda - by Antonio - on WordPress WooCommerce support

3 replies2 participantsUpdated by Olga Barlow

  • Avatar: Antonio
    Antonio
    Participant

    I bought the Legend theme because I wanted to update the Legend theme on a site that was entrusted to me:
    https://www.meddedental.it/
    and after several attempts he made a critical error which I will describe to you later.
    So I updated the theme on a staging site:

    https://staging.meddedental.it/
    where the error is described.
    Everything was fine until I installed and activated the plugin:
    Redux framework
    from that moment the error came out both on the backend and on the frontend:
    ————————————————– —————————-
    Warning: require_once(/web/htdocs/staging.meddedental.it/home/wp-content/themes/legenda/framework/thirdparty/options-framework/extensions/theme_versions/extension_theme_versions.php): failed to open stream: No such file or directory in /web/htdocs/staging.meddedental.it/home/wp-content/themes/legenda/framework/thirdparty/options-framework/loader.php on line 22

    Fatal error: require_once(): Failed opening required ‘/web/htdocs/staging.meddedental.it/home/wp-content/themes/legenda/framework/thirdparty/options-framework/extensions/theme_versions/extension_theme_versions.php’ (include_path=’.:’) in /web/htdocs/staging.meddedental.it/home/wp-content/themes/legenda/framework/thirdparty/options-framework/loader.php on line 22
    Si è verificato un errore critico sul tuo sito web.
    —————————————————————————
    I cannot attach images because the forum does not allow me to.
    Best regards
    Antonio

    Please, contact administrator
    for this information.

    3 Answers

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    Probably you did not upload all theme files. Provide us with FTP access to your site to check and help you.

    Regards

    Avatar: Antonio
    Antonio
    Participant

    Hi
    you were right I downloaded the theme via ftp, now the site is visible but above these lines come out:
    ——————————————————
    Notice: Only variables should be passed by reference in /web/htdocs/staging.meddedental.it/home/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php on line 311

    Notice: Only variables should be passed by reference in /web/htdocs/staging.meddedental.it/home/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php on line 312

    Notice: Only variables should be passed by reference in /web/htdocs/staging.meddedental.it/home/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php on line 311

    Notice: Only variables should be passed by reference in /web/htdocs/staging.meddedental.it/home/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php on line 312

    Notice: Only variables should be passed by reference in /web/htdocs/staging.meddedental.it/home/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php on line 311

    Notice: Only variables should be passed by reference in /web/htdocs/staging.meddedental.it/home/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php on line 312
    ——————————————–
    How do we solve these lines?

    best regards
    Antonio

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    It’s Redux plugin error related to PHP version.
    Open wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions-ex.php file, find

    $data['parent_slug'] = end( explode( '/', end( $theme_paths ) ) );
    $data['parent_slug'] = end( explode( '/', end( $theme_paths ) ) );

    and replace with

    $data['parent_slug'] = end( $theme_paths );
    $data['parent_slug'] = explode( '/', $data['parent_slug'] );
    $data['parent_slug'] = end( $data['parent_slug'] );

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register