Viewing 30 results - 1,351 through 1,380 (of 16,891 total)
  • Author
    Search Results
  • #1406394

    Bonjour,

    Depuis aujourd’hui mon site n’est plus accessible à cause d’un bug d’Enfold, voici le message envoyé par wordpress :

    Si vous cherchez de l’aide pour ce problème, les informations suivantes pourraient vous être demandées :
    WordPress version 6.0.3
    Thème actif : Enfold (version 5.6)
    Extension actuelle : (version )
    PHP version 7.4.33

    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 179 du fichier /home/jtvb4693/public_html/wp-content/themes/enfold/functions.php. Message d’erreur : Uncaught Error: Call to undefined function did_filter() in /home/jtvb4693/public_html/wp-content/themes/enfold/functions.php:179
    Stack trace:
    #0 /home/jtvb4693/public_html/wp-settings.php(566): include()
    #1 /home/jtvb4693/public_html/wp-config.php(80): require_once(‘/home/jtvb4693/…’)
    #2 /home/jtvb4693/public_html/wp-load.php(50): require_once(‘/home/jtvb4693/…’)
    #3 /home/jtvb4693/public_html/wp-admin/admin.php(34): require_once(‘/home/jtvb4693/…’)
    #4 /home/jtvb4693/public_html/wp-admin/update-core.php(10): require_once(‘/home/jtvb4693/…’)
    #5 {main}
    thrown

    Pouvez-vous m’aider ??

    #1406391

    Guenni007, I added above code to functions.php but it did not change the burger menu on my staging site.
    Am I supposed to add it somewhere else?

    Thank you!

    #1406362

    In reply to: Enfold 5.6

    Hi Yigit, same issue here.. With Safari, Firefox, Edge, Vivaldi, Opera and Chrome some elements in Home Page does not works but on the other pages they appears regular.. All fine with Chrome. Link in private..
    WP 6.2
    Enfold 5.6
    PHP 7.4
    [UPDATE] Solved by deactivate CSS merging and minification in Siteground Optimizer e activate it in Enfold..

    • This reply was modified 2 years, 11 months ago by newmediologo. Reason: Check other browsers
    • This reply was modified 2 years, 11 months ago by newmediologo. Reason: Problem seem solved
    This reply has been marked as private.
    This reply has been marked as private.
    #1406287

    Hey Mark,
    Thanks for your questions, Enfold v5.6 works with PHP v8+ and WordPress v6+
    When you purchase a new license you get 6 months of forum support included with an option to extend to 12 months for only about $17 more:
    Enfold_Support_1969.jpeg
    We have an exclusive contract with Theme Forest and can not sell, transfer, or update licenses directly. Theme Forest manages all licenses.
    The Avia framework is our exclusive framework for the Advanced Layout Builder, yes we are keeping it and have made many changes since v3.1, see our changelog and documentation

    Best regards,
    Mike

    stop0bit
    Participant

    Hello,

    There is a change to functions.php between 5.5 and 5.6 versions, around line(s): 179 to 184.
    The new code about language setup seems to break the site on upgrade between versions, I have fixed the problem by changing the code as below. Now the site loads the backend with my change after upgrade by simply reloading this url: https://staging.sheilds.org/wp-admin/update-core.php

    Here’s the new lines with a simple fix, I placed above:

    	avia_lang_setup(); //Replaced this line and commented out the below lines, as was breaking site on upgrade from 5.5 to 5.6
    	/*if( did_filter( 'after_setup_theme' ) )
    		
    	{
    		avia_lang_setup();
    	}*/
    

    Here’s the error I received:

    Fatal error: Uncaught Error: Call to undefined function did_filter() in /pathtoinstall/wp-content/themes/enfold/functions.php:179 Stack trace: #0
    /pathtoinstall/wp-settings.php(555): include() #1
    /pathtoinstall/wp-config.php(121): require_once(‘/var/www/vhosts…’) #2
    /pathtoinstall/wp-load.php(50): require_once(‘/var/www/vhosts…’) #3
    /pathtoinstall/wp-admin/admin.php(34): require_once(‘/var/www/vhosts…’) #4
    /pathtoinstall/wp-admin/index.php(10): require_once(‘/var/www/vhosts…’) #5
    {main} thrown in /pathtoinstall/wp-content/themes/enfold/functions.php on line 179

    If this can be rectififed that would be great!

    Thanks

    #1406168

    Hey Lisa,

    Your purchase code doesn’t seem valid, please check this image: https://kriesi.at/wp-content/uploads/2013/09/registration_steps.jpg

    Please note that you are responsible for the content in your child theme. The error message on your site seems to be coming from a plugin:

    Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.2.5”. You are running 5.6.40. in /public_html/wp-content/plugins/wordpress-seo/vendor/composer/platform_check.php

    If you are running PHP 5.6, then it might be a good idea to update it to 8.x.

    Best regards,
    Rikard

    Lisa
    Guest

    Hi,

    I just bought Enfold and pasted the token into the support section to make support accessible but it said it’s not a valid purchase key…

    This is my token:
    (see private field)

    I urgently need help with a website that is not working with fatal errors to do with the Enfold Child theme and php, can someone please login to the site and make sense of what is going on?
    Thanks,
    Lisa

    Hey mischael1,

    Thank you for the inquiry.

    We may need to inspect the site in order to provide the proper modifications. Please provide the site URL in the private field.

    To display the modified date, you have to edit the includes > loop-index.php file around line 447 and use the get_the_modified_date function.

    $meta_time .=		apply_filters( 'avf_loop_index_meta_time', get_the_time( get_option( 'date_format' ) ), $current_post['the_id'], get_option( 'date_format' ) );
    

    Please check the following thread for more info.

    // https://kriesi.at/support/topic/enfold-latest-portfolio-widget-publish-time/#post-1302798

    Best regards,
    Ismael

    This reply has been marked as private.

    Hi,
    Thanks for the link to your site, I see that you are using Enfold v4.7.5 with WordPress v6.1.1 and PHP v8.1.18
    Enfold v4.7.5 is not PHP v8+ or WP 6+ ready, please update to Enfold v5.5
    Before updating please remove the header.php from your child theme as it will most likely cause issues, we don’t recommend adding header.php or footer.php to child themes anymore as this is the top reason for crashes when updating.

    Best regards,
    Mike

    This reply has been marked as private.
    #1405838
    sarawh
    Participant

    Hi, I updated Enfold from version 4.8.5 to version 5.5 today and got a critical error – the start page was blank and simply showed the error. The error message in the mail was:

    Ein Fehler vom Typ E_COMPILE_ERROR wurde in der Zeile 49 der Datei /usr/local/www/apache24/noexec/—website-name-replaced—see private content for website adresse–/website/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/chart/chart.php verursacht. Fehlermeldung: Access level to avia_sc_chart::shortcode_insert_button() must be public (as in class aviaShortcodeTemplate)

    The website is unfortunately still running on PHP 7.4.30. I have contacted the hoster to ask him to update to 8.1
    The WordPress version is 6.2 and all plugins are up to date

    Can you tell from the error message why this is happening?
    Thanks a lot in advance.

    Best regards,
    Sara

    #1405768
    Guenni007
    Participant

    i got an older iPad min 3 with iOS 12.5.7
    there are blank areas if images are animated ( like slide-shows, masonries etc. even the new before-after Image is only seen as before image )

    i placed a script to get the iOS Version as class on html – so i can hamper things – but how to avoid any animation for that case?

    function detect_ios_version(){
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
    	function iOSversion() {
    		if (/iP(hone|od|ad)/.test(navigator.platform)) {
    			var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/);
    			return [parseInt(v[1], 10), parseInt(v[2], 10), parseInt(v[3] || 0, 10)];
    		}
    	}
    	const ver = (iOSversion() || []);
    
    	if (ver[0] <= 13) {
    		// alert('This is running iOS '+ver);
    		document.documentElement.className += ' ios-less13 ';
    	}
    });
    </script>
    <?php
    }
    add_action('wp_head', 'detect_ios_version');
    • This topic was modified 2 years, 11 months ago by Guenni007.
    #1405760

    Hi,
    I believe you are seeing this on single posts or archives with a sidebar, so to work with this try copying the html of the submenu, on my example post I used this:

    <div id="sub_menu1" class="av-submenu-container main_color av-sticky-submenu container_wrap sidebar_right" style="z-index: 301; top: auto; position: absolute;"><div class="container av-menu-mobile-disabled av-submenu-pos-center"><ul id="av-custom-submenu-1" class="av-subnav-menu"><li class="menu-item menu-item-top-level menu-item-top-level-1"><a href=""><span class="avia-bullet"></span><span class="avia-menu-text">Menu Item 1</span></a></li><li class="menu-item menu-item-top-level menu-item-top-level-2"><a href=""><span class="avia-bullet"></span><span class="avia-menu-text">Menu Item 2</span></a></li></ul></div></div>

    you will note that it is important to not have any line breaks in the html.
    It is also important to copy the div before: <div class="clear"></div> and after: <div class="sticky_placeholder" style="height: 51.4375px;"></div>
    To test you can use the code in my example below, this is the script to add to your child theme functions.php:

    function custom_sub_menu_script() { ?>
      <script>
    (function($){	
        var sub_menu = '<div class="clear"></div><div id="sub_menu1" class="av-submenu-container main_color av-sticky-submenu container_wrap sidebar_right" style="z-index: 301; top: auto; position: absolute;"><div class="container av-menu-mobile-disabled av-submenu-pos-center"><ul id="av-custom-submenu-1" class="av-subnav-menu"><li class="menu-item menu-item-top-level menu-item-top-level-1"><a href=""><span class="avia-bullet"></span><span class="avia-menu-text">Menu Item 1</span></a></li><li class="menu-item menu-item-top-level menu-item-top-level-2"><a href=""><span class="avia-bullet"></span><span class="avia-menu-text">Menu Item 2</span></a></li></ul></div></div><div class="sticky_placeholder" style="height: 51.4375px;"></div>';
      $('#top.archive,#top.single-post').each(function(){
        $(sub_menu).insertBefore( ".container_wrap_first" );
      });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_sub_menu_script');

    this will show the submenu on single posts and archive pages, see the two links to my test pages below.
    Enfold_Support_1885.jpeg

    Best regards,
    Mike

    #1405694

    Hi Ismael,
    I added to functions.php in the enfold-child as suggested, but it doesn’t work.

    Take a look at this post as an example: https://www.nachhaltigkeit-management.de/eu-taxonomie-was-ist-das/

    The post image is 871 x 975 pixels in the original. It is cropped at the top and bottom. I want it to be displayed completely and also not so big.

    Do you have an idea how to do that?

    Best regards, Michael

    #1405643

    Hey Jason,

    Thank you for the inquiry.

    You can actually use the avf_portfolio_cpt_args filter to adjust the parameters of the portfolio post type. Example of the code can be found in the following link.

    // https://kriesi.at/support/topic/can-i-rename-portfolio-items-to-something-my-content-team-will-relate-to/#post-1162772

    For reference, please check the enfold/includes/admin/register-portfolio.php file.

    Best regards,
    Ismael

    #1405476

    Hey jeel147,

    Thank you for the inquiry.

    It seems to be the ID of an analytics script or tracker. Did you add any code in the functions.php file?

    We also noticed that the site contains an older version of the theme (4.6.3.1). Please create a site backup or a restore point, then update the theme to version 5.5 manually via FTP. You may need to toggle or temporarily disable the cache plugin and the Enfold > Performance > File Compression settings after the update.

    // https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp

    Best regards,
    Ismael

    #1405389

    In reply to: PHP 8.0

    Hi – I can confirm the site is using PHP 8 and I have upgraded manually to Enfold 5.5. I did find a line in the .htaccess file that said #AddHandler application/x-httpd-php72.php which I have changed to 8.

    The contact form still doesn’t work. We get the message on the screen saying the message is sent but no emails arrive, we’ve tested many email accounts.

    #1405333

    In reply to: PHP 8.0

    Hi red2design,

    The current version you are using is still using the old API (username and API key) which envato has already deprecated therefore you can’t update it with the usual method.
    You can do the following process instead:

    First make a backup:
    – Site Backup: https://kriesi.at/documentation/enfold/backup-wordpress-site/
    – Theme Settings Backup: https://kriesi.at/documentation/enfold/backup-theme-settings/

    Option 1: Use Envato Market to update your site
    – link: https://envato.com/market-plugin/

    Option 2: Update manually
    1. Login to ThemeForest and download the Enfold theme, right-click over the downloaded zip file and extract/unzip it.
    2. It should generate a new folder, open it and look for the enfold folder
    3. Right-click the enfold folder then zip it, here’s a tutorial on how to create a zip file in windows: https://www.howtogeek.com/668409/how-to-zip-and-unzip-files-on-windows-10/ (this should create enfold.zip
    4. Log in to WordPress as and Admin.
    5. Install and activate a maintenance plugin and put your site in Maintenance mode.
    6. Go to Appearance > Themes, switch to a default WordPress theme like TwentyTwenty then delete Enfold.
    7. Click on the ADD NEW button.
    8. Click on the UPLOAD THEME button.
    9. Click BROWSE and choose enfold.zip file
    10. Click the INSTALL NOW button and switch to Enfold or your child theme.
    11. Remove the maintenance mode then deactivate and remove the maintenance plugin.

    Then register the theme by following the instructions in https://kriesi.at/documentation/enfold/theme-registration/
    Once this is done, the next time you update, you’ll only need to go to Enfold > Theme Updates and click on the Update button.

    Once it is updated please let us know if the issue still persists.

    Also, the password is incorrect but I think the problem should be fixed by updating to the latest version since Enfold 4.1 was released July 2017 while PHP 7.4 was released November 2019, so incompatibility would most likely occur.

    Best regards,
    Nikko

    Hi,
    Thank you for your patience, to have two split topbar menus we will use the Secondary Menu in the topbar at the left and create a shortcode for a menu in the Header Phone Number/Extra Info in the topbar at the right.
    This is the expected result:
    Enfold_Support_1855.jpeg
    To create the shortcode for the menu I adjusted the function in this article, add this code to the end of your child theme functions.php file in Appearance ▸ Editor, or if you are not using a child theme I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets and allows you to export and import your custom code snippets to other sites that you may have or as a backup. If you use WPcode plugin this is a PHP snippet.

    function list_menu($atts, $content = null) {
    	extract(shortcode_atts(array(  
    		'menu'            => '', 
    		'container'       => 'nav', 
    		'container_class' => 'sub_menu alignright', 
    		'container_id'    => '', 
    		'menu_class'      => 'menu', 
    		'menu_id'         => '',
    		'echo'            => true,
    		'fallback_cb'     => 'wp_page_menu',
    		'before'          => '',
    		'after'           => '',
    		'link_before'     => '',
    		'link_after'      => '',
    		'depth'           => 0,
    		'walker'          => '',
    		'theme_location'  => ''), 
    		$atts));
     
     
    	return wp_nav_menu( array( 
    		'menu'            => $menu, 
    		'container'       => $container, 
    		'container_class' => $container_class, 
    		'container_id'    => $container_id, 
    		'menu_class'      => $menu_class, 
    		'menu_id'         => $menu_id,
    		'echo'            => false,
    		'fallback_cb'     => $fallback_cb,
    		'before'          => $before,
    		'after'           => $after,
    		'link_before'     => $link_before,
    		'link_after'      => $link_after,
    		'depth'           => $depth,
    		'walker'          => $walker,
    		'theme_location'  => $theme_location));
    }
    add_shortcode("listmenu", "list_menu");

    Then the shortcode will be like this: [listmenu menu=37] to find the menu ID number for your shortcode go to your menus and hover over the “Delete Menu” link and look in the browser link inspector popup:
    Enfold_Support_1857.jpeg
    Then add the shortcode in Enfold Theme Options ▸ Header ▸ Extra Elements ▸ Phone Number or small info text with the option set to show the element on the right:
    Enfold_Support_1859.jpeg
    Now the last step is to remove the two div’s in the phone info topbar div for the menu shortcode, these divs are added for the typical text that is added to the Enfold Theme Options ▸ Header ▸ Extra Elements ▸ Phone Number or small info text field, but we want to remove them for our menu.
    Add this code to the end of your child theme functions.php file in Appearance ▸ Editor, or as a PHP snippet in the WPcode plugin:

    function remove_phone_info_div_for_topbar_menu_shortcode() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
      $('.phone-info.with_nav div').contents().unwrap();
      $('.phone-info.with_nav').contents().unwrap().css({'margin':'0'});
    })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'remove_phone_info_div_for_topbar_menu_shortcode');

    Now the two menus in the topbar will float right and left responsively for desktop and tablet:
    Enfold_Support_1861.jpeg
    for mobile they will stack since there is not enough room:
    Enfold_Support_1863.jpeg
    Please ensure to copy the codes from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    #1405232

    Hi,
    Thanks for the feedback, I found that the form is wrapped in the menu element link attribute, even though you have no link set the “a” still has “#”
    Enfold_Support_1837.jpeg
    while I can unwrap the link from the menu item with this:

    function custom_script() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
    $('#avia-menu').one('click', function(){
      $('#av-burger-menu-ul .menu-item-3979 a').contents().unwrap();
    });
    })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_script');
    

    This didn’t help, so I then tried on my test site to append the contact form to the menu and while this worked the form action always reloaded the page so you don’t see the ajax response. So I don’t think this is going to work.
    But I believe that I have found a workaround, on my test page linked below I have the desktop menu set to icon and full width like your site, but I have no menu items, instead on the homepage I have a full-width contact form with the font set to light and transparent, and I use this css to hide the contact form until the menu overlay is shown and then the menu overlay is hidden, giving the effect that the contact form is inside the menu:
    Enfold_Support_1841.jpeg
    and it shows the ajax response.
    Enfold_Support_1839.jpeg

    #top.home form.avia_ajax_form {
    	display: none;
    }
    .av-burger-overlay-active #top.home form.avia_ajax_form {
    	display: block;
    }
    .av-burger-overlay-active #top.home #header_main .av-burger-overlay {
    	display: none !important;
    }
    .av-burger-overlay-active #top.home #wrap_all #av_section_1 {
    	 background-color: #000;
    }
    .av-burger-overlay-active #top.home .av_header_transparency.av_alternate_logo_active .logo a > img {
        opacity: 1;
    }
    
    .av-burger-overlay-active #top.home .av_header_transparency .logo img.alternate {
        opacity: 0;
    }
    

    Try my test page and see if this might be something that would work for you.

    Best regards,
    Mike

    #1405227

    Hi,
    Thanks for the link to your page, typically the author, date, & categories are wrapped in the post-meta-infos span:
    Enfold_Support_1828.jpeg
    Enfold_Support_1830.jpeg
    but yours is not wrapped in any element:
    Enfold_Support_1833.jpeg
    Enfold_Support_1835.jpeg
    So I recommend removing your PHP customization and allow the theme to show the post-meta-infos span and then I can give you some javascript to move it below the image.
    Or if you want to use your PHP customization please change it so the author, date, & categories are wrapped in a span or div with a custom class, and then I can give you some javascript to move it below the image.

    Best regards,
    Mike

    #1405198

    In reply to: PHP 8.0

    Hi

    I’m experiencing problems with a site that I’ve upgraded to php 8 and also the latest theme 5.5. Can you help?

    There is now a warning message at the top of the page and also a huge amount of space has appeared below the menu. Everything was running fine at php 7.4 and theme version 4.1 – but I was getting security warnings about 7.4 so need to upgrade.

    I’d rather not roll back so hope you can help me?

    #1405114

    Hi,
    I see that you are using Enfold v4.5.2, this version is not compatible with PHP v8, you will need to update to Enfold v5.5
    To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1405073

    In reply to: Post Grid not working

    Hi,
    Thank you for your patience, I see that your site is using Enfold v4.8.1, this is not PHP v8 compatible, please update your site to Enfold v5.5
    To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1405008

    In reply to: Enfold Theme

    Hey Phyllis B Hartzell,
    Thanks for the login, Enfold v4.0.5 is not compatible with WordPress v6+ or PHP v8+
    Updating to Enfold v5.5 should solve your issue.
    To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1404966

    Hey Rikard,

    thank you. I also found an article on wordpress.org how to update old wp versions. Here’s what i did:

    – Updated Enfold via Dashbord
    – Updated WP to 5.3 via FTP
    – Updated PHP to 7.4
    – Updated WP to 6.2 via Dashbord

    Works fine. You can close this.

    Best regards,
    Daniel

    #1404958

    Hi, I updated php version to 8, then the critical error occurred. Now I reset 7.4.33 (obsolete) and it works. Could please explain me this problem?
    I found topic #1333799 with the same issue.
    Thank you.

    Valentina

Viewing 30 results - 1,351 through 1,380 (of 16,891 total)