Tagged: enfold, Enfold 4.7.1, timeline
-
AuthorPosts
-
January 14, 2020 at 3:59 am #1173055
Hi team, since updating to 4.7.1 any pages on my website using the timeline element are broken. Since rolling back to the previous Enfold version, the problem is fixed. Website is using latest version of WordPress. I have taken screenshots of the problem which shows the error code if you want me to send them through.
January 14, 2020 at 4:14 am #1173057Same here. Though I only have one of those pages and have not checked whether it worked with 4.7… I just know that it worked before the 4.7.* versions.
The error message on the page in question in WP debug mode is as follows:Fatal error: Uncaught Error: Call to undefined function rray_key_exists() in /myblog/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php:981 Stack trace: #0 /myblog/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(890): avia_sc_timeline->shortcode_handler(Array, ‘<br />\n[av_time…’, ‘av_timeline’, Array) #1 /myblog/public_html/wp-includes/shortcodes.php(325): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_time…’, ‘av_timeline’) #2 [internal function]: do_shortcode_tag(Array) #3 /myblog/public_html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(av_cel…’, ‘do_shortcode_ta…’, ‘[av_layout_row …’) #4 /myblog/public_html/wp-includes/class-wp-hook.php(288): do_shortcode(‘[av_layout_row …’) #5 /myblog/public_html/wp-includes/plugin.php(206): WP_Hook->appl in /myblog/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php on line 981
EDIT: This happens when I try to open the editor in the “backend” as well, which basically means that this page is lost unless you provide a fix asap!
- This reply was modified 4 years, 11 months ago by Jo. Reason: Added EDIT comment to public section
January 14, 2020 at 12:09 pm #1173241Same here. My start page https://immo-investmentplan.de/ is broken in cause of the timeline module. I’m also not able to remove it from backend.
January 14, 2020 at 1:02 pm #1173282Hi LKG17,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. Also please point out where you are using the Timeline element.
Jo & Freediver2011 – Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site. Also please point out where we can see and reproduce the problem with the Timeline element.
Best regards,
RikardJanuary 14, 2020 at 1:30 pm #1173309Pretty clear: Call to undefined function rray_key_exists() in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php:981
It’s a typo: if( !rray_key_exists( ‘font-size’, $this->title_styling ) ) Please fix.
January 14, 2020 at 1:43 pm #1173316Oh, you mean
rray_key_exists()
should probably bearray_key_exists()
? That would make sense, actually.January 14, 2020 at 1:50 pm #1173319Hi,
Thanks for the heads up! We have informed our devs regarding the typo.
You can find corrected file here – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_7_1/timeline.php
Regards,
YigitJanuary 14, 2020 at 1:51 pm #1173320@Emazing, you are indeed amazing ;-) That was the fix! Thx!!!
For everyone else…
(1) Open the file/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php
.
(2) Jump to line 981 that readsif( !rray_key_exists( 'font-size', $this->title_styling ) )
(3) Add ana
afterif( !
(3) Replaceif( !rray
withif( array
(4) Save the file and check your site
(5) Praise Emazing ;-)- This reply was modified 4 years, 11 months ago by Jo. Reason: Corrected my explanation... I thought it should be !array..., but it seems that array... is the thing intended
January 14, 2020 at 2:39 pm #1173339Thx Jo. Also for explaining the fix in detail.
January 14, 2020 at 2:41 pm #1173340 -
AuthorPosts
- You must be logged in to reply to this topic.