Forum Replies Created
-
AuthorPosts
-
Solved as seen here: https://kriesi.at/support/topic/enfold-4-7-1-timeline-module-broken/#post-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, 10 months ago by Jo. Reason: Corrected my explanation... I thought it should be !array..., but it seems that array... is the thing intended
Oh, you mean
rray_key_exists()
should probably bearray_key_exists()
? That would make sense, actually.Same 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, 10 months ago by Jo. Reason: Added EDIT comment to public section
October 9, 2019 at 1:45 pm in reply to: GDPR modal without message bar not possible anymore? #1146516I have now done the following things …
* replaced all files as you suggested
* reset all Enfold theme settings from the config menu
* deleted and reinstalled the theme via WordPress
* used only the parent theme and not my child theme for each of the attempts
None of these made any difference. You are sure that there should be 4 options in 4.6.3.1, right? Because not even the HTML select statement shows more than two as opposed to an earlier version I had.
If your are 100% sure that a vanilla installation of the theme currently has 4 options then I probably messed something up (though I am not sure how).
Cheers,
Jo
PS: I have deactivated the account I gave you for now. I can reactivate it if you need it again.October 7, 2019 at 5:21 pm in reply to: GDPR modal without message bar not possible anymore? #1145850This reply has been marked as private.October 7, 2019 at 6:46 am in reply to: GDPR modal without message bar not possible anymore? #1145639Hi, I would love to, but I only have the following options for “Enable cookie consent messages”:
* Disable cookie consent messages
* Enable cookie consent messages
The HTML select statement has those two options and nothing else for me.
Cheers,
Jo -
AuthorPosts