January 19, 2020 at 10:47 pm #1176152
I got a “fatal error” after the last Enfold update on only a few pages of my website. You can see it here
And the code is following :
Fatal error: Uncaught Error: Call to undefined function rray_key_exists() in /home/newpoint/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php:981 Stack trace: #0 /home/newpoint/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1041): avia_sc_timeline->shortcode_handler(Array, '\n[av_timeline_i...', 'av_timeline', Array) #1 /home/newpoint/public_html/wp-includes/shortcodes.php(325): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_timeline_i...', 'av_timeline') #2 [internal function]: do_shortcode_tag(Array) #3 /home/newpoint/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(av_tim...', 'do_shortcode_ta...', '\n[av_timeline o...') #4 /home/newpoint/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php(481): do_shortcode('\n[av_timeline o...') #5 /home/newpoint/public_html/wp-content/themes/enfold/config-template in /home/newpoint/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php on line 981
Any idea where the problem is coming from ?January 20, 2020 at 6:12 am #1176205
Sorry for the problem. Please replace this file: /enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php with the file in private.
RikardJanuary 20, 2020 at 12:23 pm #1176254
thank you very much. It does work now.
Does it mean that this file will be overwritten at the next update and I have to keep for that ?January 20, 2020 at 2:17 pm #1176302January 20, 2020 at 2:26 pm #1176306
Solved, there is a mistake on line 981 of /enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php
if( !rray_key_exists( ‘font-size’, $this->title_styling ) )
if( !array_key_exists( ‘font-size’, $this->title_styling ) )
January 20, 2020 at 8:51 pm #1176430
- This reply was modified 9 months, 1 week ago by Gabri.
Glad you got it working for you! :)
If you need further assistance please let us know.
VictoriaJanuary 20, 2020 at 9:00 pm #1176439
Just tell me if the file given to me at the beginning of the thread will be overwritten at the next update and I have to keep it for that ?
And afterwards, you can close the thread.January 20, 2020 at 9:53 pm #1176482
The topic ‘Fatal error’ is closed to new replies.