Results 1 to 3 of 3

Thread: general.js error

  1. #1
    Thread Starter
    Expired Customer madmanc's Avatar
    Join Date
    Feb 2015
    Posts
    265
    Thanks
    77
    Thanked 33 Times in 29 Posts

    general.js error

    hi if follow the guide here : https://docs.appthemes.com/tutorials...assipress-4-x/

    each page on the site then has this error in the console.

    Failed to load resource: the server responded with a status of 404 () general.js

    if i remove from my functions php

    function classipress_child_scripts() {
    wp_enqueue_script( 'child-script', get_stylesheet_directory_uri() . '/general.js' );

    // Disable the ClassiPress default scripts.
    //wp_dequeue_script( 'theme-scripts' );

    // Disable the Foundation framework scripts.
    //wp_dequeue_script( 'foundation' );
    //wp_dequeue_script( 'foundation-motion-ui' );
    }

    add_action( 'wp_enqueue_scripts', 'classipress_child_scripts', 999 );

    all errors are gone.

    seems a bit strange as i have no plugins installed yet , just main theme and my child theme . is this guide document outdated/ ?

    www.gundog.world is my domain

    many thanks in advance

  2. #2
    Thread Starter
    Expired Customer madmanc's Avatar
    Join Date
    Feb 2015
    Posts
    265
    Thanks
    77
    Thanked 33 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,061 Times in 999 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HTTP Error 403 Forbidden - Saving General Settings
    By gbishop in forum Report ClassiPress Bugs
    Replies: 15
    Last Post: December 17th, 2012, 06:08 PM
  2. Error in the general settings JB 1.4.2
    By TheSyndicate in forum JobRoller General Discussion
    Replies: 1
    Last Post: October 12th, 2011, 09:56 AM