• I was getting the following error whenever I opened the mobile theme:

    GET https://www.website.comwp-content/plugins/wptouch/themes/bauhaus/default/bauhaus.js net::ERR_NAME_NOT_RESOLVED

    Notice the missing slash after the website URL. As a temporary fix I added a slash to the function file, but it would be nice if the plugin was updated.

    function bauhaus_enqueue_scripts() {
    	wp_enqueue_script(
    		'bauhaus-js',
    		'/' . BAUHAUS_URL . '/default/bauhaus.js',
    		array( 'jquery' ),
    		BAUHAUS_THEME_VERSION,
    		true
    	);
    }

    If it helps, I’m using Rackspace Cloud Sites, with PHP 5.6, in WordPress 4.6.1. The only plugin that I have installed that may be affecting it is Wordfence.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘bauhaus.js file not found’ is closed to new replies.