Title: WordPress native body classes are gone
Last modified: October 31, 2023

---

# WordPress native body classes are gone

 *  Resolved [RataCross](https://wordpress.org/support/users/ratacross/)
 * (@ratacross)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-native-body-classes-are-gone/)
 * Hello, I realized some of my custom styles were gone and noticed that body classes
   such us “page-id-XXX” were gone and replaced with “elementor-page-XXX”. Someone
   also mentioned to me that the page was throwing this error:
 * **Warning**: array_merge(): Expected parameter 1 to be an array, null given in**/
   home/customer/www/retailhealth.global/public_html/wp-content/plugins/elementor/
   includes/frontend.php** on line **303**
   class=”elementor-page elementor-page-
   2586 no-js”>
 * I had to fix the styling issues, I also updated the site in staging but the classes
   are still gone. Not sure how to fix it and prevent from happening again.
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-native-body-classes-are-gone%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Milos](https://wordpress.org/support/users/miloss84/)
 * (@miloss84)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-native-body-classes-are-gone/#post-17166512)
 * Please note that through this channel, we can only provide support for Elementor’s
   existing features and do not provide support for custom code solutions, as it
   goes out of our [support scope](https://elementor.com/help/how-do-i-get-premium-support/#whatwesupport).
 * Currently, development/custom code queries (custom widgets and functions, Theme
   Child, custom code and CSS, BETA testing issues, compatibility issues, etc.) 
   have to be directed to our [GitHub project](https://github.com/elementor/elementor/issues),
   where our developers will be able to assist. Kindly note that our GitHub project
   is not a support channel; therefore, the response times may vary. We appreciate
   your understanding.
 * To post on our GitHub Repository, follow this guide: [Contribution Guidelines](https://github.com/elementor/elementor/blob/master/.github/CONTRIBUTING.md).
 * I hope this helps. If I missed something, please reply if you have any further
   questions regarding this issue.
 *  Thread Starter [RataCross](https://wordpress.org/support/users/ratacross/)
 * (@ratacross)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-native-body-classes-are-gone/#post-17168145)
 * Hi, no custom code – WordPress native body classes are gone and it’s all elementor
   classes. I’m getting this error again.
 * Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/
   customer/www/retailhealth.global/public_html/wp-content/plugins/elementor/includes/
   frontend.php on line 303 
   class=”elementor-page elementor-page-2586 no-js”>
 * Thank you for your help.
 *  [avalynnc](https://wordpress.org/support/users/avalynnc/)
 * (@avalynnc)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-native-body-classes-are-gone/#post-17182182)
 * [removed]
    -  This reply was modified 2 years, 6 months ago by [avalynnc](https://wordpress.org/support/users/avalynnc/).
    -  This reply was modified 2 years, 6 months ago by [avalynnc](https://wordpress.org/support/users/avalynnc/).
    -  This reply was modified 2 years, 6 months ago by [avalynnc](https://wordpress.org/support/users/avalynnc/).
      Reason: duplicate
 *  Plugin Support [Milos](https://wordpress.org/support/users/miloss84/)
 * (@miloss84)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wordpress-native-body-classes-are-gone/#post-17206030)
 * Here are a few steps you can take to troubleshoot and resolve the issue:
    1. **Check Elementor Version:** Ensure that you are using the latest version of
       the Elementor plugin. Plugin updates often include bug fixes, so updating may
       resolve the issue.
    2. **Theme Compatibility:** Ensure that your WordPress theme is compatible with
       the version of Elementor you are using. Some themes may not be fully compatible
       with the latest Elementor updates, causing conflicts.
    3. **Deactivate Other Plugins:** Temporarily deactivate all other plugins except
       Elementor to see if the issue persists. If the warning disappears, reactivate
       each plugin one by one to identify the conflicting plugin.
    4. **Switch to Default Theme:** Switch to a default WordPress theme (e.g., Twenty
       Twenty-One) to see if the issue is related to your current theme. If the warning
       disappears with the default theme, your theme may need an update or may not 
       be fully compatible with Elementor.
    5. **Check for Theme and Plugin Updates:** Ensure that your WordPress theme and
       all plugins, including Elementor, are up to date. Outdated themes or plugins
       can cause compatibility issues.
    6. **Review PHP Version Compatibility:** Ensure that your hosting environment is
       using a supported PHP version. Elementor may require a specific minimum PHP 
       version, so make sure your hosting environment meets those requirements.
 * If none of the above steps resolves the issue, you may need to seek assistance
   from the Elementor community or support channels for more specific guidance related
   to the warning you’re encountering

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

The topic ‘WordPress native body classes are gone’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [Milos](https://wordpress.org/support/users/miloss84/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/wordpress-native-body-classes-are-gone/#post-17206030)
 * Status: resolved