I have installed moodle 2.0.2+ in my system. Currently, I am trying to create the new module. I downloaded the zip file for New Module from the following url:http://docs.moodle.org/en/Development:NEWMODULE_Documentation#Base_module_folder_content .
I followed the instruction given (upto step5) in the following url: http://docs.moodle.org/en/Development:NEWMODULE_Tutorial.
When I login into admin panel notification page, it listing all the modules with its status. For my new module it shows “Non-standard (about to be installed)”. If I click on upgrade button, it gives the following error message:
'Plugin "mod_widget" is defective or outdated, can not continue, sorry.'.
line 462 of \lib\upgradelib.php: plugin_defective_exception thrown
line 265 of \lib\upgradelib.php: call to upgrade_plugins_modules()
line 1425 of \lib\upgradelib.php: call to upgrade_plugins()
line 311 of \admin\index.php: call to upgrade_noncore()
It will be great, if any one can guide me to proceed on the new module creation.