Error message when posting on 3.7.1

March 12th, 2010 by cfz
  • I have just updated two test installations (not the live site yet, thankfully) from 3.7.0 to 3.7.1. 3.7.0 worked fine. However with 3.7.1 whenever I post a new thread or reply to a thread I get an error like this:


    Warning: array_merge() [function.array-merge]: Argument #3 is not an array in [path]/includes/functions_databuild.php on line 1335

    Warning: array_merge() [function.array-merge]: Argument #4 is not an array in [path]/includes/functions_databuild.php on line 1335

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_databuild.php on line 1353

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_databuild.php on line 1353

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_databuild.php on line 1353

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_databuild.php on line 1353I have tried disabling the hooks/plugin system and that makes no difference.

    If I use the functions_databuild.php file from 3.7.0 instead it works fine (though I don't know if that breaks something else yet).

    Any ideas please?


  • Fix posted here http://www.vbulletin.com/forum/project.php?issueid=25623

    Please close this thread. :)


  • I just ran it. There are a few not recognised as vBulletin (because they are part of add-ons) and the offending file as 3.7.0 (because that's what I have uploaded for now to fix it). All others are OK.

    Someone else mentioned a similar issue here http://www.vbulletin.com/forum/showthread.php?p=1570443#post1570443 - same file but different line number though I think it is meant to be the same one.


  • I'm not having this problem. Have you run Suspect Files?


  • I have looked at the source code of the file and it is relating to badwords (assembling an array of them?).

    One of the words in our Censored Words list was a long URL which someone kept spamming the site with - http://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?albumTerm=Euro+Club+Hits+Vol +

    With that removed it works OK. So it seems that either the length of that censored word or some character in it is upsetting that code now.

    EDIT: ignore that - that fixes one test install but not the other. Even turning censorship off doesn't fix the other one. *confused*







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Error message when posting on 3.7.1 , Please add it free.

    Posted in enart.gcgx.com  |  edit

    Bulgaria-Italy: How many miles will Berbatov walk today? Xbox 360 fans ?????????????