• Resolved dadams76


    I got this array errror on 2 pages above the header. Warning: array_merge(): Argument #1 is not an array in /home3/valleylife/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    How do I get rid of it?

    The 2 pages are:
    [ redundant link removed ]

    • This topic was modified 4 years, 3 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Please follow these steps, and let me know if the issue is solved.

    – Update Elementor to its latest version.

    – Deactivate all of your plugins except Elementor. If this solves the problem, gradually activate your plugins one by one, until you spot the problematic plugin.

    – switch your WordPress theme to WordPress TwentySixteen (or other default WordPress theme) temporarily – and see if it solves your error.

    Waiting to hear if one of those solutions helped you with this issue.

    Thread Starter dadams76


    I already had the latest version of Elementor. After doing your troubleshooting, I found that my Photo Gallery plugin was the problem. I deleted the plugin. Everything works fine. Thanks for all your help.


    • This reply was modified 4 years, 3 months ago by dadams76.

    Hi! It is occurring when Woocommerce is active, when the “add to cart” is there. The elementor helpdesk researched this issue on a site of me and they wrote: “The issue is being checked by the developers and will be fixed hopefully soon.”.
    A temporally resolution is to roll back the Elementor (not the pro, but the base) plugin to v2.8.5.
    [ Signature deleted ]

    So this problem is not yet resolved

    Still not fixed. This is very irresponsible.

    I deactivated all my plugins and the error was still recurring. It seems it originates from the Elementor plugin itself

    Goodmorning everyone,
    I’m having the same problem using the visual portfolio plugin.
    on my wordpress installation I only have 2 plugins installed: elementor free and visual portfolio. installation is for testing only.
    in elementor builder the portfolio layout is loaded. however it is not possible to remove or modify the layout from the builder and the public side of the portfolio does not work.
    the elementor version is 2.9.2 and the visual portfolio version is 1.15.1
    the error is: Warning: array_merge (): Argument # 1 is not an array in /membri/miositowebtest4/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    it is quite strange because visual portfolio has full integration with elementor, isn’t it? ..

    How can I solve it?
    thanks in advance for your support

    Sorry , just one more detail.. I tested the portfolio using the shortcode in text editor and it seems work.. anyway using the visual portfolio widget it is not possible modify or cancel the section from the builder as per error above.

    Hello Everyone. The same problem happen in my WP, but the warning showed up when I set the Slider Revolution on a page. So, lets be honest, diferents plugins with the same error running on Element, it’s make no sense to redirect the error to any plugins, probably its a Elementor error that we need some help.

    In my case, thats is the warning: array_merge(): Argument #1 is not an array in wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    Please Elementor, lead a solution when possible. Many Thanks.

    I got this follow up from elementor. May it could help.


    I deactivate all the plug-in, and it still shows the same error message.

    For me it works fine again, just with the standard up to date plugins (no fix applied).
    Wr, Stefan

    FROM @zenstars

    EDIT /wp-content/plugins/elementor/includes/base/controls-stack.php

    This Problem is due to merge of array and non array variables in php 7.3 and above as per my experience.

    Kindly change at Line 1183.

    if ( ! empty( $control[‘dynamic’] ) {


    if ( ! empty( $control[‘dynamic’] ) && is_array($dynamic_settings)) {

    Solves the issue…

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Warning: array_merge()’ is closed to new replies.