vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2008, 02:07 PM
FleaBag's Avatar
FleaBag FleaBag is offline
Member
 
Join Date: Mar 2004
Posts: 99
Exclamation Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in

I noticed another thread here with this error, but that seemed to be related to integrations. Since I have gone to the extent of removing and reinstalling CMPS and no longer have any integrations, I don't think it's the same problem.

On my CMPS index I get the following at the top:
Quote:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vba_cmps_include_top.php on line 87

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vba_cmps_include_top.php on line 92
In addition, each new page that I create does not save it's 'type'. When viewing the page overview, the type box is empty... Although my default index page (installed by the installer) does have a type.

When editing these typeless custom pages, I am always told that I cannot create a page with the same identifier - but I am editing and not creating.

I cannot remember exactly when this started, as I have spent some time trying to fix it myself. If I recall correctly, it was around the time I upgraded to vB 3.7. I don't think it was when I upgraded to the 3.7 compliant version, and I upgraded to RC2 when it was first released.

Regardless, I downgraded to RC1 and applied the fix to allow it to work with 3.7 and the errors were still there. I have now upgraded again to the RC2 3.7 compliant version.

I tried disabling all my installed hacks, but the error persisted. They are now turned back on.

When I Google the error it seems people get it with lots of other PHP scripts, and people usually point the finger at PHP5. But I am no expert, and am at your mercy.

Many thanks to Zach for his hours spent trying to fix it with me. And thanks to anyone who can shed some light on the matter.
Reply With Quote
  #2  
Old 01-28-2008, 02:57 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

If you're getting the error about the page identifier, then it sounds like your server is not allowing enough POST data to be submitted through forms. That could also easily cause the array_merge() errors you mentioned since not all of the data is being saved. If you contact your host and let them know about the issue they should be able to help you out.
Reply With Quote
  #3  
Old 01-28-2008, 03:13 PM
FleaBag's Avatar
FleaBag FleaBag is offline
Member
 
Join Date: Mar 2004
Posts: 99
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

I'll give them a tinkle, although I don't receive the error on any other area of the site and I have many hacks installed.
Reply With Quote
  #4  
Old 01-28-2008, 03:20 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

If you'd like to verify things...

http://www.vbadvanced.com/forum/atta...3&d=1187730315

Upload that file to your server (doesn't matter where), go to it in your browser, submit the form, and see what the last number printed on the page is. If it's less than 499, then that confirms that your host isn't allowing enough post data to be sent.
Reply With Quote
  #5  
Old 02-04-2008, 04:00 PM
FleaBag's Avatar
FleaBag FleaBag is offline
Member
 
Join Date: Mar 2004
Posts: 99
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

Hi Brian, sorry I didn't get a chance to update you - it's been a busy week and my online time has been sparse.

Anyway, the testfile.php proved your point, it only gets to around 198 or so... It made me realise this is probably the cause of another vB issue I have (deleting multiple threads or posts timing out, every time).

I got onto the host and they seemed interested, but couldn't do much for me, as they didn't have a copy of vB to test CMPS with themselves.

But alas, the plot thickens. I just installed Gold, and the errors no longer exist. A very pleasing, but confusing ending!

Thanks again.

Last edited by FleaBag; 02-08-2008 at 07:27 PM.
Reply With Quote
  #6  
Old 02-04-2008, 04:15 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

If you let your host know that it's the Suhosin PHP module/extension/whatever, then that should point them in the right direction. I can never remember the name of it or I would have posted it in the first place, but found it with a quick search.
Reply With Quote
  #7  
Old 02-04-2008, 04:18 PM
FleaBag's Avatar
FleaBag FleaBag is offline
Member
 
Join Date: Mar 2004
Posts: 99
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

Appreciated; I'll let them know and see if they can fix my moderation issue.
Reply With Quote
  #8  
Old 02-21-2008, 01:24 PM
FleaBag's Avatar
FleaBag FleaBag is offline
Member
 
Join Date: Mar 2004
Posts: 99
Default Re: Errors: Warning: array_merge() [function.array-merge]: Argument #1 is not an arra

It took them almost a month to respond to my support ticket and they have refused to make the change. I guess it's time to move to a new host!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /modules/ puregraf Troubleshooting & Problems 10 01-12-2010 07:20 PM
Warning: array_merge() [function.array-merge]: etc MelH Troubleshooting & Problems 7 01-16-2008 04:02 PM
Warnung: array_merge() [function.array-merge]: Argument #2 is not an array in /links/ Spoky Troubleshooting & Problems 2 10-30-2006 05:02 PM
"Warning: array_merge() [function.array-merge]:" vba_cmps_admin.php line 196 bi11i Troubleshooting & Problems 3 07-27-2005 07:49 PM
Warning: array_merge() [function.array-merge] pennylessz28 Troubleshooting / "How do I..." Questions 6 11-24-2004 05:32 PM


All times are GMT -4. The time now is 12:29 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.