Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think this is very similar to #1142812: CTools Export UI + #AJAX: Call to undefined function ctools_export_get_schema()
If you use AJAX on an Export UI form, you get the following error:
PHP Fatal error: Call to undefined function ctools_export_crud_load() in plugins/export_ui/ctools_export_ui.class.php on line 1372
The attached patch fixes it.
Comment | File | Size | Author |
---|---|---|---|
ctools-export_ui-error.patch | 711 bytes | Dane Powell |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedThis should already be fixed in -dev.
Comment #2
Dane Powell CreditAttribution: Dane Powell commentedNope... I get the same error on the same line number.
The other issue was fixed in dev, but it looks like not all instances of the bug were fixed.
Comment #3
Dane Powell CreditAttribution: Dane Powell commentedFYI I've implemented a workaround in #1364184: AJAX error when adding a mailbox, but this is definitely a bug with ctools. Thanks for the help so far.
Comment #4
kscheirerUm, this seems like a really easy fix. This function is still the same in 7.x-1.x-dev. Setting to needs review since there's a patch here.
Comment #6
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 7 year old patch to ctools_export_ui.class.php applies cleanly to the latest ctools 7.x-1.x-dev and if applicable still needs to be reviewed and tested by the community.