Hi And thankyou for viewing this post, i have not change any thing on my site,the front page works just great,but when i try to access the wp-admin area i get this: Warning: Invalid argument supplied for foreach() in /home/alans123/public_html/script-store.info/wp-admin/menu.php on line 129 Warning: Invalid argument supplied for foreach() in /home/alans123/public_html/script-store.info/wp-admin/menu.php on line 172 Fatal error: [] operator not supported for strings in /home/alans123/public_html/script-store.info/wp-admin/includes/plugin.php on line 603 This is whats on the line above: line 129 foreach ($menu as $menu_page) { line 172 foreach ( $menu as $id => $data ) { plugin.php line 603 $menu[] = array ( $menu_title, $access_level, $file, $page_title, 'menu-top ' . $hookname, $hookname, $icon_url ); If any one has got any ideas,i would be greatful Thanks
Sounds like you've had a problem with the install/upgrade process. Copy your wp-content folder, then delete everything and upload WP again. Set your details in wp-config.php to the database details you have now (or just don't delete the current wp-config.php file). then copy back your content for the wp-content folder