• RataCross

    (@ratacross)


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milos

    (@miloss84)

    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.

    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, 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.

    I hope this helps. If I missed something, please reply if you have any further questions regarding this issue.

    Thread Starter RataCross

    (@ratacross)

    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

    (@avalynnc)

    [removed]

    • This reply was modified 1 year ago by avalynnc.
    • This reply was modified 1 year ago by avalynnc.
    • This reply was modified 1 year ago by avalynnc. Reason: duplicate
    Plugin Support Milos

    (@miloss84)

    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.