-
AuthorPosts
-
July 15, 2014 at 12:39 am #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!
July 15, 2014 at 12:54 am #291331Ok, so I disabled that line of code and now the header images are missing. Please advise. Thanks again.
July 15, 2014 at 2:30 am #291349When 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
July 15, 2014 at 2:48 am #291351I 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?
July 15, 2014 at 5:35 pm #291714Hi!
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,
PeterJuly 15, 2014 at 10:16 pm #291849So 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.
July 16, 2014 at 3:15 am #291923Hello,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueJuly 17, 2014 at 8:01 pm #292628Yes, 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.
July 18, 2014 at 5:17 am #292814Hi!
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,
IsmaelJuly 18, 2014 at 4:53 pm #293052Ah, 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 :)
July 18, 2014 at 10:24 pm #293162Hey!
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,
DevinJuly 18, 2014 at 11:14 pm #293175Great plan! Thanks so much :)
-
AuthorPosts
- The topic ‘HELP! Doing an update and have this error – Fatal error: Call to undefined funct’ is closed to new replies.