• Resolved adanarchila

    (@adanarchila)


    I had 2.8 but then i updated to 2.9 and this popup in the dashboard and the website.

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/user/mywebsite.com/wp-settings.php on line 637

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/user/mywebsite.com/wp-settings.php on line 637

    I updated to 2.9.1 and still having the same problem, I can not post anything because it says that i dont have permission to do it, please somebody can help me to resolve this, thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-related problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    Just had almost the same problem (only “Argument #1”) when I just upgraded to 2.9.1, but only sometimes. It seems to be caused if there are GET or POST parameters (Argument #1 and #2, respectively) in the request but these are unset by a plugin, which in my case is a modification I made to better combine Language Switcher and WP Super Cache.

    I added the line
    if (!isset($_GET)) $_GET=array();
    before the array_merge line 637, and my warnings are gone. For the “Argument #2” warning, a similar line would be needed for $_POST; however, this probably won’t help you with your new post problem – since the important post data is apparently missing from the request – and you’re gonna have to try esmi’s hints. It might help searching your plugin files for unset($_GET) and unset($_POST) (note that there might be additional blanks around the parentheses).

    (Edit: On a second thought and more investigation, I rather changed my aforementioned modification, since that was my only cause, so no core file mod needed for me…)

    Thread Starter adanarchila

    (@adanarchila)

    @esmi I tried to change the theme but it says that I couldn’t do it (the same message when Im trying to post something) it tried to deactivate all plugins but it doesnt let me do it too =(

    Right now I am trying to resetting the plugins (I will let you know, when im finished)

    And thank you cimddwc for your advice I will try to do my best, and let you know guys!

    Thread Starter adanarchila

    (@adanarchila)

    I reset the plugins folder and it seems to work ! I already posted something and it works, I will upload plugin by plugin so I can check which one gave me the problem.

    thanks guys!

    Thread Starter adanarchila

    (@adanarchila)

    I want to tell you that the plugin that was giving me the problem is wpClassified Version 1.3.1-b

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem update to wordpress 2.9 and 2.9.1 – Warning: array_merge()’ is closed to new replies.