Forum Replies Created

Viewing 30 posts - 1,651 through 1,680 (of 3,742 total)
  • Author
    Posts
  • in reply to: Undefined Index – Error #1066903

    Hi,

    I uploaded the modified file enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php including the logfile output:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_4/Logfile_added/shortcode-template.class.php

    Changes have been made in line 508ff.

    Make a backup of the original file and replace the complete content.

    Then keep an eye on the logfile in …/uploads/avia_logfile/log.txt.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1066884

    Hi,

    4.5.4 has integrated the fix you did before manually. You should be OK to keep this version ans you can update the other sites also.
    Let me know when you are done.

    Best regards,
    Günter

    in reply to: Image Size in widget (news-box) #1066873

    Hi,

    Sorry, not in the next update 4.5.4 (was too late).

    Will check for portfolio box also – thx.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1066591

    Hi,

    I will try to login tomorrow and try to add the changes to the php files in madomains.com as a first step.

    Best regards,
    Günter

    in reply to: Image Size in widget (news-box) #1066574

    Hi,

    I added a filter in core: avf_newsbox_image_size

    Meanwhile replace enfold\framework\php\class-framework-widgets.php with https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_3/class-framework-widgets.php

    How to use the filter check https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Widgets/avf_newsbox_image_size.php

    Hope this helps.

    The filter is added in line 804.

    Best regards,
    Günter

    • This reply was modified 6 years, 4 months ago by Günter.
    in reply to: Undefined Index – Error #1066550

    Hi,

    I wrote a small script that creates a logfile in the uploads folder: …/uploads/avia_logfile/log.txt in case it encounters again undefined index.

    In enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php line 413:

    
    		
    			if(empty( $this->builder->disabled_assets[ $this->config['shortcode'] ]) || empty( $this->config['disabling_allowed'] ) )
    			{
    				$content = $this->shortcode_handler($atts, $content, $shortcodename, $meta);
    			}
    

    Before $content insert:

    
    			if( ( ! defined( 'DOING_AJAX' ) || DOING_AJAX !== true ) && ( ! isset( $meta['index'] ) ) )
    			{
    				$upload_dir = wp_upload_dir();
    				if( ! empty( $upload_dir['basedir'] ) )
    				{
    					$log_dirname = trailingslashit( $upload_dir['basedir'] ) . 'avia_logfile';
    					if( ! file_exists( $log_dirname ) )
    					{
    						wp_mkdir_p( $log_dirname );
    					}
    					
    					$logfile = trailingslashit( $log_dirname ) . 'log.txt';
    					$data = date('d/m/Y H:i:s', time()) . ': shortcode_handler_prepare - $meta[index] not set for ' . $shortcodename . "\r\n";
    					
    					file_put_contents( $logfile, $data, FILE_APPEND );
    				}
    			}
    

    Make a backup of the original file for a fallback and keep an eye on the logfile as there is no length check.

    To check that the file will be created replace

    $meta['index']

    in the first line with

    $meta['xyz']

    and load a small page with ALB content. The file should be created and contain some lines. Replace xyz with index again.

    Best regards,
    Günter

    in reply to: Multiple new line formatting #1066513

    Hi,


    @guenni007
    Thanks for sharing this info.

    Best regards,
    Günter

    in reply to: Error: Missing Required Parameter card_nonce #1066467

    Hi,

    Thanks for reporting this.

    Sounds strange – because Enfold does not hook into any checkout logic – and we did not get any similar bug reports.

    Can you try to reproduce the problem and then try to disable all other not needed plugins and check ?

    Best regards,
    Günter

    in reply to: Multiple new line formatting #1065887

    Hi,

    This is a known problem. I already tried to find a solution – but Kriesi and I finally rejected it because it could cause more problems with existing sites and break them.

    Removing the

    <br>

    happens already in js when clicking the save button and not in php – therefore the php filters won’t work.

    Probably the soloution from @guenni007 with

    <br class="noclear">

    is a good workaround.

    At the moment we do not have a stable working solution for that.


    @Guenni007
    Thanks for joining :)

    Best regards,
    Günter

    Hi,

    Sorry for the late reply but I got tagged for this topic today for the first time – and I did not find a report about that in our dev. repo before.

    To make it easier for me to reproduce – could you give me a WP admin account for your backend and a link to the page pls so I can have a look?
    Thx in advance.

    Best regards,
    Günter

    in reply to: Media Library List lacks info #1064930

    Hi,

    Thank you for using Enfold.

    I tried to reproduce – but it seems to work fine for me.

    View post on imgur.com

    Can you create an admin account for us and give us a link to the portfolio and steps to reproduce so we can check?

    I can reproduce if I select an already uploaded unattached image – but if I select such an image as featured image for a page in WP Theme 2019 this image is also not attached to the page.

    Best regards,
    Günter

    in reply to: "Your comment is awaiting moderation" does not appear #1064575

    Hi,

    Strange.

    Are the login credentials still valid?
    And can you also give me the link to the page pls?

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1064573

    Hi,

    No hurry – next week is OK.

    Best regards,
    Günter

    Hi,

    Thanks for the feedback. Now I can reproduce it.

    I will add this to our dev repo and will try to find a fix asap.

    Best regards,
    Günter

    Hi,

    Tut mir leid, dass da einiges nicht funktioniert hat. Ismael hat mich erst heute verständigt.

    Ich komme momentan nicht mehr auf Deine Seite.

    Kannst Du mir bitte einen WP admin account einrichten?

    Hast Du schon versucht alle plugins zu deaktivieren?

    LG,
    Günter

    in reply to: Cannot find layout builder option #1063723

    Hey Alexander,

    Try to use the filter avf_alb_supported_post_types ( Avia_Builder()->get_supported_post_types() ) and add your post types to the array.

    Best regards,
    Günter

    Hey Anthony,

    Thank you for using Enfold.

    You are using a lot of plugins and a map element that is not Enfold standard.

    The only chance to find out what breaks the layout is by trying:

    – Remove all custom code you made to Enfold core files
    – Remove all non Enfold ALB elements
    – Start building the page element be element and check stucture after each element
    – It might also be necessary to deactivate plugins also and check, then reactivate one after the other and check
    – Also remove all compression of js and css files and check

    Best regards,
    Günter

    in reply to: Änderungen im Back-End nicht im Front-End sichtbar #1063706

    Hey guenther_baur,

    Danke dass Du Enfold verwendest.

    Dein Theme ist total veraltet (3.6.1 ist von 2016 June 6th).
    Wir haben momentan 4.5.3.

    Bitte update einmal auf die letzte Version. In jedem Fall ein Backup machen für ein fallback.

    To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)

    LG,
    Günter

    Hi,

    Glad we could help you and thanks for your assistance also.

    Enjoy the theme and have a nice day.
    Feel free to come back if you need further assistance.

    Best regards,
    Günter

    Hi,

    Can you try to replace (around line 353)

    
    if( defined( 'REST_REQUEST' ) && REST_REQUEST && ( $post instanceof WP_Post ) )
    

    with

    
    if( $post instanceof WP_Post )
    

    I uploaded the changed file.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1063664

    Hi,

    Thanks for the feedback.

    Let me know in the next days the status.
    Have a nice day.

    Best regards,
    Günter

    Hi,

    I installed the ACF plugin on my server and can reproduce what you mean.

    The output of the modal box is sent to the active editor TinyMCE – means when you have 2 editors and click in the second editor this becomes the active one.

    If you then open the modal window with the button of the this second editor your input is correctly placed in the position of the cursor of this second editor because this is the active editor.

    If you open the modal window with the button of the first editor instead your input is still placed in the position of the cursor of the second one because this is still the active editor.

    In my opinion if you want to add a shortcode to the text in an editor you want to control where the code is inserted – and click in the editor to have the cursor at that position – and in this case that editor becomes the active one and the code is placed at the cursor position. And this is from my point of view a consistent behaviour.

    You can check this in enfold\config-templatebuilder\avia-template-builder\assets\js\avia-tinymce-buttons-4.js – look for tinyMCE.activeEditor.

    Best regards,
    Günter

    Hi,

    Thanks for the feedback.

    Seems that WP must have changed something in the REST API with 5.0.

    I uploaded a new fix at https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_3/shortcode-template.class.php
    that works on my dev server.

    Changes can be found in function shortcode_handler_prepare line 315 ff.

    Can you please check if they work for you also.

    Best regards,
    Günter

    Hi,

    I’ve found a possible solution. Can you please replace

    enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php

    with this file:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_3/shortcode-template.class.php

    Do not forget to make a backup of the original file for a fallback.

    The changes can be found in function shortcode_handler_prepare line 315 ff.

    I asked Kriesi to recheck that these changes do not have a negative impact – if not it will become part of the core.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1063235

    Hi,

    Sorry, I was to quick. Uploaded a new fix – this should work now.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1063211

    Hi,

    I’ve found a possible solution. Can you please replace

    enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php

    with this file:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_3/shortcode-template.class.php

    Do not forget to make a backup of the original file for a fallback.

    The changes can be found in function shortcode_handler_prepare line 315 ff.

    I asked Kriesi to recheck that these changes do not have a negative impact – if not it will become part of the core.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1062786

    Hi,

    Thanks for this feedback. As I could reproduce it I can find a solution in core – I will look into it tomorrow and let you know when I have a possible solution for it – will be tomorrow.

    Best regards,
    Günter

    Hi,

    Thank you for reporting this – and sorry for the problems.

    I opened a bug issue for that in our dev repo.

    Cause is, that Gutenberg saves changes via REST API calls. We probably missed to create output of ALB content on regular calls.
    We try to fix it asap.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1062683

    Hi,

    Thanks for your feedback.

    I could reproduce the problem – but it is only occurring in backend caused by YOAST. When saving a page/post this plugin is calling the content filter which causes the template builder to execute the shortcodes without being initialized correctly. This leads to the undefined index.

    The blog page has a masonry element – but your error logs show masonry_gallery element. It looks like there are also more elements on one page because there are several entries within the same second.

    Could you figure out if the errors also occur only in backend on your server ?

    ——-
    By the way – you do not need the “Classic Edior” plugin. We have an option in Enfold Child -> Theme Options -> Select Your Editor.

    Best regards,
    Günter

    in reply to: Instagram hat 200 nicht zurückgegeben. #1061106

    Hi,

    There has been a fix added in version 4.5.3.
    Can you check with this version please?

    Best regards,
    Günter

Viewing 30 posts - 1,651 through 1,680 (of 3,742 total)