cancel
Showing results for
Did you mean:

## Magento Blank Page

Warning: Invalid argument supplied for foreach()  in C:\wamp\www\shaadistore\app\code\local\EM\Themeframework\Helper\Theme.php on line 50

#0 C:\wamp\www\shaadistore\app\code\local\EM\Themeframework\Helper\Theme.php(50): mageCoreErrorHandler(2, 'Invalid argumen...', 'C:\\wamp\\www\\sha...', 50, Array)
#15 {main}im getting magento login page blank when i remove uncomment init_set('display_error',1); in index.php im getting this error which i dont know how to resolve please can anybody help me
#ini_set('display_errors', 1);
)

2 REPLIES

## Re: Magento Blank Page

Hello @maheshbabu1993,

The error is really obvious, you just need to head to that file, open it, go to the line number, and read the code to see where it's wrong.

If you don't know anything about programming then i suggest you turn the comment on.

You want to display error but are unable to fix it then get rid of it is the best choice.

In case you still want to know then learn php is a good option, you can understand your store more and even be able to fix some minnor errors yourself without hiring any developers.

In this situation, if you bought that theme, just contact support, they will fix it for you.

Best Regards,

Jimmy.

## Re: Magento Blank Page

Thanks for you suggestion  but i already contacted my theme support they fixed for me so thank you.