Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1426619

    I’ve created a couple of columns with a text elements which contain a list of links in each one
    One of these column is working fine and i can re-open the text element and edit it.
    The other column is showing a list of links however if I open the text element it shows no content or settings.

    #1426625

    Hey webservantnaoz,
    Typically this occurs when there is a missing closing tag in the element or one of the precious elements, you can try Enabling the Avia Layout Builder Debugger and examine the page shortcode and correct the missing tag.
    I was not able the add the code to your child theme functions.php because your WordPress ▸ Appearance ▸ Theme File Editor is disabled, please enable and add this snippet:

    
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    	return "debug";
    }
     

    and then see if you can find the issue, if not then add the code so we can try to find the issue.
    Sometimes once the error is saved it can not be “fixed” and a new page will need to be created, I see that you have saved some templates, if the error is in one of these you will need to remove it as the templates can not be “fixed”.
    So if you think this may be the issue, try creating a new page from scratch and don’t use any of your saved templates and see if you can reproduce the error.
    Also please note that if you copy & paste into the “visual” tab of the text editor, some browsers also paste the html tags from the clipboard and you won’t see these unless you use the “text” tab of the text editor, this could be how a unclosed tag was added into your text element.

    Best regards,
    Mike

    #1426707

    Hi Mike,
    The site is a multi-site and the theme editor is available from the network admin area.
    I attempted to add the debug code to the functions.php file as you you suggested but it returned the following error.

    Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

    Kind regards
    Bruce

    #1426710

    Hi Mike,
    I updated the functions.php file via the cpanel and it now includes the code you provided.
    regards
    Bruce

    #1426720

    Hi,
    Thanks you adding the debugger code, I was able to copy the page shortcode to my test site to further examine the error, but after adding and saving multiple times I was not able to reproduce the error with the text block. I then copied the code back to a new page on your site and the error with the specific text block occurred again.
    I then searched the code in VSCode and didn’t find and missing tags or closing tags, but I did find some strange classes in some of the links in that text block an the one before it:

    
    data-uw-pdf-br="2"
    data-uw-rm-ext-link="" 
    data-uw-pdf-doc=""
    

    I thought perhaps you have a plugin adding or using these but I didn’t see one, so I tried removing these on the test page I created, see the link below. But this didn’t help.
    I then tried deleting your last two text blocks and created new one from my working site, but the same error on your site occurred.
    I’m not sure what is cauing this, but it must be something on your site and not in the theme specifically since the error doesn’t occur on my test site.
    My only other idea is for you to disable all of the plugins and check again, and if the error still occurs, please leave the plugins disable and I will try again.
    I couldn’t see your WordPress ▸ Dashboard ▸ Tools ▸ Site Health what PHP version are you using?

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.