Title: Undefined array key
Last modified: June 19, 2024

---

# Undefined array key

 *  Resolved [Snaphaan](https://wordpress.org/support/users/snaphaan/)
 * (@snaphaan)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-48/)
 * Hi
 * I get this error when I edit a page…
 * Warning: Undefined array key “background-image” in /usr/www/users/vaandel/wp-
   content/themes/astra/inc/core/class-astra-wp-editor-css.php on line 325
 * I disabled al the plugins. Still there. Tried another theme and it goes away.
   Happens with either child or Main theme and no plugins.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-array-key-48%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17843222)
 * Hi [@snaphaan](https://wordpress.org/support/users/snaphaan/),
 * Please try reinstalling the Astra theme and see if it fixes the issue. If it 
   doesn’t, please [export](https://wpastra.com/docs/how-to-import-export-astra-customizer-settings/)
   the Astra Settings and share it here. I will import it on my dev site and see
   if I am able to replicate the issue.
 * I look forward to hearing from you.
 * Kind regards,
    Herman 😊
 *  Thread Starter [Snaphaan](https://wordpress.org/support/users/snaphaan/)
 * (@snaphaan)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17872826)
 * Hi Herman. Thanks for the response!
   I deleted the Astra theme and reinstalled
   it. Same issue. I have the estra settings but not sure how to attach file. Should
   I just copy paste the text/code?
 *  [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17878218)
 * Hi [@snaphaan](https://wordpress.org/support/users/snaphaan/),
 * Thanks for the update!
 * You can just upload the file to a service like Google Drive, Dropbox, etc then
   share the link to the uploaded file here. Please make sure that the site is publicly
   accessible.
 * I look forward to hearing from you.
 * Kind regards,
    Herman 😊
 *  Thread Starter [Snaphaan](https://wordpress.org/support/users/snaphaan/)
 * (@snaphaan)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17878524)
 * Here’s the drobox link..
 * [Astra Settings](https://www.dropbox.com/scl/fi/mppdzcedy1oi94v4dtknh/astra-settings-export-07-06-2024.json?rlkey=xto2gtgx6w8uxsdlyop9vb8dk&st=lrxl62qi&dl=0)
 *  [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17897455)
 * Hi [@snaphaan](https://wordpress.org/support/users/snaphaan/), sorry for the 
   delay.
 * Thanks for sharing your Astra Settings. I am able to replicate the issue after
   import it on my dev site.
 * Well, to fix it, you can simply remove the Background Image of the `Site Background`.
   Refer to this [video](https://d.pr/v/797qUE), please.
 * Let us know if you need more help, otherwise please mark the topic as `Resolved`.
 * Kind regards,
    Herman 😊
 *  Thread Starter [Snaphaan](https://wordpress.org/support/users/snaphaan/)
 * (@snaphaan)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17899387)
 * It works! Thanks a million 🙂
 *  [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17902611)
 * Happy can be a help, [@snaphaan](https://wordpress.org/support/users/snaphaan/)!
 * Feel free to start a new thread if there’s anything else related to Astra, we
   can help you with.
 * Kind regards,
    Herman 😊

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

The topic ‘Undefined array key’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/astra/4.13.3/screenshot.jpg)
 * Astra
 * [Support Threads](https://wordpress.org/support/theme/astra/)
 * [Active Topics](https://wordpress.org/support/theme/astra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/astra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/astra/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-48/#post-17902611)
 * Status: resolved