Support » Plugin: Elementor Page Builder » Bug in 2.9.0: PHP warning

  • doffine

    (@doffine)


    Hey there Elementor team,

    in the new version 2.9.0 there is a bug causing a PHP warning on the frontend. This didn’t happen in 2.8.5.

    Here is the warning (PHP is 7.3):
    Warning: array_merge(): Expected parameter 1 to be an array, null given in /[SERVERPATH]/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    Could you fix this?

    Many greetings,
    -doffine

Viewing 15 replies - 16 through 30 (of 30 total)
  • @joplode
    The profile page shows without any problem, but when I edit with Elementor, its giving me the error. Nothing seems to make it work.

    https://go.aws/3bKvRih

    Check the above link and error on the bottom left.

    • This reply was modified 5 months, 4 weeks ago by motadon.

    @motadon Try under Elementor / Tools / General to activate the Safe Mode, if it works then.

    Plugin Support davidr90

    (@davidr90)

    Hi,

    We are aware of this issue that is currently being checked by our developers.

    Please go over our troubleshooting guide for this error:
    https://docs.elementor.com/article/620-known-bugs-of-elementor

    We are sorry for your inconvenience.

    Hi there,
    The solution above from @rapace81 if fixing this problem but introducing another issue if you are using “loop” Elementor templates containing images with link and advanced custom fields set in my application.
    Thanks

    Sorry not saw answer of davidr90

    • This reply was modified 5 months, 3 weeks ago by johnjromkyoto.

    GREAT!!!
    Thanks a lot to rapace81 (@rapace81) !

    I’m on
    php 7.2.27
    curl 7.68.0
    openssl 1.1.1d
    apache 2.4.41

    It’s working for me as well.
    Hoping that the Elementor team will correct this error appeared since the 2.9 update like you mentioned.
    Best Regards

    wow it’s fixed

    Thanks

    @rapace81

    Hi,
    sorry the question, but can you please tell me “how” I can change the row 1184?
    i have the same problem since updating to elementor pro.

    please watch my site:

    http://www.alpinejitterbugs.com

    ERROR:
    Warning: array_merge(): Argument #1 is not an array in /www/htdocs/w0193873/alpinejitterbugs.com/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    • This reply was modified 5 months, 3 weeks ago by sirom777.

    Hi @sirom777,
    I have seen your site, it seems to me that you have solved it, you have changed row 1184, because I have not seen the error you have indicated.

    ERROR:
    Warning: array_merge (): argument no. 1 is not an array in /www/htdocs/w0193873/alpinejitterbugs.com/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    Hi,

    The same thing happens on my gallery page.

    Warning: array_merge(): Argument #1 is not an array in /home/modry/domains/modry.com.pl/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184

    I changed the entry according to the instructions of rapace81 but nothing has changed.

    @modry,
    You should try this change from github
    https://github.com/elementor/elementor/issues/10578

    Kindly change at Line 1183.

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

    to

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

    This worked for me

    @gepe thx thank you, but unfortunately it didn’t help 🙁

    Hi, that`s new.

    On my other website, the error appeared after a few days. Exactly today.
    I did not make any changes on this page and was updated at the same time as the first, which does not work.
    I tried the solution from @gepe with the 1183 line but more errors came out, several dozen per page.

    Warning: Use of undefined constant ‘dynamic’ – assumed”dynamic”(this will throw an Error in future version of PHP) in/home/modry/domains/patrykmodrowski.pl/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1183

    Please help!

    No solution solved my problem. You can go at your Dashboard to Elementor->Tools-> version Control. Here you can simple roll back your Plugins to 2.8.4 and everything works.

    After 6 Days the Support got no Solution. It’s a shame!

    it seems to appear when using woocommerce add to cart button

Viewing 15 replies - 16 through 30 (of 30 total)
  • You must be logged in to reply to this topic.