Viewing 30 results - 1,831 through 1,860 (of 16,893 total)
  • Author
    Search Results
  • #1371211

    In reply to: Trouble with Polylang

    Hi mb,

    We are sorry for the late reply!

    Issue seems to be related to your customization on your child theme’s functions.php file. I switched to parent theme and posts have showed up. I believe following code is causing the issue

    
    add_filter('pll_get_taxonomies', function ($taxonomies, $is_settings) {
    	unset($taxonomies['category']);
    	unset($taxonomies['post_tag']);
    	unset($taxonomies['portfolio_entries']);
    	return $taxonomies;
    }, 10, 2);
    
    add_filter('pll_get_post_types', function ($post_types, $is_settings) {
    	unset($post_types['portfolio']);
    	unset($post_types['post']);
    	return $post_types;
    }, 10, 2);
    

    but could not confirm since functions.php file is not editable in theme editor.

    If translation options do not show up on your live installation, please edit your post, click “Screen options” on the top right corner and make sure “language” options is checked – https://imgur.com/a/VmaxP7y

    I left parent theme active. Please review your website :)

    Best regards,
    Yigit

    #1371053

    Hi,
    I found that your header div’s are not correct, your #header_main is a child of your #header_meta instead of being a sibling:
    your site:
    2022-11-02_004.png
    my test site:
    2022-11-02_003.png
    but I don’t see a cause for this, we are both using the same version, and I tried updating your site with my version in case your version was corrupt but that didn’t help.
    I saw your server is using PHP v7.4.33 and I’m using v8.0.1 so I downgraded my PHP version to try to duplicate, but that didn’t reproduce your error.
    I tried disabling all of your plugins with no success.
    So I’m not sure what has caused this, which webhost and server are you using? Is it using an object-oriented cache such as Memcached, Redis, or Varnish?
    I have asked the rest of the team if they have seen this before.

    Best regards,
    Mike

    #1370916
    /*-------------------------------------------------------------------------------
    ENFOLD INLINE POP-UP ENABLER
    -------------------------------------------------------------------------------*/
    function inline_popup_enabler(){
    	?>
        <script>
            /*!
             * JavaScript Cookie v2.2.0
             * https://github.com/js-cookie/js-cookie
             *
             * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
             * Released under the MIT license
             */
            !function(e){var n;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var t=window.Cookies,o=window.Cookies=e();o.noConflict=function(){return window.Cookies=t,o}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var o in t)n[o]=t[o]}return n}return function n(t){function o(n,r,i){if("undefined"!=typeof document){if(arguments.length>1){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(r);/^[\{\[]/.test(c)&&(r=c)}catch(e){}r=t.write?t.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var f="";for(var a in i)i[a]&&(f+="; "+a,!0!==i[a]&&(f+="="+i[a].split(";")[0]));return document.cookie=n+"="+r+f}for(var p={},u=function(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)},s=document.cookie?document.cookie.split("; "):[],d=0;d<s.length;d++){var l=s[d].split("="),C=l.slice(1).join("=");this.json||'"'!==C.charAt(0)||(C=C.slice(1,-1));try{var g=u(l[0]);if(C=(t.read||t)(C,g)||u(C),this.json)try{C=JSON.parse(C)}catch(e){}if(p[g]=C,n===g)break}catch(e){}}return n?p[n]:p}}return o.set=o,o.get=function(e){return o.call(o,e)},o.getJSON=function(){return o.apply({json:!0},arguments)},o.remove=function(n,t){o(n,"",e(t,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})});
    
            (function($){
    
                $( document ).ready( function(){ $( document ).on('ready' function(){
    
                    var popup_link = $('.inline_popup');
    
                    var delay = popup_link.data( 'delay');
    
                    var cookieName = 'MfpHasDisplayedPopup';
    
                    $('.inline_popup').magnificPopup({
                        type:'inline',
                        midClick: true
                    });
    
                    if( typeof Cookies.get( cookieName ) === 'undefined' && typeof delay !== 'undefined' ){
    
                        setTimeout( function(){
    
                            Cookies.set( cookieName , '1' );
                            $('.inline_popup').magnificPopup('open');
    
                        }, parseInt( delay ) * 1000 )
                    }
    
                } );
    
            })(jQuery);
        </script>
    	<?php
    }
    add_action('wp_footer', 'inline_popup_enabler');
    
    /*-------------------------------------------------------------------------------
    	ENFOLD SHORTCODE  - INLINE POST CONTENT POP-UP
    	[mfp_post_popup post_slug_id="" popup_id="" link_text="" custom_class="" popup_delay=""]
    -------------------------------------------------------------------------------*/
    
    function mfp_post_popup_shortcode( $atts ){
    
    	//default values
    	$atts = shortcode_atts( [
    		'post_slug_id' => '',
    		'popup_id'     => '',
    		'link_text'    => 'hello',
    		'mfp_hide'     => 'mfp-hide',
    		'custom_class' => 'mfp_popup_content',
    		'popup_delay'  => false,
    	], $atts );
    
    	//get post content
    	$pop_slug = get_post( $atts['post_slug_id'] );
    	$content = apply_filters( 'the_content', $pop_slug->post_content );
    
    	//output post content into the footer before the closing body tag - content is hidden
    	add_action('wp_footer', function() use( $content, $atts ) {
    		echo sprintf(
    			'<div id="%s" class="%s %s main_color">%s</div>',
    			$atts['popup_id'],
    			$atts['mfp_hide'],
    			$atts['custom_class'],
    			$content
    		);
    	});
    
    	//output popup link
    	return sprintf(
    		'<a class="inline_popup" %s href="#%s">%s</a>',
    		( $atts['popup_delay'] ) ? 'data-delay="' . esc_attr( $atts['popup_delay'] ) . '"' : '' ,
    		$atts['popup_id'],
    		$atts['link_text']
    	);
    
    }
    add_shortcode( 'mfp_post_popup', 'mfp_post_popup_shortcode' );
    #1370911
    Petros
    Participant

    Hi, unexpected error happened with enfold theme. The error doesn’t appear with twenty twenty. When activating the “WPB Product Size Charts for WooCommerce” and trying to open a product with variations I’m getting 500 error and the page doesn’t load. From the server side I’m getting this error.

    Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_children() on bool in /sneakacesv2-www/wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-product-page.php:170\nStack trace:\n#0 /sneakacesv2-www/wp-includes/class-wp-hook.php(307): Woo_Variation_Swatches_Product_Page->add_to_cart_variation_params(Array, ‘wc-add-to-cart-…’)\n#1 /sneakacesv2-www/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)\n#2 /sneakacesv2-www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(625): apply_filters(‘woocommerce_get…’, Array, ‘wc-add-to-cart-…’)\n#3 /sneakacesv2-www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(466): WC_Frontend_Scripts::get_script_data(‘wc-add-to-cart-…’)\n#4 /sneakacesv2-www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(633): WC_Frontend_Scripts::localize_script(‘wc-add-to-cart-…’)\n#5 /sneakacesv2-www/wp-includes/class-wp-hook.php(307): WC_Frontend_Script…’

    As I mentioned this error doesn’t happened when we have the other theme.

    I’ve tried to contact with the variation swatches plugin support – Still waiting for an answer.

    thank you.

    #1370807
    Valeriacestari
    Participant

    I purchased the Enfold theme for WP, installed on a server with Php 7.4. The installation was successful but when I selected a demo (parallax) it was not possible to complete the download. I tried multiple demo but always the same.
    Can you help me?

    hi Mike,

    Thank you so much for providing the code!
    I added the child theme and placed the code from the original functions.php to the one of the childtheme, it works perfectly.
    Also the css for the media query I added to the child theme css, thanks for that as well.

    I added margin-bottom value to give some space between the stacked columns.
    @media only screen and (min-width: 768px) and (max-width: 1130px){
    .responsive .av_one_fourth.first + .av_one_fourth.flex_column_div,
    .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth.flex_column_div {
    margin-bottom: 4%;
    margin-left: 4%;
    width: 48%;
    }
    .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth.flex_column_div,
    .responsive .av_one_fourth.first.el_before_av_one_fourth.flex_column_div {
    margin-bottom: 4%;
    margin-left: 0%;
    width: 48%;
    }
    }

    Kind regards,
    Karin

    #1370768
    This reply has been marked as private.

    Hey karinorage,
    Thanks for your patience, when the columns are set to equal height their display property is changed to table-cell and they are wrapped in a parent div flex_column_table this is what gives it the “equal height”, at mobile when the columns are shown at full width the display property is changed to block and they are no longer “equal height”, although it is hard to spot this on mobile when the columns are stacked.
    This is why on tablets they can not be two columns wide, because their display property would need to be changed and they would no longer be “equal height”.

    So to solve this for you I added this function to the end of your parent theme functions.php:

    function custom_equal_height_columns() { ?>
      <script>
    (function($){
      	$('.equal-height-columns').each(function(){  
         var $columns = $('.equal-these-columns',this);
         var maxHeight = Math.max.apply(Math, $columns.map(function(){
             return $(this).height();
         }).get());
         $columns.height(maxHeight);
    });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_equal_height_columns');

    and I added the custom class equal-height-columns to the color section that contains your individual height columns:
    2022-10-30_002.png
    and this custom class equal-these-columns to each of the columns:
    2022-10-30_003.png
    Now the individual height columns are equal height and break into two wide for tablets:
    2022-10-30_004.png
    Please check.

    For your media query up to 1130px I recommend this css:

    @media only screen and (min-width: 768px) and (max-width: 1130px){
    .responsive .av_one_fourth.first + .av_one_fourth.flex_column_div, 
    .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth.flex_column_div {
    	margin-left: 4%;
        width: 48%;
    }
    .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth.flex_column_div,
    .responsive .av_one_fourth.first.el_before_av_one_fourth.flex_column_div {
    	margin-left: 0%;
        width: 48%;
    }
    }

    I did not add this for you, after applying the css, please clear your browser cache and check.

    I also recommend adding a child theme, so your functions.php customizations will not be lost with future theme updates Read about it & Get it here
    Or you could use the plugin WPCode – Insert Headers, Footers, and Code Snippets, this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snipets.

    Best regards,
    Mike

    #1370646

    Hey Thomas,

    You can use the following filter:

    
    add_filter( 'avf_allow_drag_drop', 'custom_disable_alb_drag_drop', 100, 1 );
    

    This will hook after our filter in enfold\functions-enfold.php line 2227.

    in your function

    
    custom_disable_alb_drag_drop( $disable ) 
    {
    // add logic to decide what to do
    }
    

    return true to allow drag/drop or false to lock.

    Hope this helps you.

    Best regards,
    Günter

    #1370593

    In reply to: Theme upgrade

    Hey Clayton Timcke,
    First make a full backup of your site with the backup feature of your webhost, please don’t use a backup plugin unless you have specific knowledge on restoring it. Many backup plugins fail on restore.
    Then login to your site and download a copy of the theme export file, at Enfold Theme Options ▸ Import/Export ▸ Export Theme Settings File and save should you need it later, then make sure your server PHP is v7.4
    Then delete the parent theme directory /enfold/ via FTP and if you have a child theme save any custom header.php or footer.php from the child theme, and remove them from the child theme directory, they will not be compatible with the new theme version.
    Then upload the new version parent theme directory /enfold/ via FTP
    Please do not try to overwrite the old parent theme directory as this will leave old files behind and cause errors.
    Now you should be able to login and your site should work without errors, assuming you have no outdated plugins.

    Best regards,
    Mike

    #1370589

    Hmmm… mysterious ;-)

    So I copied the code from original footer.php and replaced it again in Child footer.php file. The footer section looks now as it should with logo Icons and contact column. Looks good now?
    But now I have a font issue problem in MAIN NAV in header as the Nav font is wrong and the text in content dissapeared, but only when I am logged out Dashboard…. logged in, everything works.

    Any ideas? I really don’t get it… I am not sure now, if i should downgrade Enfold theme to Version 4.7 again…

    #1370518

    Vielen lieben Dank für Deine Antwort.

    Mit der PHP Version 7.4 hat es jetzt geklappt.

    Liebe Grüße, Peter
    ————————-
    Thank you so much for your answer.

    With PHP version 7.4 it worked now.

    Kind regards, Pete

    #1370489

    Hi,
    Thanks for the login, I customized the script to make your sidebar widgets sticky on blog posts, and the two privacy policy pages, this is what I added to your child theme functions.php

    function custom_sticky_sidebar_widgets() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
      (function($){
      	var width = $(window).width();
        var $stickyTop = $('#top.single-post #recent-posts-3,#top.privacy-policy #custom_html-3,#top.page-id-8479 #custom_html-3');
        if (width >= 767) {
        $stickyTop.waypoint(function(direction) {
          if (direction === 'down') {
             $stickyTop.css({ 'position': 'fixed', 'top': '40px', 'width': $stickyTop.innerWidth() });
          }
          if (direction === 'up') {
             $stickyTop.css({ 'position': 'static', 'top': '0px', 'width': '' });
          }
        }, {
          offset: '40px'
        });
        }
      })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_sticky_sidebar_widgets');

    please clear your browser cache and check.

    Best regards,
    Mike

    #1370464

    Hi Peter,

    Did you try with different PHP version? You could try 7.4 or 8.0 for example. If you have plugins active, then please try to deactivate them temporarily as well. If you have server error logs, then please share them with us.

    Best regards,
    Rikard

    Hi,
    Please try this approach, assuming that you have made a full backup of your site with the backup feature of your webhost, please don’t use a backup plugin unless you have specific knowledge on restoring it. Many backup plugins fail on restore.
    and the site PHP is v5.6 and the theme v3.1 and you are using a child theme.
    First login and download a copy of the theme export file, at Enfold Theme Options ▸ Import/Export ▸ Export Theme Settings File and save should you need it later, then change your PHP to v7.4
    and delete the parent theme directory /enfold/ via FTP and save any custom header.php or footer.php from the child theme, and remove them from the child theme directory, they will not be compatible with the new theme version.
    Then upload the new version parent theme directory /enfold/ via FTP
    Please do not try to overwrite the old parent theme directory as this will leave old files behind and cause errors.
    Now you should be able to login and your site should work without errors, assuming you have no outdated plugins.
    Please check your site carefully, if all is well you can update to PHP v8 if you wish and check again.

    Best regards,
    Mike

    #1370418

    Hi,

    Thank you for the update.

    Looks like you’ve added the code in the style.css file. You have to add it in the functions.php file. Please try to copy the code again directly from this forum, then move it in the functions.php file. Let us know if this works.

    Best regards,
    Ismael

    Hi Yigit!

    Thx for your answer and please apologize my late reply.

    Yes, I could give you the Logins, but let me ask some questions before:

    – I think the main problem is (just realized that), that the site/domain uses php 5.6 at the moment.
    Of course the new theme will not work with that.
    So I must/can update – maybe try Version 7.4? Or better 8? (Not sure all the plugins work with it)

    But when I update PHP the old version does not work and I cannot login ;-)

    – The other thing I do not understand: we use a child theme at the moment.
    In my new download of enfold I cannot see a child theme… how about that?

    So: how do we start this task?

    Maybe I give you logins and you tell me when to change the php version? (I must do that in the admin interface of the server)

    Andere Frage: sprecht ihr Deutsch?
    Bzw. Wo befindet ihr euch? Ich bin hier in Österreich.

    Greetings
    Alex

    #1370393

    Hi,
    I misunderstood, I thought you said you were using PHP v7.2
    Can you disable the sticky plugin for a couple of days so I can test, or include an admin login so I can disable it while I test?

    Best regards,
    Mike

    #1370389
    dimrat
    Participant

    After updating this site: https://www.dialhope.org/, we are now seeing this error on our Icegram plugin:

    Argument 1 passed to Avia_Gutenberg::handler_display_post_states() must be of the type array, bool given, called in /home3/brighth7/public_html/dialhope/wp-includes/class-wp-hook.php on line 307 and defined in /home3/brighth7/public_html/dialhope/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:693 Stack trace: #0 /home3/brighth7/public_html/dialhope/wp-includes/class-wp-hook.php(307): Avia_Gutenberg->handler_display_post_states(false, Object(WP_Post)) #1 /home3/brighth7/public_html/dialhope/wp-includes/plugin.php(191): WP_Hook->apply_filters(false, Array) #2 /home3/brighth7/public_html/dialhope/wp-admin/includes/template.php(2249): apply_filters(‘display_post_st…’, Array, Object(WP_Post)) #3 /home3/brighth7/public_html/dialhope/wp-admin/includes/template.php(2150): get_post_states(Object(WP_Post)) #4 /home3/brighth7/public_html/dialhope/wp-admin/includes/class-wp-posts-list-table.php(1107): _post_states(Object(WP_Post)) #5 /home3/brighth7/public_html/dialhope/wp-admin/ in /home3/brighth7/public_html/dialhope/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 693

    I have looked at several threads in this forum and it appears to be a known issue. i have tried to turn off all plugins, tried classic and block editor modes, cleared cache.

    I went into to Enfold theme’s config-gutenberg -> class-avia-gutenberg.php file and changed the 99 to 5 on this line of code as seen in on of your threads (https://kriesi.at/support/topic/error-enfold-with-plugin-salon-booking-wordpress-plugin/).

    LINE 210: add_filter( ‘display_post_states’, array( $this, ‘handler_display_post_states’), 99, 2 );

    I even see that with your latest update, you have a snippet of code (LINES: 695 – 718) in this file to address this specific issue. But the error persists on my site.

    This site is running on the following versions:
    php 7.4.30
    WP 6.0
    Enfold Theme 5.2.1.

    Can you please let me know if there is anything else I can try?

    • This topic was modified 3 years, 5 months ago by dimrat.
    #1370384

    Hello Mike,

    I use PHP v7.4, so it shouldn’t be the problem. I am afraid that to adapt the solution you linked to my needs is out of my abilities. I need to be sticky just the
    .widget_recent_entries in blog’s sidebar and the lower text widget on Privacy Policy in English and Russian, and that’s it. Is it possible to change the code you linked like that?

    Best regards,
    Marina

    #1370377

    Hi,
    It looks like the Fixed Widget plugin is not returning the css left value to zero after scrolling down.
    Unfortunately, your page doesn’t get the “scrolled” class because of the sidebar menu so I don’t see an easy way to add some css to correct.
    If you are using PHP v7.2, try updating to v7.4, this is what WordPress recommends as the minimum PHP version.
    If this doesn’t correct disable the plugin and try using this solution instead.

    Best regards,
    Mike

    #1370336

    Hello Mike,

    Now my issue is solved, thank you very much for help. I have one more question, if it is out of your scope, is completely fine and you can close the ticket, thanks again for the code.

    The issue is with the Fixed Widget plugin: after update to the last version (requirement of PHP 7.2 now), the fixed widget disappears when scrolling up. Please see the links, the last sidebar widget is the fixed one. It can be some conflict with the theme CSS, could you give your opinion?

    Best regards,
    Marina

    Hi
    well, I’ll explain again the problem, to help you understand it better.

    We have installed and activated the “Polylang for woocommerce” plugin: then, the following error appeared in the display of each product sheet (both back-end and front-end).

    Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/customer/www/cbn.digitalsfera.it/public_html/wp-content/themes/enfold/config-woocommerce/config.php:807 Stack trace: #0 /home/customer/www/cbn.digitalsfera.it/public_html/wp-includes/class-wp-hook.php(307): avia_woocommerce_breadcrumb(Array, Array) #1 /home/customer/www/cbn.digitalsfera.it/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #2 /home/customer/www/cbn.digitalsfera.it/public_html/wp-content/themes/enfold/framework/php/class-breadcrumb-trail.php(419): apply_filters(‘avia_breadcrumb…’, Array, Array) #3 /home/customer/www/cbn.digitalsfera.it/public_html/wp-content/themes/enfold/functions-enfold.php(664): avia_breadcrumb_trail->get_trail(Array) #4 /home/customer/www/cbn.digitalsfera.it/public_html/wp-content/themes/enfold/config-woocommerce/config.php(920): avia_title(Array) #5 /home/customer/www/cbn.digitalsfera.it/public_html/wp-includes/class-wp-hook.php(307): avia_woocommerce_before_mai in /home/customer/www/cbn.digitalsfera.it/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 807

    We found that the problem only occurs when activating Enfold breadcrumbs.
    Then, from Enfold “Page / Post> Layout> Title Bar Settings”:

    – By setting “Display Title and breadcrumb” -> the above error is displayed
    – By setting “Show title only” -> the error is not displayed

    At the moment the error is not displayed cause the site is online and we have set “Show title only” as breadcrumb. However, we need you to fix the bug above cause we would like to go back to the “Display title and breadcrumb” option for SEO reasons.

    So, obviously at the moment the site is not in error, because we have deactivated the breadcrumbs (the site is not in staging but it is online). No longer having a test environment, are you able to verify this problem independently on your own environment?

    Hope that you understand better the situation
    Waiting for you replay, best regards

    #1370180

    Hi,

    Those are not error messages, they are warnings and should not affect any functionality on your site. Which PHP version are you running on the site? Please make sure that it’s 7.4 or higher.

    Best regards,
    Rikard

    #1370130
    tgruetzner
    Participant

    We are using Enfold 4.5.3 on our website and automical updates seem to stop at this point. Due to the fact, that we have to switch to PHP 8.0, we would like to upgrade to 4.7.3. How does this work?

    #1369988
    mkochrogge
    Participant

    Hello,

    at the moment I am not able to enter the backend of one of my pages (the frontend loads, however). I received a wordpress warning hinting the enfold theme caused a critical error (error details below).
    Unfortunately, the last backup is from last month and there have been major changes to the page since.
    Help is very much appreciated,

    Thanks,
    Manuela

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 3767 der Datei /mnt/web506/c0/66/510401266/htdocs/STRATO-apps/wordpress_09/app/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 1 passed to aviaElementTemplates::set_locked_attributes() must be of the type array, string given, called in /mnt/web506/c0/66/510401266/htdocs/STRATO-apps/wordpress_09/app/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.php on line 929 and defined in /mnt/web506/c0/66/510401266/htdocs/STRATO-apps/wordpress_09/app/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php:3767
    Stack trace:
    #0 /mnt/web506/c0/66/510401266/htdocs/STRATO-apps/wordpress_09/app/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.php(929): aviaElementTemplates->set_locked_attributes()
    #1 /mnt/web506/c0/66/510401266/htdocs/STRATO-apps/wordpress_09/app/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1160): avia_sc_contact->shortcode_handler()
    #2 /mnt/web506/c0/66/510401266/htdocs/STRATO-apps/wordpress_09/app/wp-includes/shortcodes.php(356): aviaShortc

    #1369982

    Hi Lee,

    It’s a pleasure that we could help you :)

    As for the location of image sizes, you can find it in functions.php of your child theme:

    // Remove unneeded WP image sizes
    // Remove default image sizes here. 
    function prefix_remove_default_images( $sizes ) {
      // do NOT remove small and medium sizes, they are used in backend Media Library!
      // unset( $sizes['small']); // 150px
      // unset( $sizes['medium']); // 300px
      unset( $sizes['large']); // 1024px
      unset( $sizes['medium_large']); // 768px
      unset( $sizes['extra_large']); // 1500px
      return $sizes;
    }
    
    add_filter( 'intermediate_image_sizes_advanced', 'prefix_remove_default_images' );
    
    function remove_enfold_image_sizes() {
    // do NOT remove widget size, is used in backend portfolio items!
    // remove_image_size('widget');
      remove_image_size('square');
      remove_image_size('featured');
      remove_image_size('featured_large');
      remove_image_size('portfolio_small');
      remove_image_size('gallery');
      remove_image_size('magazine');
      remove_image_size('masonry');
      remove_image_size('entry_without_sidebar');
      remove_image_size('entry_with_sidebar');
      remove_image_size('shop_thumbnail');
      remove_image_size('shop_catalog');
      remove_image_size('shop_single'); 
      remove_image_size('shop_gallery_thumbnail');
    	
      remove_image_size('1536x1536'); 
      remove_image_size('2048x2048');	
    }
    add_action('init', 'remove_enfold_image_sizes');

    if you want those size back, you just remove the line of code, and you can regenerate them in Tools > Regenerate Thumbnails.
    Hope this helps.

    Best regards,
    Nikko

    #1369975

    Topic: Events Calendar issue

    in forum Enfold
    Buro Staal
    Participant

    After the update to Enfold 5.2.1 it’s not possible to buy tickets for events. We use The Events Calendar + Events Tickets + Events Tickets Plus. If you click on the “get ticket” button nothing happens. This is the error:

    2022/10/24 09:38:06 [error] 77564#77564: *888570 FastCGI sent in stderr: “PHP message: id was called incorrectly. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->get_cart_from_session, WC_Product->is_purchasable, apply_filters(‘woocommerce_is_purchasable’), WP_Hook->apply_filters, wpas_woocommerce_is_purchasable, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0” while reading response header from upstream, client: 81.172.182.21, server: XXX request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-XXX.sock:”, host: “XXX:17447”, referrer: “https://XXX/checkout/”&#93;

    We will rollback tot 5.1.2 for the time being. I hope this can be fixed in a next version of Enfold.

    #1369949

    Hi Rikard,

    i tried this way:

    .page-id-1304 .header_bg {
    background: #74BCB9 !important;
    }

    Thats the link with ID:
    https://test.s-design.tirol/Pharmadorshop/wp-admin/post.php?post=1304&action=edit&classic-editor=1

    But it doesn’t work

    #1369928

    In reply to: cart depricated

    Hi I completely removed and enfold, and remove the parent and child team and deleted the theme by FTP and all of my pages and products still have old Avia code, even though I have completely removed the theme removes the caching plug-in and deleted the theme by FTP in the functions PHP for the Chelsea team please advise had to completely remove all of the code in widget code from all of my pages And products

Viewing 30 results - 1,831 through 1,860 (of 16,893 total)