Viewing 30 results - 271 through 300 (of 16,897 total)
  • Author
    Search Results
  • #1485898
    ArjanDenHaag
    Participant

    Hello,
    I have created a webshop in Enfold and it’s online for some weeks now. Suddenly, when I now want to change a page, the Enfold builder keeps loading and loading. I do have an error:
    [Wed Jun 25 17:15:24.316261 2025] [error] [pid 2241641] mod_proxy_fcgi.c(911): [client 80.69.66.83:0] AH01071: Got error ‘PHP message: PHP Warning: session_start(): open(/data/sites/web/plantenbloemenshopnl/tmp/sess_19d3d7d790334ec4a47fef4459fab6f9, O_RDWR) failed: File too large (27) in /data/sites/web/plantenbloemenshopnl/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 112; PHP message: PHP Warning: session_start(): Failed to read session data: files (path: /data/sites/web/plantenbloemenshopnl/tmp) in /data/sites/web/plantenbloemenshopnl/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 112’

    What could be wrong and what is the solution? Kindly need your support. I did have contact with the web hosting and I cannot change settings like WP_Memory_Limit.

    Looking forward for your reply,
    With kind regards,
    Arjan

    onlineprodcontent
    Participant

    So I have Enfold 6.x / LS 7.12.4 on our live site, and Enfold 7.1.1 / LS 7.14.4 on a staging clone.

    On both sites, I can open the wp-admin/admin.php?page=layerslider main admin page. But I can not edit a single LayerSlider slide any more. We rarely do this, so I don’t know when it stopped working.

    When loading a slider for editing, the blue loading layer of LayerSlider just stays on top forever. No JS Console messages, and even with WP DEBUG enabled, no serverside errors or messages.
    On the LayerSlider Admin page, an update of LS is announced, this is of course not yet included in Enfold. Would that solve the problem? What else could resolve this problem?
    Regards
    Ulrich

    #1485870

    Hey Darren Dittrich,

    Thank you for the inquiry.

    And one more: is this v4.0 Enfold compatible with the latest WP 6.8.1 and PHP7.4?

    The latest version of the theme is 7.1.1, so the version currently installed is a bit outdated. You may need to download the latest version from your ThemeForest account and update the theme manually via FTP.

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

    It would also be good if we could register a support account, and possibly have this purchase tranferred to (Email address hidden if logged out) since the person who bought this plugin is no longer associated with this site.

    Unfortunately, we don’t handle any sales-related inquiries in the forum. You will need to forward this issue to the ThemeForest team.

    Let us know if you need more info.

    Best regards,
    Ismael

    #1485860
    Darren Dittrich
    Guest

    Hi, thanks for your help many years ago (see my email support from (Email address hidden if logged out) )!
    We’ve updated this old client to v4.0 of Enfold, which has helped with PHP errors. But we’re still getting this error on every Save or Save Settings button:

    [Back Popup] : Saving didnt work!
    Please reload the page and try again

    It would also be good if we could register a support account, and possibly have this purchase tranferred to (Email address hidden if logged out) since the person who bought this plugin is no longer associated with this site.

    And one more: is this v4.0 Enfold compatible with the latest WP 6.8.1 and PHP7.4? We’d like to move this to a more modern hosting platform. Thanks!

    #1485810

    In reply to: MySql version

    I am doing some tests in clean versions of wordpress,last version.
    On this server, in the main root, it is installed regularly:
    Architettura del server Linux 3.10.0-1160.119.1.el7.x86_64 x86_64
    Server web Apache
    Versione di PHP 8.2.24 (supporta valori a 64bit)
    PHP SAPI fpm-fcgi
    Variabile PHP max input 10000
    Limite di tempo PHP 300
    Limite di memoria PHP 256M
    Max input time 240
    Dimensione massima di upload dei file 256M
    Dimensione massima del post PHP 256M
    Estensione del database mysqli
    Versione del server 10.6.19-MariaDB-log
    Versione del client mysqlnd 8.2.24
    ////////////
    On this server where I need the installation, in a subfolder of the root, it doesn’t give me any error message, it stays loading but doesn’t install:
    Architettura del server Linux 5.15.0-124-generic x86_64
    Server web Apache
    Versione di PHP 8.2.28 (supporta valori a 64bit)
    PHP SAPI fpm-fcgi
    Variabile PHP max input 10000
    Limite di tempo PHP 900
    Limite di memoria PHP 1024M
    Max input time 300
    Dimensione massima di upload dei file 1024M
    Dimensione massima del post PHP 512M
    Estensione del database mysqli
    Versione del server 8.0.41-32
    Versione del client mysqlnd 8.2.28

    #1485751

    Hey Ernst Grubbauer,
    Thank you for the login, please note that your version 4.1.2 is not compatible with PHP 8+, and it can not be updated in the theme, due to how Envato (Theme Forest) changed from a API key to a Token. Unfortunately this occurs when a old “developer” buys the theme in their Envato account and doesn’t create an account for the customer. Envato will not transfer the license nor issue a new license.
    Due to our exclusive contract with Envato we can not issue licenses.
    Your customer should create an account with Envato and purchase a new license The upside to this is that by purchasing a new license you will also get 6 months of support on our forum to help with any issues. I recommend upgrading to a full year of support for just a little more, as the cost of the theme and a full year of support costs the same as a single hour of support from many developers. 2022-12-04_001.jpeg.
    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
    Please note that using the contact form is not appropriate for support questions, please log in to the support forum and open a new thread if you need further assistance.
    After you purchase a new license you can register for the support forum and post your questions.

    Best regards,
    Mike

    This reply has been marked as private.
    #1485659

    Hi,

    Thank you for the screenshots.

    How did you set the font? It’s only loading on the homepage, probably because you have selected the fonts in the layer slider settings and it only loads on pages where the slider is present. You will need to manually load the fonts on other pages as well.

     	<link href="https://fonts.googleapis.com/css?family=Jost:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i%7CFraunces:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
    

    Please try this code in the functions.php file:

    function ava_load_custom_fonts() {
        wp_enqueue_style(
            'ava-custom-google-fonts',
            'https://fonts.googleapis.com/css?family=Jost:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|Fraunces:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i',
            false
        );
    }
    add_action('wp_enqueue_scripts', 'ava_load_custom_fonts');
    

    Best regards,
    Ismael

    #1485615

    Hi,

    However, I believe there may have been a misunderstanding regarding the issue. The problem is not with the icon itself or its aria-hidden attribute, but with the structure and function of the link that wraps the icon.

    If we’re not mistaken, the issue occurs because the SVG icon includes the aria-hidden attribute, which makes it unreadable to accessibility tools. As a result, the parent link is marked as “suspicious” since the icon is hidden and the link lacks any accessible text or description. The span avia_hidden_link_text, which contains the word “Search” also has its display property set to none, making it inaccessible to screen readers as well.

    Removing the aria-hidden attribute from the SVG icon or adjusting the visibility of the avia_hidden_link_text should help.

    #top .avia_hidden_link_text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    You can also try editing the enfold/includes/config-enfold/functions-enfold.php, around line 125, change the text “Search” to “Click here to search”.

    $items .=			'<span class="avia_hidden_link_text">' . __( 'Click Here to Search', 'avia_framework' ) . '</span>';
    

    According to https://wave.webaim.org/, screen readers tend to better interpret buttons or links when it contains more descriptive text.

    View post on imgur.com

    If this doesn’t help, you can always try the suggestions above.

    Let us know the result.

    Best regards,
    Ismael

    #1485575

    hi sorry for late reply.
    as i havent checked it for many days.
    I am using litespeed server. Theme iversion 7.1 s is on default settings
    I try to check by using child theme https://sunlithenergy.com/index.php/blog/blog-grid/
    same problem.
    Your theme support litespeed swerver and cache?

    #1485574
    This reply has been marked as private.

    Hey hostworks,

    Thank you for the inquiry.

    You’ll find the main wrapper that contains all the content in the themes/enfold/header.php file, so creating or overriding the template in your child theme is the cleanest approach. Look for this code around line 279:

    
    <div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting( 'header_scroll_offset' ); ?>'>
    
    

    Let us know if you have more questions.

    Best regards,
    Ismael

    #1485467

    Hey Jake,
    While I don’t expect any issues with updating from v3.85 to v7.1.1, I recommend creating a full site backup with your web host backup tool, not a plugin, as good practice.
    If they are not using a a Child Theme check the functions.php for any customizations that they may have added, it will be lost in the update. If they are using a child theme, and have any customized php files like header.php or footer.php or any element php files, save these to your computer and remove them from the server before updating. With a version this old they will cause errors, you will need to copy the new version of the files and make the changes to them before adding them to the child theme.
    Typically a good practice is to create a staging site first and update it and then compare the two sites for any difference, if this works fine then update the live site.
    If you have any further questions please register to our support forum here and create a new thread and we will gladly try to help you.
    You have asked your question through the contact form which is not for support requests.
    Thank you for your understanding and for using Enfold.

    Best regards,
    Mike

    #1485356

    In reply to: 7 Spalten Mega Menu

    Hi,

    Try to replace the content of the class-responsive-mega-menu.php file with the following code:

    https://pastebin.com/s3N87rGC

    Let us know the result.

    View post on imgur.com

    Best regards,
    Ismael

    can you put this to your child-theme functions.php:

    
    function admin_head_mod() {
    echo '<style type="text/css">
      #avia_quick_css .avia_description {float: none;margin-bottom: 20px !important;padding-left: 0 !important;width: 98%}
      #avia_quick_css .avia_control {float: left;max-width: 98% !important;width: 98% !important}
      .avia_footer_links li {float: left;padding-right: 20px}
      .avia_footer .avia_footer_save {float: left}
      .avia_reset {display: none !important } 
      #avia_options_page { max-width: 3000px!important}
      #avia_options_page textarea {border: 3px solid #2271b1;min-height: 500px; height: unset}
    </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    

    i think there is now an option to hide the reset button – but it is inside this code too.

    Hi,

    Thanks for reaching out.

    The theme automatically increases the image quality to 100%, but the WordPress default is only 82%. This can be adjusted by using the following filters in the functions.php file:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); 
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); 
    function avf_set_quality_mod($quality) { $quality = 60; return $quality;}
    

    We recommend setting this to 70 or lower, then install an image compression plugin such as ShortPixel or Smush to further reduce file size and optimize the images. You may need to regenerate the thumbnails after the quality adjustment.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    #1485019
    Paul McMahon
    Guest

    Hi, Firstly apologies about sending you questions this way but as I do not have a licence number I cannot register. Secondly, Thank you for responding to my question yesterday Subject: Wp Installation and Licence. I doubled the amount of memory allocated in php.ini and the dashbostad now works, thank you. But the site runs Enfold V4.7.6.3 and I see Enfold is now at V7. Do I need the licence number for the update?
    Thanks
    Paul McMahon

    cobaltsapphire
    Participant

    My website fogelcapital.com is showing a critical error message and then I got an email that says the following:

    “In this case, WordPress caught an error with your theme, Enfold.
    First, visit your website (https://fogelcapital.com/) and check for any visible issues. Next, visit the page where the error was caught (https://fogelcapital.com/wp-admin/admin-ajax.php) and check for any visible issues.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.8.1
    Active theme: Enfold (version 7.1.1)
    Current plugin: (version )
    PHP version 8.3.21

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 9 of the file /home2/pfwbtqmy/public_html/website_6a3a6c27/wp-content/themes/enfold/includes/loop-menu.php. Error message: Cannot declare class _keys, because the name is already in use”

    The interesting part is that the site I built on the temporary domain https://fcm.cobaltsapphire.com/ is not displaying the same error or having any problems with the theme.

    #1484983
    Rabe, Matthias
    Guest

    Guten Abend,
    wir verwendeten bis zur Enfold Version 7.0 immer das 7 Spalten mega menu. Nun finden wir diese helper-responsive-megamenu.php nicht mehr.
    Wo finden wir diese nun ? Oder bitte eine Anweisung was wir machen müssen um wieder ein 7 Spalten Mega menu zu haben. Vielen Dank und entschuldigt, wenn ich so diese Anfrage einreiche. Grüße
    Matti

    #1484973
    Paul McMahon
    Guest

    HI,I’ve taken over the management of a website that uses your Enfold theme. I’ve been working the site for a few years now and more or less everything has been ok until recently. Now when I login to the worpress dashboard I sometimes get the dashboard displayed but as soon as I try to progress beyond that point I get a “There has been a critical error on this website. Please check your site admin email inbox for instructions.”. The site is running Enfold V 4.7.6.3 under WP version 6.4.5. Unfortunately as I did not build the site in the first place I do not have the licence number unless it is stored somewhere in the MySQL database. If I download and install a later version of Enfold will I have to provide the licence number during the installation? The website (www.aeromechanisms.com is working fine, I just can’t edit it.

    The error log reports the following:
    [02-Jun-2025 09:21:15 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php on line 571
    [02-Jun-2025 09:21:15 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php on line 90
    [02-Jun-2025 09:21:15 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1072
    [02-Jun-2025 09:36:20 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 929
    [02-Jun-2025 09:36:20 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 929
    [02-Jun-2025 09:36:21 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 929
    [02-Jun-2025 09:48:43 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/meaams/public_html/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/AbstractSchema.php on line 98
    Thanks
    Paul McMahon

    #1484899

    Hey syberknight-tb,
    Unfortunately, we don’t have an element that will achieve this for you in the theme, while there are many plugins that may work for you, when I check some of them they don’t quite match, but if you spend more time testing each one you may find one.
    I was able to create something that may work for you using javascript and HTML in a shortcode, on mobile it shows 1 1/2 team member cards with prev & next arrows and loop when you click to the end:
    Screen Shot 2025 05 31 at 9.41.31 AM
    on tablet it shows 2 1/2 cards:
    Screen Shot 2025 05 31 at 9.43.47 AM
    and on desktop it shows 3 1/2 cards:
    Screen Shot 2025 05 31 at 9.45.40 AM
    As is it holds 8 cards, you can add more or have less, you will need to edit the HTML to add your images and text, hopefully you will be able to do this:
    Screen Shot 2025 05 31 at 9.50.45 AM
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor, If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the code below and save.

    function team_carousel_shortcode() {
        ob_start(); ?>
        
        <div class="carousel-container">
            <button id="prevBtn">←</button>
            <div class="carousel">
                <div class="carousel-track">
                    <!-- START: Team Members -->
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 1"><p>Member 1<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 2"><p>Member 2<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 3"><p>Member 3<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 4"><p>Member 4<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 5"><p>Member 5<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 6"><p>Member 6<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 7"><p>Member 7<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 8"><p>Member 8<br>A short bio for the team member</p></div>
            <!-- END: Team Members -->
                </div>
            </div>
            <button id="nextBtn">→</button>
        </div>
    
        <style>
        .carousel-container {
            position: relative;
            width: 80%;
            overflow: visible;
            margin: auto;
        }
    
        .carousel {
            overflow: hidden;
            width: 100%;
        }
    
        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
    
        .card {
            box-sizing: border-box;
            padding: 10px;
            background: #e8e8e8;
            margin: 5px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
    
        @media only screen and (max-width: 767px) { 
            .card { flex: 0 0 62%; }
        }
    
        @media only screen and (min-width: 768px) and (max-width: 1800px) { 
            .card { flex: 0 0 38%; }
        }
    
        @media only screen and (min-width: 1801px) { 
            .card { flex: 0 0 28%; }
        }
    
        .card p {
            color: #000;
         }
    	.card img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 100%;
        }
    
        #nextBtn, #prevBtn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #000;
            border: 2px solid #000;
            padding: 10px;
            cursor: pointer;
            z-index: 10;
        }
    
        #prevBtn { left: -50px; }
        #nextBtn { right: -50px; }
        </style>
    
        <script>
        document.addEventListener('DOMContentLoaded', function () {
            const track = document.querySelector('.carousel-track');
            const cards = document.querySelectorAll('.card');
            const prevBtn = document.getElementById('prevBtn');
            const nextBtn = document.getElementById('nextBtn');
    
            let currentIndex = 0;
            let cardWidth = cards[0].offsetWidth + 20;
    
            function updateCarousel() {
                const shift = currentIndex * cardWidth;
                track.style.transform = translateX(-${shift}px);
            }
    
            function moveToNext() {
                currentIndex++;
                if (currentIndex >= cards.length) {
                    currentIndex = 0;
                }
                updateCarousel();
            }
    
            function moveToPrev() {
                currentIndex--;
                if (currentIndex < 0) {
                    currentIndex = cards.length - 1;
                }
                updateCarousel();
            }
    
            nextBtn.addEventListener('click', moveToNext);
            prevBtn.addEventListener('click', moveToPrev);
    
            window.addEventListener('resize', () => {
                cardWidth = cards[0].offsetWidth + 20;
                updateCarousel();
            });
        });
        </script>
    
        <?php
        return do_shortcode(ob_get_clean());
    }
    add_shortcode('team_carousel', 'team_carousel_shortcode');

    Then add this shortcode in a code block element on your page: [team_carousel]
    Feel free to adjust the colors in the css in the code.

    Best regards,
    Mike

    #1484848

    Hey Sonia,

    Sorry for the delay. The theme automatically sets the quality of uploaded images to 100%, but this should not be the reason why the generated files are larger than the originals. Did you install any plugins related to images or compression?

    If necessary, you can reset the image quality to the WordPress default by adding this code to the functions.php file.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 70; return $quality;}
    

    You may need to regenerate the thumbnails afterward.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Make sure to create a site backup or restore point before regenerating the thumbnails.

    Best regards,
    Ismael

    #1484728
    aron8778
    Participant

    Hi,

    I have Enfold 7.1 running PHP 8.4.7 through Siteground and the masonry gallery is not appearing plus, mega menu not appearing correctly and other things not working right like the normal gallery.

    I have disabled plugins and checked
    Reinstalled the theme and checked

    If you see the link attached, scroll down on homepage under – Our Driveway Solutions For Nottingham
    Also hover over the mega menu
    Also check the gallery on the link provided, this doesnt load and when you click on the image it opens from the media library

    Can someone please help as I am not sure what else I can do now?
    Thanks
    Aron

    Elisa
    Guest

    Hello Kriesi team,

    I’m facing a somewhat delicate situation with a WordPress site that needs to be updated. Currently, the site is running a rather old version of WordPress (4.8.5) with your Enfold theme installed in version 4.0.7, all running on PHP 7.2.

    My goal is to update the site to the latest version of WordPress, the latest version of Enfold, and also upgrade PHP to version 8.2. However, I’m aware that doing this directly may lead to compatibility issues and failures due to the large gap between versions.

    That’s why, before purchasing a new license for your Enfold theme, I’d like to know whether buying it would give me access to previous theme versions as well (intermediate versions between 4.0.7 and the latest), so I can carry out a gradual and controlled update process, minimizing the risk of issues. I would also appreciate any guidance you could provide on how many intermediate versions I should use, and at which stages, following the successive WordPress updates.

    Thank you very much for your attention. I look forward to your reply so I can make an informed decision.

    Best regards

    #1484647

    Hey Sven,
    Your site is reporting a 404 error (file not found) for your icon fonts:
    Screen Shot 2025 05 25 at 6.51.50 AM
    This affects your social icons and the other icons on your page:
    Screen Shot 2025 05 25 at 7.07.21 AM
    It looks like the only fonts loading are from this location: /wp-content/uploads/themepunch/gfonts/ which may be from a plugin, or perhaps your WP Rocket plugin is causing the fonts to not load.
    The first step is to disable all of your plugins and check again. If this doesn’t help leave all of your plugins disabled and include a admin login so we can examine.
    I see that you are using a child theme, if you have a old copy of header.php or footer.php in your child theme, please remove these, as this is the top reason for errors after updating.

    Best regards,
    Mike

    #1484614

    Hi,
    Thank you for your patience, when I test your snippet above I find that the quotes have been converted to curly quotes which break the code.
    If I correct them first, they work correctly in the code block element:
    Screen Shot 2025 05 24 at 12.25.29 PM
    Screen Shot 2025 05 24 at 12.41.37 PM
    when using a code snippet like this the code block element is the correct element to use because the PayPal snippet is calling a function from the PayPal site which will run in the backend editor where you don’t want it to. The visual mode of the text editor will run the code, but the code block element will not.
    If you really want to use the text block element, then use the code tab and do not switch to the visual tab. Here I show that this works, in the code tab you see the code and the preview shows the button:
    Screen Shot 2025 05 24 at 12.52.08 PM
    at this point click “save” and not the visual tab and the button is shown in the editor, which means that WordPress is running the code in the text element in the backend.
    Now you can update the page and view the frontend:
    Screen Shot 2025 05 24 at 12.57.48 PM
    This is the corrected code snippet that I used:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
    <input type="hidden" name="cmd" value="_s-xclick" />
    <input type="hidden" name="hosted_button_id" value="H87UB2HDHP3GS" />
    <table>
    <tr>
    <td>
    <input type="hidden" name="on0" value="Options for Brondanw & Nantclwyd only"/>
    Options for Brondanw & Nantclwyd only
    </td>
    </tr>
    <tr>
    <td>
    <select name="os0">
    <option value="Member">
    Member £17.00 GBP
    </option>
    <option value="Guest">
    Guest £19.00 GBP
    </option>
    <option value="2 Members">
    2 Members £34.00 GBP
    </option>
    <option value="1 Member + 1 Guest">
    1 Member + 1 Guest £36.00 GBP
    </option>
    <option value="Child under 16">
    Child under 16 £10.00 GBP
    </option>
    </select>
    </td>
    </tr>
    </table>
    <input type="hidden" name="currency_code" value="GBP" />
    <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_cart_LG.gif" border="0" name="submit" title="PayPal – The safer, easier way to pay online!" alt="Add to Cart" />
    </form>

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    To prevent your code snippet from changing if you want to edit the text block element in the future, such as adding text around the button, we will create a shortcode for your button, by adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function paypal_button_shortcode() {
        ob_start(); ?>
        
        <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
            <input type="hidden" name="cmd" value="_s-xclick" />
            <input type="hidden" name="hosted_button_id" value="H87UB2HDHP3GS" />
            <table>
                <tr>
                    <td>
                        <input type="hidden" name="on0" value="Options for Brondanw & Nantclwyd only" />
                        Options for Brondanw & Nantclwyd only
                    </td>
                </tr>
                <tr>
                    <td>
                        <select name="os0">
                            <option value="Member">Member £17.00 GBP</option>
                            <option value="Guest">Guest £19.00 GBP</option>
                            <option value="2 Members">2 Members £34.00 GBP</option>
                            <option value="1 Member + 1 Guest">1 Member + 1 Guest £36.00 GBP</option>
                            <option value="Child under 16">Child under 16 £10.00 GBP</option>
                        </select>
                    </td>
                </tr>
            </table>
            <input type="hidden" name="currency_code" value="GBP" />
            <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_cart_LG.gif" border="0" name="submit" title="PayPal – The safer, easier way to pay online!" alt="Add to Cart" />
        </form>
    
        <?php
        return ob_get_clean();
    }
    add_shortcode('paypal_button', 'paypal_button_shortcode');
    

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Then in your text block element use this shortcode [paypal_button]
    Screen Shot 2025 05 24 at 1.16.48 PM
    in the backend you will only see the shorcode:
    Screen Shot 2025 05 24 at 1.16.48 PM
    and on the frontend the button shows:
    Screen Shot 2025 05 24 at 1.20.15 PM

    Best regards,
    Mike

    #1484592

    Topic: difference on 2 pages

    in forum Enfold
    schweg33
    Participant

    Hello together
    I got a script from Guenni007:
    Enter the command (Ctrl + F ) in the content in a line in html
    and then open this command with a mouse click.
    Insert the snippset in the Function.php and a script in Quick CSS
    I have done this on this page:
    Link 01 see below:
    I search for “Batliner” and the name is found 34 times.
    Link 02 see below:
    I search for “Batliner” and the name is not found once.
    I search for “Bat” and the name is found 34 times.
    What is the difference between these two pages, I just can’t find it.
    best regards Franz

    #1484565

    Hi,

    Will that happen wherever Masonry appears?

    Yes, for some reason, it executes a function intended for Woocommerce. Try editing the file at enfold/config-templatebuilder/avia-shortcode-legacy/av-helper-masonry.php and look for the following code around line 1273:

    if ( function_exists( 'WC' ) ) {
    	avia_wc_clear_catalog_ordering_args_filters();
    	$avia_config['woocommerce']['disable_sorting_options'] = false;
    }

    Replace it with:

    if ( function_exists( 'WC' ) && ! class_exists( 'BigCommerce' ) ) {
    	avia_wc_clear_catalog_ordering_args_filters();
    	$avia_config['woocommerce']['disable_sorting_options'] = false;
    }

    Let us know if the issue persists.

    Best regards,
    Ismael

    #1484540
    panoptic2012
    Participant

    Hello,

    I’m trying to run a BigCommerce store using the Enfold theme, but there’s a critical error that’s giving the white screen of death when I try to view the homepage. The back-end stays up and running, but when the BigCommerce plugin is active, the site doesn’t exist. I’d love to keep using the Enfold theme and would hate to have to use something else for this site. Any help would be greatly appreciated!

    WordPress version 6.8.1
    Active theme: Enfold Child (version 1.0) Current plugin: (version ) PHP version 8.2.18

    Error Details
    =============
    An error of type E_ERROR was caused in line 1602 of the file /home1/enginendo/public_html/cjm/wp-content/themes/enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php. Error message: Uncaught Error: Call to undefined function avia_wc_clear_catalog_ordering_args_filters() in /home1/enginendo/public_html/cjm/wp-content/themes/enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php:1602
    Stack trace:
    #0 /home1/enginendo/public_html/cjm/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php(753): avia_masonry->query_entries(Array, false)
    #1 /home1/enginendo/public_html/cjm/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php(810): avia_sc_masonry_entries->get_element_styles(Array)
    #2 /home1/enginendo/public_html/cjm/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1178): avia_sc_masonry_entries->shortcode_handler(Array, ”, ‘av_masonry_entr…’, Array)
    #3 /home1/enginendo/public_html/cjm/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_masonry_entr…’)
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /home1/enginendo/public_html/cjm/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(av_but…’, ‘do_shortcode_ta…’, ‘[av_slidesho…’)
    #6 /home1/enginendo/public_html/cjm/wp-includes/class-wp-hook.php(324): do_shortcode(‘[av_slidesho…’)
    #7 /home1/enginendo/public_html/cjm/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[av_slidesho…’, Array)
    #8 /home1/enginendo/public_html/cjm/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(137): apply_filters(‘the_content’, ‘

    #1484538
    NicomIT
    Participant

    I am getting a flood of deprecation warnings in my error_log file and it is slowing down our server’s performance, especially noticeable when editing posts and pages.

    It appears the offending functions are:
    av_icon_char
    av_icon_class
    av_icon_string

    I cannot find information on what the correct replacements are. Is this something you can help me with?

    Here are some samples of how we are currently using these functions.

    av_icon_char
    $icon = av_icon_char( ‘search’ );

    av_icon_string
    $class = av_icon_class( ‘search’ );

    av_icon_string
    ‘ id=’scroll-top-link’ <?php echo av_icon_string(‘scrolltop’); ?>><span class=”avia_hidden_link_text”><?php _e(‘Scroll to top’, ‘avia_framework’);?></span>

    Here are some examples from the error_log file:

    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_char is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_class is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_char is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_class is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121

    Our error_log file grows about 200 MB per day.

    Can you please direct me on how we can update our child theme to address these deprecation warnings?

Viewing 30 results - 271 through 300 (of 16,897 total)