Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #1312873

    Hello,
    The latest update as of 26th July 2021 – Version 4.8.5 won’t work with a column inside a column. Giving me this error
    There has been a critical error on this website.
    Learn more about troubleshooting WordPress.

    To replicate try this Insert column shortcodes inside a columns shortcode.

    [av_one_half first] my content 1
    [/av_one_half]

    [av_one_half] my content 2
    [/av_one_half]

    Error Details
    =============
    An error of type E_ERROR was caused in line 561 of the file /nas/content/live/mysitecom/wp-content/themes/mysite/config-templatebuilder/avia-shortcodes/columns/columns.php. Error message: Uncaught Error: Call to undefined method Avia_Popup_Templates::get_border_styles_options() in /nas/content/live/mysitecom/wp-content/themes/mysite/config-templatebuilder/avia-shortcodes/columns/columns.php:561
    Stack trace:
    #0 /nas/content/live/mysitecom/wp-content/themes/mysite/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1191): avia_sc_columns->register_dynamic_templates()
    #1 /nas/content/live/mysitecom/wp-content/themes/mysite/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(116): aviaShortcodeTemplate->extra_config()
    #2 /nas/content/live/mysitecom/wp-content/themes/mysite/config-templatebuilder/avia-shortcodes/columns/columns.php(89): aviaShortcodeTemplate->__construct(Object(AviaBuilder))
    #3 /nas/content/live/mysitecom/wp-content/themes/mysite/config-templatebuilder/avia-template-builder/php/template-builder.class.php(1765): avia_sc_columns->__construct(Object(AviaBuilder))
    #4 /nas/content/live/mysite

    Any suggestion?

    Thank you

    • This topic was modified 3 years, 4 months ago by road66.
    #1312882

    I have the same issue for my sites

    #1313343

    Hi,

    What PHP version are you using on your site?

    Best regards,
    Nikko

    #1313352

    Hi,

    the latest stable version of PHP 7.4

    Thank you.
    Isa

    #1313374

    I have received the same error, “There has been a critical error on this website.” It affects my site that contains LearnDash courses ($2,000 each)–and my users can’t get in. I am running the latest WordPress and the latest updated theme. This error is NEW (folks were in–then I updated and got this error).

    This is URGENT.

    Here is the page: https://chanimaluniversity.com/courses/certified-channel-manager-course/

    Here is the error message from my server error log:

    [Thu Jul 29 02:42:37.293118 2021] [proxy_fcgi:error] [pid 23152:tid 139723422701312] [client 114.119.130.168:32564] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to aviaShortcodeTemplate::unique_css_element_…………..pps.com/zcepcmambb/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(374): aviaShortcodeTemplate->element_styles_defaults()\n#2 /home/580796.cloudwaysapps.com/zcepcmambb/public_html…’

    I have turned off all but the critical plugins (the actual course), and there is still the same error.

    My site already has code snippet Plugin with an existing fix/work around for LearnDash–that addresses a problem with Enfold. I even turned that off and on with no change.

    #1313433

    Hi tedfinch,

    Thanks for giving us admin access, you can change password now.
    This is now fixed by replacing the following files: https://github.com/KriesiMedia/enfold-library/tree/master/temp_fixes/Enfold_4_8_5/template_builder and re-updating the pages. Please review your site.

    Best regards,
    Nikko

    #1313458

    Thank you! So, what caused this error? I use the Enfold theme with dozens of my clients. Should I expect this error else ware (I don’t see it on any of the other sites so far), or was the learning site unique?

    #1313805

    Hi tedfinch,

    The error is caused by the columns and as for where this issue usually appears, I think it seems to happen on some custom post type which is what is used by learning plugins, on other instances I see it being reported by those who use events plugin.

    Best regards,
    Nikko

    #1314009

    Hi Nikko,
    I got notice of an update to the Enfold theme to 4.8.6. How will this update affect the fix you made to my site? Should I update?
    Thanks – Ted

    #1314312

    Hi Ted,

    We can upload the latest version manually for you in a separate folder if you like, that way we can switch back easily if something should go wrong. If you would like us to do that, then please include FTP login details in private. You might want to start a new thread for this too, since the original poster will be able to see what you post in private otherwise.

    Best regards,
    Rikard

    #1314544

    Updating to version 4.8.6 having the same issue i tried to replace the files above getting same issue

    There has been a critical error on this website.
    Learn more about troubleshooting WordPress.

    Any suggestion?

    #1314840

    Hi road66,

    I tried nesting column shortcodes in another column on a test installation, but I can’t see any problems there. Please let us know how we can reproduce the problem you are having.

    Best regards,
    Rikard

    #1314891

    Richard – Nikko fixed the problem on the ChanimalUniversity.com site with 4.8.4. My question was whether or not I could update the theme to the 4.8.6 and if it would break the fixes Nikko made (did 4.8.6 do a general fix the incorporated Nikko’s fix?).. Perhaps Nikko could explain what he did–and then I will know whether it is safe to click the update–or if it is not covered and I should wait.

    #1314940
    This reply has been marked as private.
    #1315005

    Hi tedfinch,

    All I did was mentioned in my post here: https://kriesi.at/support/topic/column-shortcodes-getting-there-has-been-a-critical-error-on-this-website/#post-1313433
    And yes, the fixes I made is integrated in 4.8.6 (the fix was provided by our dev :))

    As to make sure if the update is safe, I would suggest setting up a staging site which is basically a duplicate of your live site just placed in a subdomain and try to update there first.
    Here’s a simple tutorial you can follow on how to make it: https://themeisle.com/blog/wordpress-staging-site/

    Best regards,
    Nikko

    #1315006

    Hi road66,

    Thanks for giving us both admin and FTP access.
    For pages (or custom post type pages) that are still receiving the error even when updated to the latest version of Enfold (4.8.6), please do the following.
    1. Edit the page (custom post type page) and copy all the content in the editor.
    2. Create a new page (literally from pages) and paste the content. (just use a new tab)
    3. Go back to page with issue and delete all the content.
    4. Copy the content from the new page and paste it to the page with the issue.
    I tried to do put the content in notepad instead of a new page and it doesn’t fix the issue.

    Best regards,
    Nikko

    #1315054

    Hi NIkko,

    Are able to reproduce the problem, is it fixed? If yes, what changes should i upload on production site?

    Thank you.

    #1316457

    Hi road66,

    I apologize for the delayed response.
    I could not reproduce it on my end, however, I do see it on your staging site and tried the method I posted above.
    Can you try to remove the current dev/staging site then create a new one then try to update it to Enfold 4.8.6.1? it the issue won’t show up then most likely it will not cause any issue on the production site.

    Best regards,
    Nikko

    #1316464

    This has been resolved. Thank you!

    #1316484

    Can someone take a look at this issue properly and explain how to fix it we have over 400 faq posts with Column shortcodes getting There has been a critical error on this website, you can’t simply destroy it after your new update which was working fine for almost 5 years, what do you mean by you can’t reproduce it on your end? I put everything step by step even purchased a sandbox so you can test your bug there. Here’s my video, take a look please https://share.getcloudapp.com/NQuYeDR7
    Column shortcodes getting There has been a critical error on this website

    • This reply was modified 3 years, 4 months ago by road66.
    #1316832

    Hi road66,

    I apologize for my mistake.
    This is now fixed on your site.
    In wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php, just below (line 345-346) :

    protected function element_styles_defaults( array $args )
    		{

    I added this code:

    if( ! isset( $args['atts'] ) || ! is_array( $args['atts'] ) )
    			{
    				$args['atts'] = array();
    			}

    This will be included on the next release of Enfold.

    Best regards,
    Nikko

    #1317039

    Hi Nikko,
    I do confirm, that error has gone now. No issues so far after the update.
    Thank you!

    #1317085

    Hi road66,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘Column shortcodes getting There has been a critical error on this website.’ is closed to new replies.