Viewing 30 results - 1,171 through 1,200 (of 16,716 total)
  • Author
    Search Results
  • #1407285

    Hi,
    This solution is not working for you because your sub-menu is not at the top of your page as in this thread, so you will need some javascript to determine when the menu gets to the top of the page and then make it sticky.
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function mobile_sub_menu_sticky() { ?>
    <script>
    window.addEventListener('DOMContentLoaded', function() {
      (function($){
      	var width = $(window).width();
        var $stickyTop = $('#sub_menu1');
        if (width <= 767) {
        $stickyTop.waypoint(function(direction) {
          if (direction === 'down') {
             $stickyTop.addClass('sticky-top');
          }
          if (direction === 'up') {
             $stickyTop.removeClass('sticky-top');
          }
        }, {
          offset: '0%'
        });
        }
      })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'mobile_sub_menu_sticky');

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Then this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .sticky-top {
    	position:fixed!important;
    	top:0!important;
    	z-index:600!important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1407085

    Thanks for your advice. It has worked. It has stopped creating files. Unfortunately, the website is not working optimally yet. I think there is still an error looping. The log says this kind of messages:
    Error on sending request(GET /wp-content/uploads/dynamic_avia/avia-merged-styles-c9edd31fc63a9322c577ad214782385b.css HTTP/1.1); uri(/index.php) content-length(0): ReceiveAckHdr: nothing to read from backend (LVE ID 932), check http://docs.cloudlinux.com/mod_lsapi_troubleshooting.html

    #1407055
    Lúa
    Participant

    I have been given a website with Enfold in version 3.5.4. The first thing I did was to create and activate a child theme, importing the settings of the parent theme. I tried to upload directly the new Enfold version 5.6.1 folder via FTP (renaming first the folder of the old theme with enfold-OLD) but it didn’t work.

    So I entered the user and the themeforest API Key in the Enfold section but it doesn’t detect updates. And if I click on the “Check Manually” link it returns these errors:

    Warning: Illegal string offset ‘http_code’ in /homepages/11/d223943919/htdocs/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307

    Warning: Invalid argument supplied for foreach() in /homepages/11/d223943919/htdocs/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49

    Warning: Illegal string offset ‘http_code’ in /homepages/11/d223943919/htdocs/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307

    Warning: Invalid argument supplied for foreach() in /homepages/11/d223943919/htdocs/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/11/d223943919/htdocs/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php:307) in /homepages/11/d223943919/htdocs/wp-admin/admin-header.php on line 9

    The website is working on PHP 7.3 and I can only make the jump to PHP 8.1. It is also working with WordPress 5.7.8, but I think I should not update WordPress until I have updated Enfold.

    I would appreciate any recommendations you can give me. Thanks.

    Hey Ringknipser,

    Really sorry for that and thank you for reporting it.

    There is a typo error in file ../enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php: line 701:

    Please replace

    
    $copyright_text = apply_filter( 'avf_alb_masonry_copyright_text', esc_html( $copyright_text ), $copyright_text, $attachment, $entry, $this->config );

    with

    
    $copyright_text = apply_filters( 'avf_alb_masonry_copyright_text', esc_html( $copyright_text ), $copyright_text, $attachment, $entry, $this->config );
    

    If you need help please let us know and give us WP admin access to your site (it is password protected) and activate theme editor so we can edit the file for you.

    It will be fixed in 5.6.2. I asked Kriesi for a hotfix release.

    Best regards,
    Günter

    Ringknipser
    Participant

    Hi,

    I haven’t posted here in ages (various accounts due to various websites) since the (roundabout) 20 websites I created and maintain based on the best theme ever, Enfold, never caused issues I couldn’t solve myself. Or by browsing this forum. But now I am in need of support please:

    Just a few days ago I started a new fun project for myself, using Enfold 5.5 at first. Everything went smooth and well like all the times. After the update to 5.6 however, the content of the portfolio items simply doesn’t show up anymore. The header and socket are showing, but none of the avia elements are visible anymore. This happened with the update to 5.6, updating to 5.6.1 did not solve the issue.

    All of my other websites do not show that behavior, although they run in the same server environment.

    In addition, the Yoast SEO plugin causes a critical error (content at the end) when I try to edit a portfolio item. But ONLY portfolio items, it doesn’t happen on pages or posts. Deactivating the plugin helps, no critical error on editing a portfolio. However, with a deactivated Yoast the portfilio content still doesn’t show. Never had that kind of issue with Yoast and Enfold before!

    I left Yoast deactivated and tried the following steps to narrow down the issue:

      checked everything on different browsers with empty caches
      deactivated all plugins
      disabled all file compression
      removed all manual changes or additions I made, like additional CSS or minor additions in functions.php
      triple checked .htaccess and wp-config
      changed the php-version to lower versions>
      I reverted to Enfold 5.5 and the content was visible again!

    After reverting I updated back to 5.6 and now 5.6.1., same issues like described above, again.

    All plugins I use are their latest version, Enfold is now 5.6.1, WordPress 6.2, PHP is 8.2.4., no child theme.

    I suppose you guys may want to look into the website, so I put access information into the private content already. No extra staging site needed, as this actually is a staging site.

    I would really like to know what’s happening here, so thank you very much for your support in adavance!

    Best regards
    Ringknipser

    Here is the content of the last critical error mail:

    Wenn du Hilfe bei diesem Problem suchst, wirst du möglicherweise nach einigen der folgenden Informationen gefragt:
    WordPress-Version 6.2
    Aktives Theme: Enfold (Version 5.6.1)
    Aktuelles Plugin:  (Version )
    PHP-Version 8.2.4
    
    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 701 der Datei /mnt/web203/e2/03/56733103/htdocs/domain/wp-content/themes/enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function apply_filter() in /mnt/web203/e2/03/56733103/htdocs/domain/wp-content/themes/enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php:701
    Stack trace:
    #0 /mnt/web203/e2/03/56733103/htdocs/domain/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery/masonry_gallery.php(785): avia_masonry->html()
    #1 /mnt/web203/e2/03/56733103/htdocs/domain/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_masonry_gallery->shortcode_handler()
    #2 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare()
    #3 [internal function]: do_shortcode_tag()
    #4 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/shortcodes.php(227): preg_replace_callback()
    #5 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/class-wp-hook.php(308): do_shortcode()
    #6 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #7 /mnt/web203/e2/03/56733103/htdocs/domain/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(115): apply_filters()
    #8 /mnt/web203/e2/03/56733103/htdocs/domain/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(207): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()
    #9 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable()
    #10 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #11 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/post.php(4726): do_action()
    #13 /mnt/web203/e2/03/56733103/htdocs/domain/wp-includes/post.php(4817): wp_insert_post()
    #14 /mnt/web203/e2/03/56733103/htdocs/domain/wp-admin/includes/post.php(439): wp_update_post()
    #15 /mnt/web203/e2/03/56733103/htdocs/domain/wp-admin/post.php(227): edit_post()
    #16 {main}
      thrown
    
    • This topic was modified 2 years, 4 months ago by Ringknipser. Reason: formatting
    #1406888
    Tom
    Guest

    Hi Kriesi,

    Could you please help us out? We’ve got an critical error on https://100pbio.com/ after an Enfold update.

    Here is the log:
    2023/05/09 12:03:38 [error] 17615#17615: *45913 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function did_filter() in /www/b100bio_501/public/wp-content/themes/enfold/functions.php:179
    Stack trace:
    #0 /www/b100bio_501/public/wp-settings.php(566): include()
    #1 /www/b100bio_501/public/wp-config.php(138): require_once(‘/www/b100bio_50…’)
    #2 /www/b100bio_501/public/wp-load.php(50): require_once(‘/www/b100bio_50…’)
    #3 /www/b100bio_501/public/wp-blog-header.php(13): require_once(‘/www/b100bio_50…’)
    #4 /www/b100bio_501/public/index.php(17): require(‘/www/b100bio_50…’)
    #5 {main}
    thrown in /www/b100bio_501/public/wp-content/themes/enfold/functions.php on line 179” while reading response header from upstream, client: 81.172.182.21, server: 100pbio.com, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-b100bio.sock:”, host: “100pbio.com:20198”, referrer: “https://100pbio.com/wp-admin/themes.php&#8221;

    Please help.

    Kind regards,
    Tom

    #1406875
    BeeCee
    Participant

    Hi,

    I have a certain problem with ENFOLD which is difficult for me to describe, but i have a suspicion.
    For the moment I just want to know:

    when I look with phpMyAdmin at the database searching for the table avia_options_enfold, where the settings normally are saved, then the table is called
    avia_options_art2023
    because my OLD modified ENFOLD theme was called “art2023”. So far, so okay.

    Due to some problems I have deactivated this modified theme, deleted it from WordPress and the FTP.
    Then I have today installed ENFOLD 5.6.1, made my theme settings NOT via IMPORT, but made the theme settings all manually.

    Why is now at phpMyAdmin not a table avia_options_enfold, instead still avia_options_art2023 although this old theme is deleted from WordPress (multisite, it was active only at one subsite resp. the main site) and it was deleted from FTP.

    Yes, I selected the right database on phpMyAdmin 😉

    BUT:
    —> How can it be, when I look at the above database table afterwards, that it contain the old theme settings from an ENFOLD that is no longer installed (“art2023”)?
    –> or are in this database table only theme settings saved, that have been IMPORTED, i.e. not the newly manually entered setings?

    screen1

    Hey emilconsor,

    Thank you for the inquiry.

    To ensure that the HTML is valid and all containers are closed properly, it’s recommended to check the rendered output of the $outputaddition. And instead of editing the column.php file directly, you should try to create a custom shortcode that renders the PDF download button directly based on the specified conditions above. This way, you can use the custom shortcode directly in the Column element without affecting the column’s structure or output.

    Best regards,
    Ismael

    #1406813

    try using that little snippet in your child theme functions.php:

    function show_date_with_shortcode() { 
      date_default_timezone_set('Europe/Berlin');
      setlocale(LC_TIME, 'de_DE.UTF-8');
      $date = date_i18n( 'l \d\e\n ' . get_option( 'date_format' ) . ' ' . get_option( 'time_format' ). ' \U\h\r'  );
      return $date ;
    }
    add_shortcode( 'show_date', 'show_date_with_shortcode' );

    use it as shortcode in your text : [show_date]

    this is for my german language a binding word \d \e \n will end in Freitag den 17.04.1968
    the rest will be corresponding to your lang settings – but if you like to have that binding word f.e. the then use \t\h\e
    if you don’t like the time in this shortcode – just remove that part:
    $date = date_i18n( 'l \d\e\n ' . get_option( 'date_format' ) );

    ___________

    or style a kind of calendar sheet:

    function datum_shortcode() {
      date_default_timezone_set("Europe/Berlin");
      setlocale(LC_TIME, 'de_DE.UTF8');
      $year = date_i18n('Y');
      $day = date_i18n('d');
      $month = date_i18n('F');
      $weekday = date_i18n('l');
      $weekdaycolor = date_i18n('l') == 'Sonntag' ? 'red': 'gray' ;
      $uhrzeit = date_i18n( get_option( 'time_format' ) );
    
      $datum = '<div id="calendar_sheet"><div class="month-year"><span class="month">'.$month.'</span><span class="year">' .$year.'</span></div><div class="day ' .$weekdaycolor.'">'.$day.'</div><div class="weekday">'.$weekday.'</div><div class="time">'.$uhrzeit.'</div></div>';
      return $datum;
    }
    add_shortcode('calendar_sheet', 'datum_shortcode');

    here use it as shortcode in your text: [calendar_sheet]

    some css for it:

    #calendar_sheet{
    text-align:center;
    display: inline-block;
    border:1px solid #eee;
    border-top:15px solid #0076ba;
    -webkit-box-shadow: 5px 5px 2px #ccc;
    -moz-box-shadow: 5px 5px 2px #ccc;
    box-shadow: 5px 5px 2px #ccc;
    background:#fafafa;
    padding: 5px;
    min-width: 150px;
    }
    
    .month-year .month,
    .month-year .year {
      padding: 0 5px
    }
    
    .day {
      font-size:48px;
      font-weight: bold;
      font-family: times;
      padding: 10px 0 0;
    }
    
    .day.red {
        color: red;
    }
    
    #calendar_sheet .time {
      font-size: 24px;
    }

    see both shortcodes in action on: https://enfold.webers-webdesign.de/3-columns/

    again adjust to your language: so for red Sundays change that Sonntag to Sunday in weekday color ;)
    and change to your local time in these lines:

    date_default_timezone_set("Europe/Berlin");
      setlocale(LC_TIME, 'de_DE.UTF8');
    • This reply was modified 2 years, 4 months ago by Yigit.
    #1406654

    ok – i edited the postslider.php – and for what i like to have i only added just before output article this:
    ( on Enfold 5.6 in postslider.php just before line 937 )

    if( get_post_type( $the_id ) == 'attachment' ){
      $post_class .= 'posttype-attachment ';
    }

    or more common – if you like to add any post-type as class on articles:

    $posttype = get_post_type( $the_id );
    $post_class .= 'posttype-'.$posttype. ' ';

    so if the post_type is attachment this will be found as class to slide_entry. After that it is easy to change the link behavior to not open the attachment page but to open directly a lightbox.

    #1406645
    slauffer
    Participant

    Sehr geehrtes Team,
    Ich wollte eine Enfold 5.4.x Version updaten. PHP war 7.4.x und WordPress war auch recht aktuell. Jetzt stehe ich bei einem ERROR 500-Fehler und komme weder auf das WordPress-Backend noch auf die Website. Was kann das sein?
    Über Hilfe würde ich mich sehr freuen!
    Mit freundlichem Gruß
    Simone Lauffer

    #1406639

    Hi,
    If you want to create a shipping option you will need to use a plugin, if you only want to show that a specific product has a shipping method for customer info try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_action( 'woocommerce_single_product_summary', 'product_attribute_dimensions', 25 );
    function product_attribute_dimensions(){
        global $product;
        $taxonomies = array('express');
        foreach($taxonomies as $taxonomy ){
            $value = $product->get_attribute( $taxonomy );
            if ( $value ) {
                $attribute_label_name = wc_attribute_label( $taxonomy );
    			echo '<p>Express Shipping:' . $value . '</p>';
            }
        }
    }

    the in your product attributes add a custom attribute named express with the value you wish 24/48 H
    Enfold_Support_2000.jpeg
    Then on the product page the attribute will show under the description and in the Additional information tab:
    Enfold_Support_2004.jpeg

    Best regards,
    Mike

    #1406616

    Hey mexi33330,
    Please ensure that you are using Enfold v5.6 and a minimum of PHP v7.4, if this is true then try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause.
    If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    #1406608

    Hey paulasworld,
    I see your site is using Enfold v4.7.5 with WordPress v6.11 and PHP v8, this version of the theme doesn’t support these so you will need to update.
    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

    #1406590

    In reply to: Please help

    Hey Paula Apro,
    Thank you for your patience, unfortunately, I couldn’t find your old or new email address registered in the support forum, please try to register your Purchase Code here
    I see your site is using Enfold v4.7.5 with WordPress v6.11 and PHP v8, this version of the theme doesn’t support these so you will need to update.
    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

    #1406458

    which one of that code? here: https://kriesi.at/support/topic/full-screen-hamburger-menu-with-video-background/#post-1404878

    if you read you see the warning : line-breaks will not work on that

    use this:

    function add_video_to_hamburger_background() { 
    ?>
    <script type="text/javascript">
    (function($){
    	$('#header').one('click', '.av-main-nav-wrap' , function() {
    		setTimeout( function() {		  
    			$('.av-burger-overlay').append('<div class="video_burger_bg"><video autoplay="" loop="" class="video_style" style="width: 2226px; height: 1252px; top: 0px; left: -248px;"><source src="https://milano.beantown.website/wp-content/uploads/menu.m4v" type="video/mp4"><source src="https://milano.beantown.website/wp-content/uploads/menu.webm" type="video/webm"><source src="https://milano.beantown.website/wp-content/uploads/menu.ogv" type="video/ogv"><img src="https://milano.beantown.website/wp-content/uploads/menu.jpg" alt="background"></video></div>');		 
    		},300);   
    	});
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'add_video_to_hamburger_background');

    can you show us your site?

    #1406432

    Topic: Bug Enfold

    in forum Enfold
    Aurorer92
    Participant

    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é renvoyée dans la ligne 179 du fichier /home/jtvb4693/public_html/wp- content/themes/enfold/fonctions.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 {principal}
    lancé

    Un free lance que j’ai contacté pense à un piratage, qu’en pensez-vous ? Il me dit que c’est une erreur qui ne peut arriver comme ça sur mon thème.

    This reply has been marked as private.
    #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, 5 months ago by newmediologo. Reason: Check other browsers
    • This reply was modified 2 years, 5 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

Viewing 30 results - 1,171 through 1,200 (of 16,716 total)