Viewing 30 results - 2,461 through 2,490 (of 16,897 total)
  • Author
    Search Results
  • #1334599
    blaircomm1
    Participant

    With the last update in Enfold, 4.8.8.1, all the code for social icons in the burger menu no longer works. I found these new items which make it show, but it is non functional and partially hidden: https://kriesi.at/support/topic/adding-social-icons-to-enfold-burger-menu/

    I added both the new php and the css.

    I cannot get my old CSS to work no matter what I do. The icons sort of show up, but are cut off and I cannot style them with CSS — plus the Linkedin icon does not show.

    Can you help me get this working again?

    Here is what worked before, both the php and the css:

    ORIGINAL FUNCTIONS.PHP _______________________________________________

    function custom_burger_social_bookmarks_script() { ?>
    <script>
    (function($){
    $(‘#avia-menu’).one(‘click’, function(){
    jQuery(‘ul.social_bookmarks’).clone().wrapInner(‘<div class=”burger_social_bookmarks”/>’).children(0).unwrap().appendTo(‘#av-burger-menu-ul’);
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘custom_burger_social_bookmarks_script’);

    ORIGINAL CSS ___________________________________________________________

    /*—-BURGER MENU—-*/

    /* Responsive flyout width */

    @media only screen and (max-width:767px) {
    .html_av-overlay-side .av-burger-overlay-scroll {
    width: 82% !important;
    }
    }

    /* Social bookmarks */

    #av-burger-menu-ul > .burger_social_bookmarks li a {

    }

    /* Menu overlay */

    #top #header .av-burger-overlay-bg {
    background: #ffffff;
    }
    #top #header .av-burger-overlay-bg {
    opacity: .2;
    }

    /* END Menu overlay */

    /* Menu items background color */

    .html_av-overlay-side #top .av-burger-overlay-scroll {
    background: #f838fa;
    }

    /* END Menu items background color */

    /* Menu items background font size */

    #top #wrap_all #av-burger-menu-ul li {
    font-size: 30px;
    }

    /*END Menu items background font size */

    /* Burger Menu size */

    .av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after {
    width: 40px !important;
    height: 4px !important;
    }

    /* END Burger Menu size */

    /* Burger menu links */

    #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a {
    color:#ffffff;
    }

    /* Overlay menu links */

    #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a:hover {
    color:#444444;
    }

    /* Active menu links */

    #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-item a {
    color:#444444;;
    }

    /* Burger menu icon color on transparent header */

    #header.av_header_transparency .av-burger-menu-main a .av-hamburger-inner,
    #header.av_header_transparency .av-burger-menu-main a .av-hamburger-inner:before,
    #header.av_header_transparency .av-burger-menu-main a .av-hamburger-inner:after {
    background-color: #444444;
    }

    /* END Burger menu icon color on transparent header */

    /*—-END BURGER MENU—-*/

    sunburst90
    Participant

    It often happens on my blog that the media or content plugins deactivate themselves. I think it mainly happens when you start editing a post with the Enfold Editor and then close the tab. It doesn’t only affect the edited post but totally random articles or pages, the Message says the the Media/Content is “Disabled in the theme settings”

    To fix the problem you have to open and save each article, then it works again.

    Wordpress: 5.8.2
    Enfold 4.8.5
    PHP: 7.3.33-1+0~20211119.91+debian10~1.gbp618351
    (the problem already existed in prior WP and Enfold versions)

    #1334452
    Melissa Blunden
    Guest

    Hello again,
    I am looking for support “replacing” the header.php for footer problems as I do not know how to do that. I am not a developer. If someone from your theme support could please log into our account and replace this, we can continue to update our theme. Thank you.

    The solution proposed: Footer disappearing; it’s likely that this is due to header.php being overridden in your child theme, please try updating that file with the content from the same file in the current version of the theme.
    I need support doing this.

    I cannot reply to your response, so I have copy/paste it here:

    October 1, 2021 at 10:07 pm #1323201
    Melissa Blunden
    Hello,
    our website designer set us up with an Enfold account, however now when I try to update the theme to the newest version, I am getting a lot of errors. The errors include:
    Footer disappearing – I reverted back to an older version of the website to avoid this
    Avia Layout Builder disappearing – I cannot get the PHP to update to fix this issue.
    Now when I got to update the theme, I get a warning saying “Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.”
    Since we have a $14,000 custom website, I do not want to update and lose all the customization we paid for. Is there any way these issues can be solved?

    October 2, 2021 at 7:19 am #1323249

    Rikard
    Moderator
    Hi Melissa,

    Footer disappearing; it’s likely that this is due to header.php being overridden in your child theme, please try updating that file with the content from the same file in the current version of the theme.

    Builder disappearing; it looks fine on my end, does this only happen on specific pages, or after updating to the latest version?

    Warning; you are already using a child theme.

    Best regards,
    Rikard

    #1334314

    In reply to: move blog meta to top

    Hey Matthew,

    Thank you for the inquiry.

    Have you tried selecting a different Blog Styling in the Enfold > Blog Layout panel? You can also modify the includes > loop-index.php file and move the block of code starting from 415 to 514 around line 374.

    Best regards,
    Ismael

    #1334284
    LesleyJean
    Participant

    After updating to 4.8.8.1 we tried to get into our homepage and were greeted with this (site is still working on the front end):

    Fatal error: Uncaught Error: Call to a member function get_class_string() on null in /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php:1447 Stack trace: #0 /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php(872): avia_partner_logo->html() #1 /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1123): avia_sc_partner_logo->shortcode_handler(Array, ‘<br />\n[av_part…’, ‘av_partner’, Array) #2 /home/customer/www/[WEBSITE]/public_html/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_part…’, ‘av_partner’) #3 [internal function]: do_shortcode_tag(Array) #4 /home/customer/www/[WEBSITE]/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_hea.. in /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php on line 1447
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    #1334275
    chrisdempsey78
    Participant

    I am looking after a website built by another developer and updated Enfold 3.2.3 to the latest version 4.8.8.1.

    There is an issue with the main menu on desktop screens, an additional text item named Menu appears at the right side. When clicked a flyout menu appears including the second level navigation items that would usually be a dropdown on larger screens.

    I suspect the extra text Menu item is mean to be the Burger icon but I can’t figure the correct settings to use.

    The page source shows the extra text Menu item is currently

    <li class="av-burger-menu-main menu-item-avia-special ">
    	<a href="#" aria-label="Menu" aria-hidden="false">
    		<span class="av-hamburger av-hamburger--spin av-js-hamburger av-inserted-main-menu is-active">
    			<span class="av-hamburger-box">
    	          <span class="av-hamburger-inner"></span>
    	          <strong>Menu</strong>
    			</span>
    		</span>
    		<span class="avia_hidden_link_text">Menu</span>
    	</a>
    </li>

    Can anyone suggest how configure Enfold so that

    • On desktop the Main Menu shows as text with some dropdowns on hover
    • On mobile the Main Menu is a Burger icon with Flyout on tap

    Enfold Settings
    Enfold > Theme Options > Main Menu: Menu Items for Desktop = Display as icon
    Enfold > Theme Options > Main Menu: Burger/Mobile Menu
    Menu Icon Submenu items = Display submenu items on click
    Menu Icon Style = Default
    Menu Overlay Style = Sidebar Flyout Menu (Classic)

    Environment
    WordPress 5.8.2
    PHP 7.4.27
    Enfold 4.8.8.1
    Plugins
    Classic Widgets
    Enable jQuery Migrate Helper
    WP Super Cache (cache is deleted after each update to Enfold Settings)
    Cloudflare DNS with proxy/cache disabled

    Production and staging urls supplied in Private Content.

    • This topic was modified 4 years, 3 months ago by chrisdempsey78. Reason: Updated for clarity
    #1334237

    Hello!

    KRIESI support already told that the problem is not because ENFOLD Theme, we have contacted WPML Support,
    the answer — it is not because WPML, please contact theme author… Hope to find a solution to resolve this problem.

    We use the latest WordPress, WPML, ENFOLD Theme and PHP8.
    Everything works fine till we switch on WMPL plugins.

    Then our site works extremely slow and also there is an error like:
    cURL error 28: Connection timed out after 5001 milliseconds

    URL: /wp-content/uploads/dynamic_avia/avia-merged-styles-492532152474f1e5ddf8fda33466a455—61d4233e73d3d.css

    aviaAssetManager->generate_file()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:588
    aviaAssetManager->merge()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:214
    aviaAssetManager->try_minifying_scripts()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:101
    do_action(‘wp_enqueue_scripts’)
    wp-includes/plugin.php:470
    wp_enqueue_scripts()
    wp-includes/script-loader.php:2083
    do_action(‘wp_head’)
    wp-includes/plugin.php:470
    wp_head()
    wp-includes/general-template.php:3015
    load_template(‘wp-content/themes/enfold/header.php’)
    wp-includes/template.php:770
    locate_template()
    wp-includes/template.php:716
    get_header()
    wp-includes/general-template.php:48

    please let me know if this error is already known? I hope on your help resolving this issue!

    iretail
    Participant

    Hello!

    KRIESI support already told that the problem is not because ENFOLD Theme, we have contacted WPML Support,
    the answer — it is not because WPML, please contact theme author… Hope to find a solution to resolve this problem.

    We use the latest WordPress, WPML, ENFOLD Theme and PHP8.
    Everything works fine till we switch on WMPL plugins.

    Then our site works extremely slow and also there is an error like:
    cURL error 28: Connection timed out after 5001 milliseconds

    URL: /wp-content/uploads/dynamic_avia/avia-merged-styles-492532152474f1e5ddf8fda33466a455—61d4233e73d3d.css

    aviaAssetManager->generate_file()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:588
    aviaAssetManager->merge()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:214
    aviaAssetManager->try_minifying_scripts()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:101
    do_action(‘wp_enqueue_scripts’)
    wp-includes/plugin.php:470
    wp_enqueue_scripts()
    wp-includes/script-loader.php:2083
    do_action(‘wp_head’)
    wp-includes/plugin.php:470
    wp_head()
    wp-includes/general-template.php:3015
    load_template(‘wp-content/themes/enfold/header.php’)
    wp-includes/template.php:770
    locate_template()
    wp-includes/template.php:716
    get_header()
    wp-includes/general-template.php:48

    please let me know if this error is already known? I hope on your help resolving this issue!

    #1334048

    Unfortunately I still get the error everyday :((

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 390 der Datei /home/.sites/148/site1392455/web/2021/wp-content/themes/enfold/includes/helper-privacy.php verursacht. Fehlermeldung: Uncaught ValueError: setcookie(): Argument #1 ($name) cannot contain “=”, “,”, “;”, ” “, “\t”, “\r”, “\n”, “\013”, or “\014″ in /home/.sites/148/site1392455/web/2021/wp-content/themes/enfold/includes/helper-privacy.php:390
    Stack trace:
    #0 /home/.sites/148/site1392455/web/2021/wp-content/themes/enfold/includes/helper-privacy.php(390): setcookie(‘,_wordpress_tes…’, ‘false’, Array)
    #1 /home/.sites/148/site1392455/web/2021/wp-includes/class-wp-hook.php(303): av_privacy_class->handler_manage_cookies(”)
    #2 /home/.sites/148/site1392455/web/2021/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(1, Array)
    #3 /home/.sites/148/site1392455/web/2021/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home/.sites/148/site1392455/web/2021/wp-settings.php(600): do_action(‘wp_loaded’)
    #5 /home/.sites/148/site1392455/web/2021/wp-config.php(129): require_once(‘/home/.sites/14…’)
    #6 /home/.sites/148/site1392455/web/2021/wp-load.php(50): require_once(‘/home/.sites/14…’)
    #7 /home/.sites/148/site1392455/web/2021/wp-login.php(12): require(‘/home/.sites/14…’)
    #8 {main}
    thrown

    Best regards Barbara

    #1333977

    Hi,

    You can find header.php file from version 4.8.6.4 here – https://pastebin.com/7bfw1Y7K

    If you have noted the version of where you initially copied header.php file, please let us know so we can send you a copy from that version :)

    Best regards,
    Yigit

    #1333880

    Hello,

    We are experiencing the same issue. Still present in version 4.8.8.1.

    Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined method avia_masonry::get_element_styles() in /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:682
    Stack trace:
    #0 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(345): avia_sc_masonry_entries->get_element_styles(Array)
    #1 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(940): aviaShortcodeTemplate->create_header_styles(Array, false)
    #2 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(975): aviaPostCssManagement->css_rules_from_shortcodes(Array)
    #3 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(874): aviaPostCssManagement->css_rules_from_shortcodes(Array, ‘file’)
    #4 /home/aclm/www/wp-content/t…’

    Regards,
    François

    #1333827

    Topic: Duplicate H1

    in forum Enfold
    wock_legacy
    Participant

    Hi,
    Enfold creates duplicate H1-tags. One is the one you write yourself, and the other seems to be auto-generated. This issue has come up before and has been answered: (https://kriesi.at/support/topic/duplicate-h1-tags-in-posts/#post-1116054)

    The OP in the previous thread is asked to remove the code line
    $echo title;
    Which seems to be a working sollution. But it appears twice in encludes -> Loop-index.php

    First one appears in line 314 and looks like this:

    if ( in_array( $blog_style, array( 'bloglist-compact', 'bloglist-excerpt' ) ) ) 
    					{
    						echo $title;
    					}
    					else... 

    The other appears later in the code, at line 371 and looks like this:

    echo $title;
    
                    if( $blog_style !== 'bloglist-compact' )
    				{
                        echo "<span class='post-meta-infos'>";

    I’m including surrounding code for reference.

    Do I remove one of them or both?

    Kind regards,
    David

    Flipper5183
    Participant

    Hi at all,

    I’m using your theme in one of my clients website. Currently the website use a 7.2 php version and I want switch them to php 8.
    So I made a copy of the website migrate it to a staging system on XAMPP.
    The migration via duplicator run normally but at the end when I want to go to the login I reveived the following message:

    “Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in C:\xampp\htdocs\zr1\wp-content\themes\enfold\functions-enfold.php on line 324″

    I found your threat at “https://kriesi.at/support/topic/deprecated-unparenthesized-a-b-c-d-e-is-deprecated/&#8221; and I also made this changes. After this changes I reveived the following message:

    Fatal error: Uncaught Error: Attempt to modify property “config” on null in C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\slideshow_layerslider\slideshow_layerslider.php:28 Stack trace: #0 C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php(65): avia_sc_layerslider->shortcode_insert_button() #1 C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\template-builder.class.php(1305): aviaShortcodeTemplate->__construct(Object(AviaBuilder)) #2 C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\template-builder.class.php(427): AviaBuilder->createShortcode() #3 C:\xampp\htdocs\zr1\wp-includes\class-wp-hook.php(303): AviaBuilder->init(”) #4 C:\xampp\htdocs\zr1\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #5 C:\xampp\htdocs\zr1\wp-includes\plugin.php(470): WP_Hook->do_action(Array) #6 C:\xampp\htdocs\zr1\wp-settings.php(578): do_action(‘init’) #7 C:\xampp\htdocs\zr1\wp-config.php(134): require_once(‘C:\\xampp\\htdocs…’) #8 C:\xampp\htdocs\zr1\wp-load.php(50): require_once(‘C:\\xampp\\htdocs…’) #9 C:\xampp\htdocs\zr1\wp-blog-header.php(13): require_once(‘C:\\xampp\\htdocs…’) #10 C:\xampp\htdocs\zr1\index.php(17): require(‘C:\\xampp\\htdocs…’) #11 {main} thrown in C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\slideshow_layerslider\slideshow_layerslider.php on line 28
    Es gab einen kritischen Fehler auf deiner Website.

    Erfahre mehr über die Problembehandlung in WordPress.

    So I don’t know what to do. And I’m not sure if I can migrate the site to php 8? Thanks for your help

    #1333778

    Hi there,

    the PHP conversion to 7.4 worked and the website runs without error messages.
    It would be nice if you could erase “Enfold-old” from me.
    Thank you very much again for your support. I wish you a Merry Christmas and a Happy New Year.

    Thank you and best regards

    #1333552

    Hi Mike,

    i checked the site – it works perfectly – thank you very much! :-)

    Can I now switch PHP to 7.4 without displaying errors?

    I’m really glad you helped me and provided such great service.

    Thank you very much.

    #1333516
    Marc Bijl
    Participant

    Through e-mail I got the message about a technical error.

    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 311 van het bestand /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php. Foutmelding: Uncaught ValueError: Unknown format specifier "S" in /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php:311
    Stack trace:
    #0 /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php(311): sprintf()
    #1 /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/register-admin-options.php(293): include('...')
    #2 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(246): include('...')
    #3 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(197): avia_superobject->_create_option_arrays()
    #4 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(146): avia_superobject->init()
    #5 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(482): avia_superobject::instance()
    #6 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/avia_framework.php(108): AviaSuperobject()
    #7 /data/www/agsarchitects.net/www/wp-content/themes/enfold/functions.php(196): require_once('...')
    #8 /data/www/agsarchitects.net/www/wp-settings.php(546): include('...')
    #9 /data/www/agsarchitects.net/www/wp-config.php(122): require_once('...')
    #10 /data/www/agsarchitects.net/www/wp-load.php(50): require_once('...')
    #11 /data/www/agsarchitects.net/www/wp-admin/admin.php(34): require_once('...')
    #12 /data/www/agsarchitects.net/www/wp-admin/index.php(10): require_once('...')
    #13 {main}
     thrown

    Trying to login I get a message about a critical error, I guess the error above; this makes me unable to login.

    I’ve seen some related posts, and tried this: https://kriesi.at/support/topic/critical-error-9/#post-1327504

    I cleared browser cache, but it does not make any difference, the error is still there.
    May be because of server cache? But I don’t know how to clear that…

    Really stuck…

    #1333475
    Holger-Germany
    Participant

    Hello Kriesi

    Enfold version: 4.8.8.1
    Footer is not displayed,
    Wordpress is up to date – PHP version 8.0.13
    PLUGINS:
    – Yoast Duplicate Post – Rank Math SEO – Optimus – Honeypot for Contact Form 7 – GA Analytics Germanized – Email Address Encoder – Contact Form 7 – All In One WP Security
    I also installed Embed Calendly for a short time but uninstalle it again.
    Widgets footer column1 and column2 and column3 are activated
    Footer in the theme options “show footer widgets & sockets”
    Lines with the text “Embed” appear in the HTML code. Could it be that there are still lines from the Embed Calendly plugin that interfere with the theme?
    I don’t know what to do next …
    Do you have any idea what could be the cause?
    Greetings Holger from Germany

    #1333466

    Hi,
    Thank you for the login & FTP access, so as I understand you want to update your theme from v4.6.3.1 and add a child theme, so via FTP I uploaded the latest version of the child theme that is included with v4.8.8 then I activated it via WordPress ▸ Design ▸ Themes then I imported your parent theme settings to the child theme with the theme option: Enfold Theme Options ▸ Import/Export ▸ Import Settings from your Parent Theme
    2021-12-19_003.jpg
    Now to update your parent theme I renamed your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and checked that your site is working correctly, and once you check we can delete the “enfold-old” folder via ftp, (not the WP theme page)
    *A note to readers, Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    I would have preferred to update your parent theme using this method, but since you are using PHP v7.3.31 I got an error and had to do it the above way. For readers please use this method: Upload the latest version as a zip file 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

    Anyways now your site is updated with a child theme, please clear your browser cache and check.
    The old theme is still in the “enfold-old” folder, once you have checked and are happy we can delete it via FTP, (not the WP theme page).

    Best regards,
    Mike

    #1333424
    UeEK5gEkU
    Participant

    Dear Enfold developers,
    I have 6 licences of enfold and 5 sites are productive now, i hope you can support me even if the support period is not valid.

    I have 2 questions …

    First is maybe a bug, i get following errors:
    Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 48
    Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 73
    Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 85

    It was fixed in footer.php in child-theme around line 47 …
    /**
    * Allows 3rd parties to change page id’s, e.g. translation plugins
    */
    $post = AviaCustomPages()->get_custom_page_object( ‘footer_page’, ” );
    // gerald: hack 18.12.2021: fix theme
    if ( !isset($the_id )) {
    $the_id = get_the_ID();
    }
    // end hack 18.12.2021: fix theme
    if( ( $post instanceof WP_Post ) && ( $post->ID != $the_id ) )
    {

    The second thing would be a little modification to the masonry grid. I would need the category description showing up when sorting via thecategory filters above the image bricks.

    I have tried to code that, in the av-helper-masonry.php (line 438 – 559 and 583 – 588) in the enfold-child shortcodes folder but the text loads or updates only on second click. Maybe you can help me at this point, it is hard for me to understand the code, what the js does and the lots of css classes and ids in the masonry.

    KR,
    Gerald

    • This topic was modified 4 years, 4 months ago by UeEK5gEkU.
    #1333401

    Hi,
    You could try this approach, for each page that you want a custom menu title for the Fullwidth Sub Menu on mobile, you will need to know the page ID, so for example when you edit your /backalyckans-forskola/ page the address bar URL is:
    /wp-admin/post.php?post=477&action=edit the post=477 means your page ID is 477
    remember that number, now we will add this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_menu_title() { ?>
        <script>
    (function($) { 
    	  $(".page-id-477 #sub_menu1 .mobile_menu_toggle .av-current-placeholder").text("Rocket Science");
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_menu_title');

    here you will note two parts of the code, the page ID .page-id-477 and the title you want to use Rocket Science
    2021-12-18_004.jpg
    So now that we did one the next one will be easier, we will just add one line of code to the above function, for example we find that the page ID for /backalyckans-policy/ is 1918 and we want the title to read Policy so we write it like this:
    $(".page-id-1918 #sub_menu1 .mobile_menu_toggle .av-current-placeholder").text("Policy");
    and add it below the other line so the full function now reads this:

    function custom_menu_title() { ?>
        <script>
    (function($) { 
    	  $(".page-id-477 #sub_menu1 .mobile_menu_toggle .av-current-placeholder").text("Rocket Science");
              $(".page-id-1918 #sub_menu1 .mobile_menu_toggle .av-current-placeholder").text("Policy");
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_menu_title');

    2021-12-18_005.jpg
    I hope this makes sense

    Best regards,
    Mike

    #1333387

    Hi Yigit

    Could you please replace the content of /enfold/config-woocommerce/config.php file with this one via FTP – https://pastebin.com/y3UPvKam?

    i did what you said but it didn’t solve the problem :(
    The error log continues to report the error:

    2021-12-18T11:04:49+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /var/www/html/wp-content/themes/enfold/config-woocommerce/config.php:2256
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(303): avia_woocommerce_cart_dropdown()
    #1 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #2 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #3 /var/www/html/wp-content/themes/enfold/includes/helper-main-menu.php(125): do_action()
    #4 /var/www/html/wp-includes/template.php(772): require('/var/www/html/w...')
    #5 /var/www/html/wp-includes/template.php(716): load_template()
    #6 /var/www/html/wp-includes/general-template.php(204): locate_template()
    #7 /var/www/html/wp-content/themes/enfold/header.php(242): get_template_part()
    #8 /var/www/html/wp-includes/template.php(770): require_once('/var/www/html/w...')
    #9 /var/www/html/wp-includes/template.php(716): load_template()
    #10 /var/www/html/wp-includes/general-template.php(48): locate_template()
    #11 /var/www/html/wp- in /var/www/html/wp-content/themes/enfold/config-woocommerce/config.php alla riga 2256

    Best regards
    Oriano

    #1333373

    Hey Alwin,
    It was found in this thread
    The /lang/nl_NL.mo & /lang/nl_NL.po files were changed to correct a missing %s

    Best regards,
    Mike

    tosmedia
    Participant

    Dear Sir or Madam,

    after the last update I suddenly have problems with the breadcrumb

    attached the error message

    Fatal error: Uncaught Error: Call to undefined function avia_breadcrumbs() in /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/functions.php:62 Stack trace: #0 /www/htdocs/xxx/xxx/wp-content/themes/enfold/template-builder.php(43): avia_title() #1 /www/htdocs/xxx/xxx/wp-includes/template-loader.php(106): include(‘/www/htdocs/w01…’) #2 /www/htdocs/xxx/xxx/wp-blog-header.php(19): require_once(‘/www/htdocs/w01…’) #3 /www/htdocs/xxx/xxx/index.php(17): require(‘/www/htdocs/w01…’) #4 {main} thrown in /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/functions.php on line 62

    Line 62 from function.php
    if($breadcrumb) $additions .= avia_breadcrumbs(array(‘separator’ => ‘/’, ‘richsnippet’ => true));

    Danke

    #1333323

    Hi,

    Thanks for that. I see that you are running an older version of the theme, does this problem happen when you activate PHP 7.4 with the version you are running now? If so, then please try updating to the latest version of the theme (4.8.8.1) first: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.

    I see that you haven’t added a token under Enfold->Theme Update. Please follow this in order to register your theme license: https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    #1333222

    Also, this is an error we have received:

    emailed by WordPress system, to the AGPA admin email address:

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 708 of the file /home/auau3533/public_html/wp-content/themes/enfold/functions.php. Error message: require_once(): Failed opening required ‘config-gutenberg/class-avia-gutenberg.php’ (include_path=’/home/auau3533/public_html/wp-content/plugins/backwpup/vendor/pear/archive_tar:/home/auau3533/public_html/wp-content/plugins/backwpup/vendor/pear/console_getopt:/home/auau3533/public_html/wp-content/plugins/backwpup/vendor/pear/pear-core-minimal/src:/home/auau3533/public_html/wp-content/plugins/backwpup/vendor/pear/pear_exception:.:/opt/alt/php74/usr/share/pear’)

    #1333221
    AGPASecretariat
    Participant

    Gday Enfold support,
    We recently bought the Enfold theme and applied to our website, which had used a default WordPress theme for years.
    However, the Enfold theme is not working as anticipated. We have used Enfold multiple times in other websites, and even on the same server, but this installation is not working. We have disabled all plugins (see screencast in private content field). We have also given admin access, see private field.
    WE have also reinstalled Enfold. We have also reinstalled WordPress. None of these things have helped. Perhaps when you look it will be obvious to you what the issue is.
    We are also running PHP 7.4 but have tested on 8.0 as well.
    Memory allocation is at 512M.
    Please can you also cc any responses (if possible) to our developer, whose email is also in the private field.
    Thanks for any help you can provide us, much appreciated.

    #1333182

    Solved, it was the plugin Really Simple SSL, I returned to PHP 7.4. the I can access my website again delete the plugin and do it manually so now I can run PHP 8.013

    Thanks

    #1333118
    Grobi
    Participant

    Hi there,
    I want to change the links on the social media share icons.
    For example the link to Facebook – after clicking the Facebook icon, I want to open a popup and let people know that they are leaving my page.

    Ygit made a suggestion in answer #783467 that doesn’t work on my website.
    I put this code on the functions.php:

    add_filter(‘avia_social_share_link_arguments’, ‘avia_add_social_share_link_arguments’, 10, 1);
    function avia_add_social_share_link_arguments($args)
    {
    $args[‘facebook’][‘pattern’] = “http://kriesi.at&#8221;;
    $args[‘twitter’][‘pattern’] = “http://kriesi.at&#8221;;
    $args[‘gplus’][‘pattern’] = “http://kriesi.at&#8221;;
    $args[‘pinterest’][‘pattern’] = “http://kriesi.at&#8221;;
    return $args;
    }

    Do I have to pay attention to anything else?
    Do you can help me?

    Best regards
    Grobi

    #1333106

    Hey Joshua,

    Thank you for the inquiry.

    It might be due to a missing PHP extension called ZipArchive. Please check the following thread for a possible fix, or just make sure that the ZipArchive extension is enabled. You can ask your hosting provider to configure the server or the PHP options.

    // https://kriesi.at/support/topic/i-get-the-link-you-followed-has-expired/#post-1331575
    // https://kriesi.at/support/topic/download-of-files-for-demo-gym-demo-didnt-work-you-might-want-to-try-reloading/#post-1332980
    // https://kriesi.at/support/topic/unable-to-add-custom-fonts/#post-1331120

    Best regards,
    Ismael

    #1333096

    Hello Ismael.

    The file magazine.php is untouched, nothing modified.

    I confirm that the code you added in line 707 fixes the issue.

    Thank you for sharing it, as my homepage was completely broken since the update, but I saw it today.

    You can mark this as solved.

Viewing 30 results - 2,461 through 2,490 (of 16,897 total)