Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #291325

    Fatal error: Call to undefined function avia_get_header_scroll_offset() in /home/royal2014/public_html/wp-content/themes/Enfold/css/dynamic-css.php on line 772

    Please help! This site is live!

    #291331

    Ok, so I disabled that line of code and now the header images are missing. Please advise. Thanks again.

    #291349

    When you said you did an update do you mean a manual update or one through the admin panel?
    I previously got errors while doing the automatic update in mid run and that killed the site so now I ONLY do updates manually.

    If you did an update via the admin panel and you got an error you need to manually reinstall the theme and make sure to have a backup first

    #291351

    I did a manual update using FTP, and only changed the files that had been altered since the version I had installed, which was 2.8.1. I have uploaded a clean and completely new version of 2.9.1 on the server, and will swap over to that, hoping this will fix it but I have run into fatal errros before when updating Enfold manually via FTP. Any thoughts on that?

    #291714

    Hi!

    Try to re-upload the wp-content/themes/enfold/functions-enfold.php file. It contains the function mentioned in the first post (avia_get_header_scroll_offset()).

    Regards,
    Peter

    #291849

    So I pointed the child theme to a brand new clean upload of the theme and it’s working again, however, I am trying to use the toolTip plugin to make an image map with hotspots and when I switch to the default editor I get a blank filed for both the visual and HTML editor. Thoughts? thanks.

    #291923

    Hello,

    Have you tried disabling all third-party plugins to see if it gets fixed?

    Regards,
    Josue

    #292628

    Yes, unfortunately I still get nothing in the default editor – blank field for both visual and HTML.

    • This reply was modified 10 years, 4 months ago by webWahine.
    #292814

    Hi!

    Thank you for using the theme.

    When you switched from the advance layout builder to the default editor, are you expecting to see the same shortcodes? Note that you can only use one editor, choose between the default and advance layout builder. You cannot switch back and forth. If you want to see the actual shortcodes below the advance layout builder, switch it to debug mode. Edit functions.php, find this code on line 16:

    if(isset($avia_config['use_child_theme_functions_only'])) return;
    

    Below, add this code:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    return "debug";
    }

    Regards,
    Ismael

    #293052

    Ah, ok, I didn’t understand that you couldn’t revert to the default editor. With that said, I did have a colleague apply some code to display the shortcodes on another site using Enfold, so I will do the same for this one because I need to try and implement a hotspot image map with rollovers – not sure if it will work but it is good to know that once I commit to the advanced editor I am set. Thanks, Ismael :)

    #293162

    Hey!

    Try using the Code element instead. It was added in one of the recent updates so that users can add in a chunk of code using the ALB and not need to bother with the text element or only using the regular visual editor :)

    Regards,
    Devin

    #293175

    Great plan! Thanks so much :)

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘HELP! Doing an update and have this error – Fatal error: Call to undefined funct’ is closed to new replies.