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

    #1173057

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

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

    #1173282

    Hi 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,
    Rikard

    #1173309

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

    #1173316

    Oh, you mean rray_key_exists() should probably be array_key_exists()? That would make sense, actually.

    #1173319

    Hi,

    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,
    Yigit

    #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 reads if( !rray_key_exists( 'font-size', $this->title_styling ) )
    (3) Add an a after if( !
    (3) Replace if( !rray with if( 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
    #1173339

    Thx Jo. Also for explaining the fix in detail.

    #1173340

    Hi,

    Thanks! For clarification, following line

    if( !rray_key_exists( 'font-size', $this->title_styling ) )

    should be as following

    if( array_key_exists( 'font-size', $this->title_styling ) )

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.