Forum Replies Created

Viewing 30 posts - 1,591 through 1,620 (of 3,695 total)
  • Author
    Posts
  • in reply to: Media Library List lacks info #1067720

    Hi,

    Have a look at https://digwp.com/2012/05/attach-unattached-media-files/

    As ths behaviour is a standard WP behaviour – it should not be part of a theme to change this – and the problem is also – you can attacb an image only to one page/post/… What to do with an already attached image?

    I will ask Kriesi but I’m sure he does not want to do any changes in core about that.

    You can check for plugins (Google: wp plugin attach media to posts).

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1067709

    Hi,

    I found the bug.

    I updated 3 files for you on 1 site:

    enfold\includes\loop-index.php
    enfold\includes\loop-page.php
    enfold\includes\loop-portfolio-single.php

    I left the logfile script in enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php.

    I deleted the old log files, but I think there should be no more errors coming.

    Can you check that everything is displayed as it should.

    If we do not see any more log entries you can revert shortcode-template.class.php to the original.

    For the other sites please update the three files with the files in this folder:

    https://github.com/KriesiMedia/enfold-library/tree/master/temp_fixes/Enfold_4_5_4/Fix_undefined_index

    Thank you for allowing us to use your site – it was a great help.

    I also removed the debug mode setting – so the additional textfield is not shown any longer (is part of the debug and shows the shortcodes generated by ALB).

    The fix should be in the next update.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1067516

    Hi,

    log2.txt shows the problem:

    If you look at the first 2 arrays: The second one is the internal shortcode tree that is generated when saving the post. It shows 1 entry.
    But the post content has 2 shortcodes: av_masonry_gallery and av_image.

    I activated the ALB debuging mode – you have a button Show Parser Info – this opens a new window and there you find a tab Shortcode tree. It is correct stored.

    I extended the logfile output.

    If I copy the post content to my dev environment it does not trigger any error (even with YOAST active).

    Did you already try to deactivate the Classic Editor plugin – you should not need it. You have a theme option for that (Theme Options tab).

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1067505

    Hi,

    See private content.

    Best regards,
    Günter

    • This reply was modified 5 years, 9 months ago by Günter.
    in reply to: Undefined Index – Error #1067493

    Hi,

    Just recieved them.

    Can you tell if they occur when you work in backend and what page ?

    I will have a look into your site now.

    Best regards,
    Günter

    in reply to: Fatal Error #1067475

    Hi,

    Great it helped you.

    I will close this thread but feel free to open a new one if you need further assistance.
    Enjoy the theme.

    Best regards,
    Günter

    Hi,

    I think I found the fix.

    Can you please replace enfold\config-templatebuilder\avia-template-builder\assets\js\avia-tinymce-buttons-4.js

    with https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_4/avia-tinymce-buttons-4.js.

    Do not forget to make a backup for a fallback – and clear browser and server cache.

    If you need assistance let us know and we can do it for you.

    Best regards,
    Günter

    in reply to: Fatal Error #1067379

    Hi,

    Sorry for the problems. They are caused because of old PHP versions. We would recommend to upgrade minimum to version 5.6 or higher (also for security) – http://php.net/supported-versions.php

    Please replace the file enfold\includes\helper-post-format.php with https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_4/helper-post-format.php.

    Do not forget to make a backup for fallback.

    Alternate you can replace line 213:

    
    $hide_featured_image = empty( get_post_meta(get_the_ID(), '_avia_hide_featured_image', true ) ) ? false : true;
    

    with

    
    $hide_featured_image = get_post_meta( get_the_ID(), '_avia_hide_featured_image', true );
    $hide_featured_image = empty( $hide_featured_image ) ? false : true;
    

    If you need assistance let us know and we can do it for you.

    Best regards,
    Günter

    in reply to: Media Library List lacks info #1067097

    Hi,

    I created a test portfolio (Enfold Test) and uploaded a featured image (test-embed_) and an image with the “Bild” shortcode (test-embed_ – Kopie).
    Both are assigned to the portfolio entry.

    As I said before, WP does not assign images that are already in the media library – this is also if you use a standard WP theme like 2019 for posts and pages.

    Best regards,
    Günter

    in reply to: Undefined Index – Error #1067080

    Hi,

    These folders have been part of the core and are used to seperate plugin specific compatibility code from core.
    If you do not want to include these files look at enfold\functions.php line 618ff and remove the lines with the require_once statements.

    Best regards,
    Günter

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

    Hi,

    “include” habe ich verschoben.

    “merging” hab ich bereits seit 6.Sept. in den Pull Requests – Kriesi bis jetzt noch nicht gemerged.

    “TinyMCE” Button hab ich eingebaut in core – ist auch in den Pull Requests.

    Best regards,
    Günter

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

    Hi,

    The filter is the same for portfolio-box.

    Best regards,
    Günter

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

    Hi,

    I had a look at your site and tried it. After entering data in the required fields I got the ****.

    In my opinion – if it would be a problem with the theme then it would be reproduceable and occur more often.
    And Enfold does not hook into any “communication” on the checkout page.

    The only thing I see is in the console is on pageload:
    SyntaxError: identifier starts immediately after numeric literal view-source:https://app.viralsweep.com/promo/ca/47740-38377_1549992181

    But that has nothing to do with Enfold.

    Did you already try to deactivate all other plugins except WC and this payment gateway?

    Best regards,
    Günter

    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 5 years, 9 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

Viewing 30 posts - 1,591 through 1,620 (of 3,695 total)