vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Team: Hot or Not? Ready for Traffic Explosion? vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! vBSEO Helps Forum Earn $100/day from Google AdSense Discover the Power of "Long Tail Search" Crawlability Inc. Files for SEO Technology Patent
se sw

array_merge() [function.array-merge]: Argument #1 is not an array

This is a discussion on array_merge() [function.array-merge]: Argument #1 is not an array within the Bug Reporting forums, part of the vBSEO SEO Plugin category; Hi, At our forum Diät mit Abnehmen.com - Diät, fitness, fasten, Fettabsaugung, Ernährung... we have following setup: Apache 2.2.3 PHP ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Bug Reporting

Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-28-2007, 08:22 AM
Member
 
Real Name: Carsten
Join Date: May 2006
Posts: 44
array_merge() [function.array-merge]: Argument #1 is not an array

Hi,

At our forum Diät mit Abnehmen.com - Diät, fitness, fasten, Fettabsaugung, Ernährung... we have following setup:
Apache 2.2.3
PHP 5.2.0
Vbulletin 3.6.4
vBSEO 3.0.0 RC8
vBadvanced CMPS v2.2.1

this Error happens if vbseo is enabled with "new-post" "last-post" links:

Quote:
PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /includes/vba_cmps_include_template.php on line 9
PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /includes/vba_cmps_include_template.php on line 27
PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /includes/vba_cmps_include_template.php on line 35
SourceCode vba_cmps_include_template.php
PHP Code:
<?php
$phrasegroups 
= @array_merge($phrasegroups,
        array(
                
'calendar',
                
'adv_portal',
                
'postbit'
        
)
);

$specialtemplates = @array_merge($specialtemplates,
        array(
                
'adv_modules',
                
'adv_portal_opts',
                
'adv_portal_page',
                
'adv_portal_tpst',
                
'attachmentcache',
                
'bbcodecache',
                
'birthdaycache',
                
'eventcache',
                
'iconcache',
                
'maxloggedin',
                
'rankphp',
                
'smiliecache',
                
'userstats'
        
)
);

$globaltemplates = @array_merge($globaltemplates,
        array(
                
'adv_portal',
                
'adv_portal_footer',
                
'adv_portal_nodisplay'
        
)
);
?>

EDIT: The @ signs infront the array_merge functions were added by me to suppress the errormessages

Last edited by Eagle; 02-28-2007 at 03:11 PM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-28-2007, 02:46 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 20,983
Blog Entries: 1
Hello,

please try to manually enable this option in config_vbseo.php file:
PHP Code:
    define('VBSEO_NEW_LAST_POST_COOKIE',1); 
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-28-2007, 03:06 PM
Member
 
Real Name: Carsten
Join Date: May 2006
Posts: 44
Did not help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-28-2007, 03:49 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 20,983
Blog Entries: 1
Could you please open a support ticket with ftp access for troubleshooting?
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
whoa, tons of errors mindhunter77 Troubleshooting 5 03-10-2006 03:39 AM
adding my vbadvanced pages.... BamaStangGuy General Discussion 8 12-12-2005 10:18 AM


All times are GMT -4. The time now is 06:14 AM.


Powered by vBulletin Version 3.8.0 Beta 1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.