Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Some error came open a site


manojb05

Recommended Posts

Posted

Hi all i open a site some error comout. error is given below how can i rectify it.

Warning: extract() [function.extract]: First argument should be an array in /home/something/public_html/includes/application_top.php on line 379

Posted

What is on line 379? The only use of extract in a 2.3.1 version of includes/application_top.php is around line 190. This suggests that you are using a modified version of your application_top.php file. Without the code that you are using, the only advice that I can give is that replacing

extract($variable);

with

if ( isset($variable) && is_array($variable) ) {
extract($variable);
}

will usually get you past that specific error. You may find that you simply get a different error though.

Always back up before making changes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...