Received this error "Call to undefined function ctools_export_crud_load all()" , when running update.php. I was upgrading from 7.x.1.x to 7.x.2.x. Adding the following:
ctools_include('export');
to the password_policy_update_7201 function fixed the issue.

CommentFileSizeAuthor
#1 2282977-include_ctools_export-1.patch465 bytesaohrvetpv

Comments

aohrvetpv’s picture

Status: Active » Needs review
StatusFileSize
new465 bytes

Thanks for reporting it. I must not have properly tested that update.

aohrvetpv’s picture

mizage, there is basically no update code for updating from 7.x-1.x to 7.x-2.x. Uninstalling 7.x-1.x then installing 7.x-2.x and re-creating policies is a safe approach. Errors are likely otherwise. However, password history and probably some other stuff will be lost.

Maybe you already updated by uninstalling and re-installing, but just wanted to warn in case not. Adding update code for 7.x-1.x to 7.x-2.x is an open issue.

aohrvetpv’s picture

Status: Needs review » Fixed

Reproduced problem and confirmed patch fixes.

  • Commit 7e89c11 on 7.x-2.x by AohRveTPV:
    Issue #2282977 by mizage, AohRveTPV: Fixed error running update 7201.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.