Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 ?

    #1176205

    Hey Anton,

    Sorry for the problem. Please replace this file: /enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php with the file in private.

    Best regards,
    Rikard

    #1176254

    Hi,

    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 ?

    #1176302

    Hi, I have the same problem, can you send me the file please.?

    Thanks

    #1176306

    Solved, 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.
    #1176430

    Hi Gabri,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #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.

    #1176482

    Hi Anton,

    Yes, but with the correct version.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Fatal error’ is closed to new replies.