Jump to content
Sign in to follow this  
Fredrik.r

Issues with Page Manager (Extra pages-info box w/ admin)

Recommended Posts

Hi!

 

I have an issue I can't solve. Since the hosting company updated PHP to version 5 I get an error. I do not think it has to do with the osCommerce 051113 update.

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/httpd/ws2890/blush.se/shop2/admin/page_manager.php on line 591

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/httpd/ws2890/blush.se/shop2/admin/includes/classes/object_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home/httpd/ws2890/blush.se/shop2/admin/includes/classes/object_info.php on line 18

 

Above is showing when clicking Page Manager in admin. Would really appreciate some help with this if possible!

Edited by Fredrik.r

Share this post


Link to post
Share on other sites

Should be fixed now. For other having the same issue with page_manager.php change (around row 520, mine i modified) this;

 

Replace

 

$bInfo_array = array_merge($pages, $info);

 

with

 

$bInfo_array = array_merge($pages, (array)$info);

Share this post


Link to post
Share on other sites
Should be fixed now. For other having the same issue with page_manager.php change (around row 520, mine i modified) this;

 

Replace

 

$bInfo_array = array_merge($pages, $info);

 

with

 

$bInfo_array = array_merge($pages, (array)$info);

 

 

Cool!! - this fix sorted out an issue I had with Article Manager 1.3(etc).

 

Tanx!!


Never underestimate the power of stupid people, especially in groups.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×