Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Fredrik.r

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
Link to comment
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);

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...