By Rain_Coat on
After running into this error:
warning: Invalid argument supplied for foreach() in C:\wamp\www\sites\default\modules\cck\content.module on line 422.
The menu items in Administer disappeared.
The following are all there is left to when I click Adminsiter:
--------------------------------------------------------------------------
Administer
By task By module
Welcome to the administration section. Here you may control how your site functions.
- User Management
Access rules - Site builidng
Blocks -
Site Configuration
Actions -
Reports
Available updates
--------------------------------------------------------------------------------
The error message is gone after updating CCK to current version.
I don't know where all the submenus went. Please help me. Any help would be greatly appreciated! Thank you!!
Comments
To fix this you must run
To fix this you must run update.php and make sure that it completes. That should rebuild the menus.
If update.php times out, make sure that you have enough php memory for your installed modules (see http://drupal.org/node/207036). Try 32M or 64M to be sure.
Thank you
Wow! It's back now. THANK YOU SO MUCH!
Update
Log in as user 1
Go to domain/update.php Or how ever you access the site.
Follow instructions on screen.
You must be logged in as user 1 to run update.php