Title: Error Google Chrome Console
Last modified: November 1, 2024

---

# Error Google Chrome Console

 *  Resolved [ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/)
 * (@ciucaadrian11)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/)
 * Hello,
 * Could you please help me in order to fix the follwing error from Google Chrome
   Console:
   “Uncaught ReferenceError: newscrunch_missed_settings is not defined”
    -  This topic was modified 1 year, 7 months ago by [ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-google-chrome-console%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Akhilesh](https://wordpress.org/support/users/atul-rahman/)
 * (@atul-rahman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18112288)
 * Hi
 * Thanks for contacting to us.
 * To fix the issue follow the given below instruction.
    1. **Locate `script.php`:**
    2.  - Navigate to your WordPress theme folder for Newscrunch.
        - Go to `wp-content/themes/Newscrunch/inc/script/` and find the `script.php`
          file.
    3. **Replace the Code:**
    4.  - Open `script.php` in a code editor.
        -  Copy and replace the existing code in `script.php` with the updated code
          from the [link](https://controlc.com/a656e512).
    5. **Test the Update:**
    6.  - Save the file and reload your website to check if the `newscrunch_missed_settings`
          error is resolved.
 * If you run into any confusion during these steps, feel free to reach out for 
   more guidance!
 * Regards
 * Newsblogger Support Team
 *  Thread Starter [ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/)
 * (@ciucaadrian11)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18114526)
 * Hello,
 * Thanks for the quick reply. I followed your instruction but the error persist.
 * I have replaced the existing code from wp-content/themes/newscrunch/inc/scripts/
   with the one provided by you, I purged the cache, but I have the same error in
   the Google Chrome Console and Microsoft Edge.
 * Do you have any other solution in order to fix this error?
 * Thank you!
 *  [Akhilesh](https://wordpress.org/support/users/atul-rahman/)
 * (@atul-rahman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18114542)
 * Hi [@ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/),
 * Thank you for your patience.
 * Could you please check if any plugins might be causing this issue? If possible,
   try deactivating each plugin one by one and see if the issue resolves, as there
   may be a conflict with the theme.
 * Let us know how it goes!
 * Best regards,
   The Newsblogger Support Team
 *  Thread Starter [ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/)
 * (@ciucaadrian11)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18114598)
 * Hello,
   I deactivated all plugins and the issue persist.Thank you!
 *  [Akhilesh](https://wordpress.org/support/users/atul-rahman/)
 * (@atul-rahman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18114888)
 * Hi
 * We have identified the cause of the console error. This issue is occurring because
   the “Missed Section” feature has not been enabled. Additionally, we found a minor
   conditional check error in our code that contributes to this.
 * We will correct this issue in our next update. Thank you for your patience, and
   please feel free to reach out if you have any further questions.
 * To fix the issue now follow the given below instruction.
 * 1 Find the** functions.php** file located in your child theme **Newsblogger **
   directory.
 * 2 Open the file and find the below line of code on line no 49.
 *     ```wp-block-code
       wp_enqueue_script('newsblogger-custom', NEWSBLOGGER_TEMPLATE_DIR_URI . '/assets/js/custom.js', array('jquery'), '',true);
       ```
   
 * 3 And repalce it with below line of code.
 *     ```wp-block-code
       if(get_theme_mod('hide_show_missed_section',true)==true):        wp_enqueue_script('newsblogger-custom', NEWSBLOGGER_TEMPLATE_DIR_URI . '/assets/js/custom.js', array('jquery'), '',true);	endif;	
       ```
   
 * Let me know if you have any confusion.
 * Thanks&Regard
 * The Newsblogger support team
 *  Thread Starter [ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/)
 * (@ciucaadrian11)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18114996)
 * Hello,
 * After I replaced the old code with the new one provided by you, there is a critical
   error.
 * ![](https://i0.wp.com/epedia.ro/wp-content/uploads/2024/11/Critical-error.png?
   ssl=1)
 *  [Akhilesh](https://wordpress.org/support/users/atul-rahman/)
 * (@atul-rahman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18115013)
 * Hi
 * This error is occurs bz you did not add **endif;**
 * More clarification kinldy see the [snapshot ](https://prnt.sc/GXhvU9JHRf-0)and
   add endif;
 * Feel free to contact us if you have any issue.
 * Thanks
 *  Thread Starter [ciucaadrian11](https://wordpress.org/support/users/ciucaadrian11/)
 * (@ciucaadrian11)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18115911)
 * Hello,
 * My mistake. It seems that the error has been fixed.
   Thank you for your support!
 *  [Akhilesh](https://wordpress.org/support/users/atul-rahman/)
 * (@atul-rahman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18116835)
 * Hi
 * I’m glad to hear that the issue has been resolved! We’re always committed to 
   enhancing your website’s appeal. Should you need further assistance, please don’t
   hesitate to reach out.
 * If you’re satisfied with our theme and support, we’d greatly appreciate your 
   feedback. Please take a moment to share your valuable thoughts here:
 * [NewsBlogger Theme Review](https://wordpress.org/support/theme/newsblogger/reviews/#new-post)
 * Regards 
 * Newsblogger Support Team

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Error Google Chrome Console’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/newsblogger/0.2.6.3/screenshot.
   png)
 * NewsBlogger
 * [Support Threads](https://wordpress.org/support/theme/newsblogger/)
 * [Active Topics](https://wordpress.org/support/theme/newsblogger/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/newsblogger/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/newsblogger/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Akhilesh](https://wordpress.org/support/users/atul-rahman/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/error-google-chrome-console/#post-18116835)
 * Status: resolved