New Landing How can we help? Atelier wpml conflict with swift frameworks

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #268955
    Rainoldi
    Member
    Post count: 16

    Hello

    I have a problem with translations. I use the WPML plugin.

    When I change from Italian (default language) to English it shows error code:

    Notice: Undefined variable: category_list in /home/danzi187/public_html/new/danzireeds.it/wp-content/plugins/swift-framework/includes/page-builder/inc/helpers.php on line 728
    

    It show

    Any idea to fix it?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #268977
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit wp-config.php file at wordpress root installation.

    Find this code:-
    define('WP_DEBUG',true);
    Change to:-
    define('WP_DEBUG',false);

    Thanks
    Mohammad

    #268980
    Rainoldi
    Member
    Post count: 16

    Hi,

    the code is already: define (‘WP_DEBUG’, false);

    #268986
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Around line 728 in the file located at plugins/swift-framework/includes/page-builder/inc/helpers.php

    can you replace this code

     foreach ( $get_category as $category ) {
                $category_list[$category->slug] = $category->cat_name ;
     }

    by this one

      $category_list = array();
    
      foreach ( $get_category as $category ) {
                $category_list[$category->slug] = $category->cat_name ;
      }

    Let us know if it worked.

    -Rui

    #268988
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please upgrade the plugin to latest version 2.2.0.
    Thanks
    Mohammad

    #268990
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please upgrade the plugin to latest version 2.2.0.
    Thanks
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register