Warning message: Invalid argument + array_merge

Hi, I get following messages on my website internove.com and some elements don’t display correctly, esp. buttons and images. Would you please support to fix promptly, thank you !

Warning : Invalid argument supplied for foreach() in /homepages/16/d376738151/htdocs/clickandbuilds/WordPress/MyCMS5/wp-content/plugins/cornerstone/includes/utility/element-api.php on line 210

Warning : array_merge(): Argument #1 is not an array in /homepages/16/d376738151/htdocs/clickandbuilds/WordPress/MyCMS5/wp-content/plugins/cornerstone/includes/views/partials/anchor.php on line 129

Hello Frederic,

These warning messages usually occur when some of the supplied data for the elements are empty or null.

Can you please try reconfiguring (re-apply) the values of those elements that generates the warning messages, save the page and check it again?

If the issue persists, please provide us with the admin access to your site in a Secure Note:

Hi Frederic,

It was coming from footer elements, reconfiguring means making sure the elements have settings when inspected within the builder. Example,

Just make sure they have values, then save it. Re-saving will then generate data, the warning means the array_merge() is not getting any data.

Thanks!

Hi @jade @rad, thanks for your replies. The issues I have come from some elements life for instance buttons not working, toggles and many more… when I select such elements then the error messages appear like in the attachement in case of toggle. Further there are things like for instance icons that I don’t have anymore. In total I think I’m missing some files that need to be reinstalled. is there a way to reinstall X/Cornerstone missing elements without disturbing my page, not losing things? Missing file might be under others Styles, that one had been deactivated by my webhoster then I think reactivated from my side. See the attached file. Thank you.

Hello Frederic,

In that case, please provide us with the admin access to your site in a Secure Note:

Hi Frederic,

Thank you for the credentials, the issue here is your Cornerstone is up to date (4.2.5), but you leave your X theme behind (6.5.5). Please update your X theme to the latest version (7.2.3).

Updating Your Themes and Plugins

I also notice that your Wordpress is a few updates behind, please update your Wordpress to the latest version as well.

Updating WordPress

Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Let us know how it goes,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.