Title: Some problems with Javascript
Last modified: July 31, 2022

---

# Some problems with Javascript

 *  Resolved [darkonelson](https://wordpress.org/support/users/darkonelson/)
 * (@darkonelson)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/some-problems-with-javascript/)
 * Please can you tell me?
    I use WordPress 6.1, Astra Pro theme and UAG blocks.
   I have problem in theme editor but I am not shure where is coming from. Editor
   and published page is ok. But in theme editor I cant get button with text and
   border only. Inspect element showing 3 errors and show that errors come from 
   WordPress. 1.wp.compose.withState is deprecated since version 5.8. Please use
   wp.element.useState instead. 2.wp.data.registerGenericStore is deprecated since
   version 5.9. Please use wp.data.register( storeDescriptor ) instead 3.wp.data.
   select( ‘core/editor’ ).getBlocks`is deprecated since version 5.3 and will be
   removed in version 6.2. Please use`wp.data.select( ‘core/block-editor’ ).getBlocks`
   instead. Because of that I have some problems with buttons editing. Do you have
   any idea how to fix that? Thank you Nelson
    -  This topic was modified 3 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsome-problems-with-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/some-problems-with-javascript/#post-15875409)
 * Since that is a commercial theme, we ask that you please go to their official
   support channel, so you can get support from the people who know it best: [https://wpastra.com/support/](https://wpastra.com/support/)
 * Forum volunteers do not have access to commercial products, so they would not
   know why it is not working correctly. Other community members who may have faced
   your issue might be able to help you, but your best bet is your product’s developer.
   We encourage you to use the official support venues, as it allows the developers
   to be aware of issues with their code and gives back to the community in a more
   robust way.
 *  [pingxiang](https://wordpress.org/support/users/pingxiang/)
 * (@pingxiang)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/some-problems-with-javascript/#post-15876233)
 * Do it with elementor.
 *  Thread Starter [darkonelson](https://wordpress.org/support/users/darkonelson/)
 * (@darkonelson)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/some-problems-with-javascript/#post-15876351)
 * Thank you.
    -  This reply was modified 3 years, 9 months ago by [darkonelson](https://wordpress.org/support/users/darkonelson/).

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

The topic ‘Some problems with Javascript’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [darkonelson](https://wordpress.org/support/users/darkonelson/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/some-problems-with-javascript/#post-15876351)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
