
-
AuthorPosts
-
January 30, 2019 at 11:24 pm #1060640
WordPress 4.9.8 Enfold 4.5.3
Today I upgraded via FTP from Enfold 4.2.6 and now there are some pages with missing content.
https://www.chicagochurch.org/welcome/ Missing animated numbers on white bar ‘families’ ‘small groups’ etc.
https://www.chicagochurch.org/locations/ Missing Google Map
https://www.chicagochurch.org/contact-us/ Missing Google Map and Contact FormI encountered this same problem when upgrading Enfold about 9 months ago. I was hoping the problem would fix itself with a future upgrade, so I just rolled back my Enfold and everything worked fine.
Enfold Child –> Google Services says “Last time we checked we were able to connected to google maps with your API key.” And, again, the maps and everything were working fine this morning before the Enfold upgrade.
Login credentials are on this ticket.
Thank you!
January 31, 2019 at 4:54 am #1060718Hey kroskopf,
I took a look at your site and found the “Series Engine” plugin is giving an error.
All of your errors above are corrected when the plugin is deactivated.
Please check.Best regards,
MikeJanuary 31, 2019 at 9:23 pm #1061204Hi… the support for Series Engine says…
“I can verify the the core issue is that the theme isn’t enqueuing mediaelement.js like it’s supposed to. There’s gotta be a toggle in there somewhere to turn that back on, which will fix everything.”
Does Enfold block mediaelement.js? Is there a way to turn it on with the Enfold settings?
Login credentials below. Thank you!
February 1, 2019 at 1:24 am #1061322Hi,
Please try to edit the functions.php, find this line of codes.wp_register_script( 'avia-html5-video', $template_url.'/js/mediaelement/mediaelement-and-player.min.js', 'jquery', "1", true); and wp_enqueue_script( 'avia-html5-video' );
Replace them with
//wp_register_script( 'avia-html5-video', $template_url.'/js/mediaelement/mediaelement-and-player.min.js', 'jquery', "1", true); and //wp_enqueue_script( 'avia-html5-video' );
Best regards,
MikeFebruary 1, 2019 at 1:42 am #1061328I don’t see those exact lines, but I see similar code beginning around line 420 of wp-content/themes/enfold/functions.php
//load mediaelement js $opt_mediaelement = isset( $options['disable_mediaelement'] ) ? $options['disable_mediaelement'] : ''; $condition = true; if( 'force_mediaelement' != $opt_mediaelement ) { $condition = ( $opt_mediaelement != "disable_mediaelement" ) && av_video_assets_required(); } /** * Allow to force loading of WP media element for 3rd party plugins. Nedded for wp_enqueue_media() to load properly. * * @since 4.1.2 * @param boolean $condition * @param array $options * @return boolean */ $condition = apply_filters( 'avf_enqueue_wp_mediaelement', $condition, $options ); $condition2 = ( version_compare( get_bloginfo( 'version' ), '4.9', '>=' ) ) && $condition; avia_enqueue_script_conditionally( $condition , 'wp-mediaelement'); avia_enqueue_style_conditionally( $condition2 , 'wp-mediaelement'); //With WP 4.9 we need to load the stylesheet seperately
Are there edits I make to this code block to allow mediaelement.js to load?
February 1, 2019 at 2:54 am #1061332Hi,
Sorry, the solution I found above was for a different version, but I did find the setting for forcing mediaelement.js to load, it is under the Enfold Theme Options > Performance > Self hosted video and audio
I set it to “always load” and enabled your plugin, then tested for the errors above. Everything seems to be running correctly.
Please check.Best regards,
MikeFebruary 1, 2019 at 4:22 pm #1061598Thank you! Everything is running perfectly now!
February 2, 2019 at 12:11 am #1061795Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Enfold Items Not Working After Upgrade’ is closed to new replies.