Viewing 30 results - 16,501 through 16,530 (of 16,888 total)
  • Author
    Search Results
  • #173546
    sumyungi
    Participant

    I’m getting the following error immediately upon activating Enfold on my fresh install of WordPress.

    Admin Area
    —————-

    Fatal error: Call to undefined function wp_get_theme() in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/auto-updates/auto-updates.php on line 137

    Front End
    —————

    Warning: Missing argument 1 for get_post(), called in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/optinfun/public_html/jv/wp-includes/post.php on line 371

    Warning: Missing argument 1 for get_post(), called in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/optinfun/public_html/jv/wp-includes/post.php on line 371

    Fatal error: Call to undefined function wp_get_theme() in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1177

    Any pointers?

    Thx

    P. S. – And, just trying to support this forum post I’m getting another error on your site… I think your theme and your site both don’t like me…

    Warning: Invalid argument supplied for foreach() in /www/htdocs/v123331/wp-content/plugins/avia-bb-moderator-modifications.php on line 161

    Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/v123331/wp-content/plugins/avia-bb-moderator-modifications.php:161) in /www/htdocs/v123331/support/wp-includes/pluggable.php on line 875

    #173545
    sumyungi
    Participant

    I’m getting the following error immediately upon activating Enfold on my fresh install of WordPress.

    Admin Area
    —————-

    Fatal error: Call to undefined function wp_get_theme() in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/auto-updates/auto-updates.php on line 137

    Front End
    —————

    Warning: Missing argument 1 for get_post(), called in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/optinfun/public_html/jv/wp-includes/post.php on line 371

    Warning: Missing argument 1 for get_post(), called in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/optinfun/public_html/jv/wp-includes/post.php on line 371

    Fatal error: Call to undefined function wp_get_theme() in /home/optinfun/public_html/jv/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1177

    Any pointers?

    Thx

    Hello diaarts!

    This may fit your needs.

    Cheers!
    Josue

    #173411

    Hi JaredBurnett!

    Open includes/loop-index.php, remove or comment line 74 to line 78:

    Tested on my local installation of Enfold 2.3.

    Regards,
    Josue

    #173341
    jmaguirrei
    Participant

    Hello

    I have 2 pages with posts and same layout:

    1. http://www.adw.cl/whiskypedia/
    2. http://www.adw.cl/whiskyteca/

    Both have custom left sidebars, ‘Sidebar whiskypedia’ and ‘Sidbar whiskyteca’, wich have some categories.
    A category is only in one sidebar.
    In Enfold Theme options, blog page is blank.

    The thing is when i click some category en page ‘Whiskyteca’, the post are displayed, and when I click in the post, the sidebar that loads is the ‘Sidebar blog’, wich I can only assign only one acordion menu.

    http://www.adw.cl/category/whisky-escoces/highland-single-malt/

    So, the desired behaviour is that the sidebar should be displaying the same that posts have.

    Something like: “If category = 1,2,3,4 then sidebar=’Sidebar Whiskypedia’, else if category=5,6,7,8 then sidebar=’Sidebar Whiskyteca'”…

    Some php I can modifiy?

    Thanks a lot!
    José

    #173156

    Hi finessecreative!

    Please open Footer.php file and find this code in line 168 http://i.imgur.com/C7OrmlP.jpg
    and change it to http://i.imgur.com/9fSQYZx.jpg

    Best regards,
    Yigit

    #172899

    Hey!

    Ja, ich konnte den Fehler mit Firefox reproduzieren und wir werden diesen im nächsten Update beheben. Firefox scheint den umgebenden “article” Container eine Breite zu geben, welche sich dann auf das Video auswirkt. Als Quick Fix öffne enfold/config-templatebuilder/avia-shortcodes/portfolio.php und ersetze den gesamten Code in der Datei mit: https://gist.github.com/InoPlugs/0b2297e18e52e5b567ed und füge folgenden Code in das Quick css Feld ein

    
    .portfolio_preview_container .portfolio-details-inner .no_portfolio_preview_gallery{
    width:100%;
    }
    

    Cheers!
    Peter

    #172409

    In reply to: Mobile menu toggle

    Sorry, that one doesn’t help. But I think what is causing this. I’m using a custom avia.js in my child theme for a custom breakpoint of the theme. When I switch that off, the menu toggle is displayed correctly.

    However, I do like to use the custom breakpoint. Hope you can help me out with this! I did one edit in the avia.js – and placed it in my child theme folder. At the responsive menu function on line number 88 I changed the switchWidth value from 767 to 989.

    This modification is based on the following support thread: https://kriesi.at/support/topic/mobile-menu-tablet-breakpoint/.

    Also – as mentioned in the thread – In the functions.php I’ve added:

    // WZ: For custom breakpoint mobile menu toggle
    // Make these Child functions load after Parent functions
    add_action( 'after_setup_theme', 'childtheme_late_functions' );
    function childtheme_late_functions() {
    	// Swap out Parent's js/avia.js for Child's js/avia.js
    	add_action( 'wp_enqueue_scripts', 'childtheme_menu_breakpoint' );
    	function childtheme_menu_breakpoint() {
    		wp_dequeue_script( 'avia-default' );
    		wp_enqueue_script( 'childtheme-avia-js', get_stylesheet_directory_uri() . '/js/avia.js', array( 'jquery' ), 1, true);
    	}
    }

    Let me know if you need more information.
    Thanks!

    #172324

    In reply to: top button no icon

    Hello!

    Please review your website. Go to top icon code in your child themes Footer.php file was like in 167th line here http://i.imgur.com/gDl6Z4q.jpg while it supposed to be like 169th

    Cheers!
    Yigit

    This reply has been marked as private.
    #171986
    This reply has been marked as private.
    #171804
    This reply has been marked as private.
    #171667

    Hey!

    I am not sure what is the problem here but can you undo and redo changes in functions.php file? I am also using Win7 and when i check your website on Chrome, Firefox and IE, all shows Chinese Yuan as Japanese Yen. But as in screenshot i posted, it looks fine on my local installation on Chrome,Firefox and IE on Win7.

    Regards,
    Yigit

    #171608

    Hi bcarey!

    Have you edited functions.php file inside wp-includes folder?
    If not, fastest and easiest way would be re-installing the theme
    For a quick guide on updating your theme take a look at this video on updating the Enfold theme via FTP: https://vimeo.com/channels/aviathemes/67209750

    Best regards,
    Yigit

    #171604
    bcarey
    Participant

    I tried to edit the Functions.php file and got an error – so I replaced it with the Function.php file from the downloaded theme folder. Now I get this error and the website is down.

    Error:
    Warning: require_once(config-wpml/config.php) [function.require-once]: failed to open stream: No such file or directory in D:\Hosting\11871577\html\wp-includes\functions.php on line 29

    Fatal error: require_once() [function.require]: Failed opening required ‘config-wpml/config.php’ (include_path=’.;C:\php\pear’) in D:\Hosting\11871577\html\wp-includes\functions.php on line 29

    Really need help with restoring this file / get my website back up… Thanks!

    #171582

    In reply to: new social icons

    Peter,

    I tried to turn on the wp debug and this is what I found from the error_log.txt. Not sure if this has anything to do with the issue of not able to add custom social icons to the nav bar.

    [07-Oct-2013 10:11:45 UTC] PHP Notice: Undefined index: qq in /home/content/30/11045530/html/z/wp-content/themes/acutta/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 622
    [07-Oct-2013 10:11:45 UTC] PHP Notice: Undefined index: qq in /home/content/30/11045530/html/z/wp-content/themes/acutta/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 622
    [07-Oct-2013 10:11:45 UTC] PHP Notice: Undefined index: sina-weibo in /home/content/30/11045530/html/z/wp-content/themes/acutta/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 622
    [07-Oct-2013 10:11:45 UTC] PHP Notice: Undefined index: sina-weibo in /home/content/30/11045530/html/z/wp-content/themes/acutta/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 622

    thanks,

    #171073

    Hi!

    Edit search.php, find this code:

     get_header();
    
    	 $results = avia_which_archive();
    	 echo avia_title(array('title' => $results ));
    	 ?>

    Replace it with:

     get_header();
    	 ?>
    
    <div class="ls-wp-fullwidth-container" style="height: 150px;"><div class="ls-wp-fullwidth-helper" style="height: 150px; width: 1583px; left: 0px;"><div id="layerslider_2" class="ls-wp-container ls-container ls-fullwidth" style="width: 1583px; height: 150px; margin: 0px auto; visibility: visible;"><div class="ls-webkit-hack"></div><div class="ls-inner" style="background-color: rgb(255, 255, 255); width: 1583px; height: 150px;"><div class="ls-layer ls-animating" style="width: 1583px; height: 150px; visibility: visible; display: block; left: auto; right: 0px; top: 0px; bottom: auto;"><img src="http://otsecure.net/techserv/wp-content/uploads/2013/09/slide3_Layer_1.jpg" class="ls-bg" alt="Slide background" style="padding: 0px; border-width: 0px; width: 1600px; height: 150px; margin-left: 0; margin-top: -75px;display: block;"></div></div><div class="ls-loading-container" style="z-index: -1; display: none;"><div class="ls-loading-indicator"></div></div><div class="ls-shadow"></div></div></div></div>
    
      <?php
    
    	 $results = avia_which_archive();
    	 echo avia_title(array('title' => $results ));
    	 ?>

    Cheers!
    Ismael

    #171045

    Hi Ismael,

    It is already in the woocommerce-core-functions.php file.


    case ‘USD’ :
    $currency_symbol = ‘$’;
    break;
    case ‘EUR’ :
    $currency_symbol = ‘€’;
    break;
    case ‘CNY’ :
    case ‘RMB’ :
    case ‘JPY’ :
    $currency_symbol = ‘¥’;
    break;


    As I mentioned in the previous posts, the Yuan shows correctly in iPad, Android tablet and from linux machines. but not from win 7 at least. I tried FF, IE and Chrome from win 7, all showed Japanese Yen instead of Chinese Yuan.

    #170560

    Hello!

    I tried and it works on my end http://i.imgur.com/We7GS4k.jpg
    I guess you skipped adding currency symbol. Please add following code to the end of Functions.php file

    `add_filter( 'woocommerce_currencies', 'add_my_currency' );
     
    function add_my_currency( $currencies ) {
         $currencies['ABC'] = __( 'Chinese Yuan', 'woocommerce' );
         return $currencies;
    }
     
    add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
     
    function add_my_currency_symbol( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'ABC': $currency_symbol = '¥'; break;
         }
         return $currency_symbol;
    }`

    Regards,
    Yigit

    EDIT: You can copy HTML code of Chinese Yuan symbol here http://en.wikipedia.org/wiki/%C2%A5

    • This reply was modified 12 years, 6 months ago by Yigit.
    #170152

    This is line 17 of my page.php file located in my child theme folder <div class='devin template-page content twelve units'>

    That didn’t do anything. You can check my page source for http://thepluginfactory.co/warehouse/gard-pro/ and search for the word “devin” and you won’t find it. The page.php isn’t loading, I’ve even changed other code around, and that page didn’t use it.

    #170104

    Hey!

    The file you are using for the template should have come from the page.php. If you look at line 17 this is where the page gets its grid element. So you can just manually change the page to use the twelve column grid by changing this line to the word twelve instead:
    <?php avia_layout_class( 'content' ); ?>

    Then further down remove the get_sidebar and avia_config above it:

    
    				<?php
    
    				//get the sidebar
    				$avia_config['currently_viewing'] = 'page';
    				get_sidebar();
    
    				?>
    

    Cheers!
    Devin

    #169759
    rwwood
    Participant

    I just installed Enfold, and now the products that were set up under Propulsion are not showing up. They are in the backend WooCommerce product list, but don’t show on the shop page or by clicking “view product” on the product edit screen. I tried creating a new product, but that didin’t show up either. None of the information or images shows for any of the products.

    I found the following error in the php error log repeated for every page load of the shop page:
    [03-Oct-2013 05:48:07] PHP Fatal error: Cannot use string offset as an array in /home3/fivzerh7/public_html/wp-content/themes/enfold/includes/helper-template-logic.php on line 250

    • This topic was modified 12 years, 6 months ago by rwwood.
    #169407

    Hey!

    Can you try installing Contact Form 7 and adding a quick form to a page and testing it there? That will test to see if your server support the default php mail function.

    If it doesn’t, talk to your hosting provider about getting php mail working and what limitations there are.

    Best regards,
    Devin

    #168955
    This reply has been marked as private.
    #168893

    I looked into code of the parent theme and found that you have a special function for dynamic stylesheet URL.
    It is referenced around line 302 in enfold functions.php and line 748 of functions-enfold.php.
    Can you provide a patch that will correct behaviour of serving dynamic stylesheet from /uploads/dynamic-avia/ folder over https?

    #168781

    Hey!

    Yes – see http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-target-ie6-ie7-and-ie8-uniquely-with-4-characters/

    Alternatively you can use a conditional comment in the head section (header.php)

    
    <!--[if lt IE 9]>
    <style>
    #top .main_menu .menu>li>a {min-width: 100px;}
    </style>
    <![endif]-->
    

    If you want to change the min.size for each item individually use the menu item id which can be found in the source code to target them – i.e

    
    #top .main_menu .menu li#menu-item-14 a {min-width: 100px;}
    

    would just set the min-size attribute for the menu item with the id 14.

    Cheers!
    Peter

    #168696

    In reply to: Translation issue

    Hi wvanderzee!

    Yes, Kriesi forgot to make these strings translatable. You can replace the template-archives.php code with https://gist.github.com/InoPlugs/52c40e5f8be7a831cbb0 and the strings should be translatable. We’ll include a fix in the next update.

    Best regards,
    Peter

    incredible
    Participant

    Hello support,

    I’m receiving this error on my homepage written on top: Warning: trim() expects parameter 1 to be string, array given in /home/coldston/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php on line 447

    If I remove the slideshow, it still appears.

    What’s wrong and how can I fix it?

    Let me know if you require any additional information. I should let you know that I’m running the most recent version of your theme (Enfold), as well as WP 3.6.1 as well as WooCommerce installed.

    Thanks

    • This topic was modified 12 years, 6 months ago by incredible.
    #167743

    http://snipt.org/Ahhff0

    Here you go. I didn’t make any modifications in the functions.php before creating this thread, so the above snipt should be identical to what’s in the enfold theme package. The error went away when I added a “)” in the comment on line 26 of the attached snipt code.

    After adding that extra “)”, I tried adding “add_theme_support(‘avia_template_builder_custom_css’);” to where you mentioned again, and then it gave me a new error about an unexpected ‘;’, this time in the comment in line 17.

    What’s going on?

    • This reply was modified 12 years, 6 months ago by bunguman.
    #167532

    Hi

    Futher to this i have manged to get some output from Safari error logs (Firefox/Firebug crash out).

    After insert into post is pressed, the following is returned:
    avia_media.js:141RangeError: Maximum call stack size exceeded.

    It would seem that there is a clash with AVIA and the cmb_metabox framework on
    https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress

    as if i disable the function to init the framework, the WP functionality then works to insert a post.

    Part of the init.php function is to call the following

    function cmb_scripts( $hook ) {
    if ( $hook == ‘post.php’ OR $hook == ‘post-new.php’ OR $hook == ‘page-new.php’ OR $hook == ‘page.php’ ) {
    wp_register_script( ‘cmb-scripts’, CMB_META_BOX_URL.’jquery.cmbScripts.js’, array( ‘jquery’,’media-upload’,’thickbox’ ) );
    wp_enqueue_script( ‘jquery’ );
    wp_enqueue_script( ‘jquery-ui-core’ ); // Make sure and use elements form the 1.7.3 UI – not 1.8.9
    wp_enqueue_script( ‘media-upload’ );
    wp_enqueue_script( ‘thickbox’ );
    wp_enqueue_script( ‘cmb-scripts’ );
    wp_enqueue_style( ‘thickbox’ );
    wp_enqueue_style( ‘jquery-custom-ui’ );
    add_action( ‘admin_head’, ‘cmb_styles_inline’ );
    }
    }

    Could this be the source of the conflict do you think?

    Many thanks for any guidance.

    Phil.

Viewing 30 results - 16,501 through 16,530 (of 16,888 total)