Title: Uncaught error prepareSkopeForAPI
Last modified: February 20, 2017

---

# Uncaught error prepareSkopeForAPI

 *  [batalf](https://wordpress.org/support/users/batalf/)
 * (@batalf)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/uncaught-error-prepareskopeforapi/)
 * This error appears every time when I’m trying to customise the theme. It worked
   for a while.
 * What I did:
    I was editing my theme. Then I suddenly noticed that the big logo
   on my front page was replaced with the smaller one(250×120). When I went into
   the customizer to fix it, the error came after trying to save. Now, I’m not able
   to edit my front page anymore.
 * The stack trace can be seen below:
 * Uncaught Error: prepareSkopeForAPI : a skope level must a string not empty for
   skope undefined
    at czr-control.min.js?ver=3.3.4:10 at Function.m.each.m.forEach(
   load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,wp-util,customize-
   controls,backbone,w…:5) at f.prepareSkopeForAPI (czr-control.min.js?ver=3.3.4:
   10) at czr-control.min.js?ver=3.3.4:10 at Function.m.each.m.forEach (load-scripts.
   php?c=1&load[]=underscore,customize-base,wp-a11y,wp-util,customize-controls,backbone,
   w…:5) at f.updateSkopeCollection (czr-control.min.js?ver=3.3.4:10) at f.<anonymous
   > (czr-control.min.js?ver=3.3.4:9) at i (load-scripts.php?c=1&load[]=jquery-core,
   jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:2) at Object.fireWith(
   load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-
   ui-widget,jquery-ui-mo…:2) at f.trigger (load-scripts.php?c=1&load[]=underscore,
   customize-base,wp-a11y,wp-util,customize-controls,backbone,w…:7) (anonymous) 
   @ czr-control.min.js?ver=3.3.4:10 m.each.m.forEach @ load-scripts.php?c=1&load[]
   =underscore,customize-base,wp-a11y,wp-util,customize-controls,backbone,w…:5 prepareSkopeForAPI
   @ czr-control.min.js?ver=3.3.4:10 (anonymous) @ czr-control.min.js?ver=3.3.4:
   10 m.each.m.forEach @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-
   a11y,wp-util,customize-controls,backbone,w…:5 updateSkopeCollection @ czr-control.
   min.js?ver=3.3.4:10 (anonymous) @ czr-control.min.js?ver=3.3.4:9 i @ load-scripts.
   php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-
   ui-mo…:2 fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-
   ui-core,jquery-ui-widget,jquery-ui-mo…:2 trigger @ load-scripts.php?c=1&load[]
   =underscore,customize-base,wp-a11y,wp-util,customize-controls,backbone,w…:7 receive
   @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,wp-util,customize-
   controls,backbone,w…:7 d @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,
   jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:2 dispatch @ load-scripts.php?c
   =1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-
   mo…:3 r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-
   ui-core,jquery-ui-widget,jquery-ui-mo…:3

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

 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/uncaught-error-prepareskopeforapi/#post-8828219)
 * Hi,
 * Thank you for reporting this issue.
    The theme Author is aware of this error 
   and is currently working on a fix.
 * I will notify Theme Author [@nikeo](https://wordpress.org/support/users/nikeo/)
   to see if he needs any further information from you.
 * Thank you
    -  This reply was modified 9 years, 3 months ago by [Denzel Chia](https://wordpress.org/support/users/denzel_chia/).
 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/uncaught-error-prepareskopeforapi/#post-8829047)
 * Hi [@batalf](https://wordpress.org/support/users/batalf/) can you get in touch
   with [this form](http://presscustomizr.com/contact) ? I would need to connect
   to your website to have a better understanding of the causes of the problem.
   
   Thanks !

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

The topic ‘Uncaught error prepareSkopeForAPI’ is closed to new replies.

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

## Tags

 * [uncaught error](https://wordpress.org/support/topic-tag/uncaught-error/)

 * 2 replies
 * 3 participants
 * Last reply from: [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/uncaught-error-prepareskopeforapi/#post-8829047)
 * Status: not resolved