Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @francescopost

    There is currently a known issue with WordPress 4.5 jQuery. Until WordPress fixes the bug you can temporarily fix this issue by creating child theme.
    Reference https://codex.www.ads-software.com/Child_Themes for child theme.
    After creating child theme you can copy and paste following code in you child theme’s functions.php file.

    <?php
    
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    		if (!is_admin()) {
    		        wp_deregister_script('jquery');
    		        wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.11.3');
    		        wp_enqueue_script('jquery');
    		}
    }

    Hope this will help to resolve your issue.
    If any confusion during the process you can post.
    Let me how it goes.

    Regards!!!

    Hey @wen Solutions

    thanks, its working! ??

    Thread Starter francescopost

    (@francescopost)

    Many thanks this solution resolve the problem!!!

    Thanks a lot. Hope WordPress will release the update to fix it so other people will not face this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Java error wordpress 4.5’ is closed to new replies.