Hi,
I am facing a problem with entity_soft_delete. Once entity_soft_delete is enabled then site is crashed.
To Replicate:
1)Install Drupal 7.28 fresh copy
2)Install ctools 7.x-1.4
3)Install Views 7.x-3.8
4)Install Rules 7.x-2.7
5)Intall Entity 7.x-1.5
6)Intall cf 7.x-2.0
All above modules are enbled one by one with out any problem.
Then i enable entity_soft_delete with 7.x-1.3 version. While enabling itself following fatal error throws.
Notice: Undefined index: schema_fields_sql in D:\xampp\htdocs\plain\includes\entity.inc on line 260
Catchable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in D:\xampp\htdocs\plain\includes\entity.inc on line 279 and defined in D:\xampp\htdocs\plain\includes\database\select.inc on line 1300
And site is crashed. Please check the screen shot. If i dissable the entity_soft_delete module through query then i truncate cache,cache_bootstrap. Site is UP. Please check

Regards,
tssarun.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | error.jpg | 56.61 KB | tssarun |
| entity_soft_delete_eneable_to_fatal_error.jpg | 43.49 KB | tssarun |
Comments
Comment #1
sinasalek commentedYes, this is major issue that i haven't been able to find it cause yet.
It happens under some circumstances.
You report certainly can help tracking the problem.
I have a suspension that there is an incompatibility with either rules or entity modules
Comment #2
arulraj.m commentedHi guys,
I have same problem while enabling entity_soft_delete(7.x-1.0-alpha1) module, i can't find any solution to fix this.
Comment #3
sinasalek commentedThere are some important changes in latest dev version, please try it and let me know if you still have problem.
Comment #4
tssarun commentedHi Sinasalek,
Nothing is changed, after enabling 'Entity Soft Delete'(7.x-1.0-alpha2) same fatal error throws.
Error
Notice: Undefined index: schema_fields_sql in D:\xampp\htdocs\plain\includes\entity.inc on line 260
Catchable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in D:\xampp\htdocs\plain\includes\entity.inc on line 279 and defined in D:\xampp\htdocs\plain\includes\database\select.inc on line 1300
Regards,
tssarun.
Comment #5
arulraj.m commentedHi Sinasalek,
No luck is getting same error after using updated (7.x-1.0-alpha2) module.
Regards,
Arulraj M.
Comment #6
tssarun commentedHi Sinasalek,
Still i am getting same notice's error.
. Good concept(soft delete), but unable to use in my project.
FYI: Version : 7.x-1.0-alpha2 used.
Regards,
tssarun.
Comment #7
sinasalek commentedWill be fixed for sure.
@tssarun would you please let me know what module you've installed on your project?
Comment #8
tssarun commentedHi sinasalek,
I got this error with basic installation itself.
1) Common Functionality("7.x-2.0)
2) entity(7.x-1.5)
3)entity_soft_delete(7.x-1.0-alpha2)
4)Drupal 7.31
Regards,
tssarun.
Comment #9
sinasalek commentedThanks that helps alot
Comment #10
adolfo.mansilla commentedSame issue when installing the rules module.
Comment #11
tssarun commentedHi Sinasalek,
Any update on this....
Regards,
tssarun.
Comment #12
selvakumar.pe commentedPlease apply below patch to solve Notice error Notice: Undefined index: bundles in field_info_bundles()
Patch link:
https://www.drupal.org/node/1210178#comment-4740162
https://www.drupal.org/files/issues/1210178-15-undefined-index-bundles.p...
Comment #13
spdaly commentedI applied the patch and it cleared the error message.