-
AuthorPosts
-
January 19, 2020 at 10:47 pm #1176152
Hi,
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 #1176205Hey Anton,
Sorry for the problem. Please replace this file: /enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php with the file in private.
Best regards,
RikardJanuary 20, 2020 at 12:23 pm #1176254Hi,
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 #1176302Hi, I have the same problem, can you send me the file please.?
Thanks
January 20, 2020 at 2:26 pm #1176306Solved, there is a mistake on line 981 of /enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php
I changed
if( !rray_key_exists( ‘font-size’, $this->title_styling ) )
to:
if( !array_key_exists( ‘font-size’, $this->title_styling ) )
Thanks
- This reply was modified 4 years, 10 months ago by Gabri.
January 20, 2020 at 8:51 pm #1176430Hi Gabri,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 20, 2020 at 9:00 pm #1176439Just 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 #1176482Hi Anton,
Yes, but with the correct version.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Fatal error’ is closed to new replies.