-
AuthorPosts
-
July 28, 2021 at 12:47 am #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/mysiteAny suggestion?
Thank you
- This topic was modified 3 years, 3 months ago by road66.
July 28, 2021 at 3:40 am #1312882I have the same issue for my sites
July 29, 2021 at 11:45 pm #1313343Hi,
What PHP version are you using on your site?
Best regards,
NikkoJuly 30, 2021 at 12:21 am #1313352Hi,
the latest stable version of PHP 7.4
Thank you.
IsaJuly 30, 2021 at 6:08 am #1313374I 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.
July 30, 2021 at 12:06 pm #1313433Hi 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,
NikkoJuly 30, 2021 at 1:49 pm #1313458Thank 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?
August 2, 2021 at 5:02 am #1313805Hi 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,
NikkoAugust 2, 2021 at 10:28 pm #1314009Hi 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 – TedAugust 4, 2021 at 9:39 am #1314312Hi 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,
RikardAugust 5, 2021 at 2:00 am #1314544Updating 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?
August 6, 2021 at 12:49 pm #1314840Hi 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,
RikardAugust 6, 2021 at 5:45 pm #1314891Richard – 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.
August 7, 2021 at 4:19 am #1314940This reply has been marked as private.August 7, 2021 at 9:32 am #1315005Hi 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,
NikkoAugust 7, 2021 at 9:39 am #1315006Hi 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,
NikkoAugust 7, 2021 at 7:40 pm #1315054Hi NIkko,
Are able to reproduce the problem, is it fixed? If yes, what changes should i upload on production site?
Thank you.
August 12, 2021 at 2:37 pm #1316457Hi 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,
NikkoAugust 12, 2021 at 3:47 pm #1316464This has been resolved. Thank you!
August 12, 2021 at 6:57 pm #1316484Can 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
- This reply was modified 3 years, 3 months ago by road66.
August 16, 2021 at 1:19 am #1316832Hi 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,
NikkoAugust 17, 2021 at 4:46 am #1317039Hi Nikko,
I do confirm, that error has gone now. No issues so far after the update.
Thank you!August 17, 2021 at 6:35 am #1317085Hi road66,
We’re glad that we could help :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Column shortcodes getting There has been a critical error on this website.’ is closed to new replies.