Closed (fixed)
Project:
Commerce Kickstart
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jul 2012 at 22:39 UTC
Updated:
9 Aug 2012 at 13:41 UTC
I was uninstalling some modules and when i try to disable Commerce Kickstart Migration module, i get a fatal error page.
The log says:
PHP Fatal error: Class 'CommerceKickstartNode' not found in /xxxxxxxxxxxx/profiles/commerce_kickstart/modules/contrib/migrate/includes/base.inc on line 437, referer: http://xxxxxxxx/admin/modules/uninstall/confirm
Comments
Comment #1
guguss commentedComment #2
bojanz commentedThis might not be an issue anymore, since we changed the migrations a lot.
Needs retestng.
Comment #3
guguss commented@vasike : Can you test that to see if it's fixed ?
Comment #4
vasikei couldn't see this issue on uninstalling.
BUT there are "similar" issues for disabling Commerce Kickstart Migration module.
it seems that all "demo_content" modules that have migration, use migration classes that extends CommerceKickstartMigration class.
which provide an error like:
Fatal error: Class 'CommerceKickstartMigration' not found in drupal_path/profiles/commerce_kickstart/modules/commerce_kickstart/demo_content/commerce_kickstart_merchandising/commerce_kickstart_merchandising.migrate.inc on line 8questions:
1. should we close this and open a new issue, or we can continue on this.
2. a solution could be a dependency of Commerce Kickstart Migration for these (demo content) modules.
Comment #5
vasikeCommerce Kickstart Migration dependency added for kickstart demo content modules - https://code.drupalcommerce.org/#/c/210/
Comment #6
bojanz commentedThat makes sense. Merged.
Comment #7
pedrorocha commentedI'm not sure if is about the same question, but i disabled Commerce Kickstart Blog UI and another error message, similar to the previous one, came:
PHP Fatal error: Class 'CommerceKickstartMigration' not found in /home/pedrorocha/Workspace/www-localhost/XXX/profiles/commerce_kickstart/modules/commerce_kickstart/demo_content/commerce_kickstart_blog/commerce_kickstart_blog.migrate.inc on line 8, referer: http://localhost/XXX/admin/structure/features
It was on http://localhost/xxx/admin/structure/features/cleanup/clear
I put "dependencies[] = commerce_kickstart_migrate" on "commerce_kickstart_blog.info" and disabled Commerce Kickstart Blog without the problem, so i guess it's really ok.
This will go on alpha4, right?
Comment #8
bojanz commentedYes, that's the same error, and the fix will be included in the next release (as will all other fixes committed since the last release was tagged)