Update theme legenda - by Antonio - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow

  • Avatar: Antonio
    Antonio
    Participant
    March 18, 2021 at 20:15

    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
    Support staff
    March 19, 2021 at 14:08

    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
    March 19, 2021 at 14:52

    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
    Support staff
    March 22, 2021 at 15:04

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.