Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,

    I’m seeing the exact same issue/error moving from ACF PRO to SCF. On WordPress 6.9 and SCP 6.7. Switching back to ACF PRO resolves the error. Using a very simple custom theme (headless) and wp_generate_password() is not being called anywhere. Seems somehow related to class-scf-json-schema-validator.

    Here is an instance of the error through wp cli (but it also occurs on the web side, though only for one particular site.

    PHP Fatal error: Uncaught Error: Call to undefined function wp_generate_password() in /srv/www/domain.redacted.com/html/wp-admin/includes/file.php:690
    Stack trace: #0 /srv/www/domain.redacted.com/html/wp-admin/includes/class-wp-filesystem-ftpext.php(138): wp_tempnam()
    #1 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/includes/class-scf-json-schema-validator.php(150): WP_Filesystem_FTPext->get_contents()
    #2 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/includes/class-scf-json-schema-validator.php(171): SCF_JSON_Schema_Validator->load_schema()
    #3 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/includes/class-scf-json-schema-validator.php(55): SCF_JSON_Schema_Validator->validate_required_schemas()
    #4 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/includes/acf-utility-functions.php(23): SCF_JSON_Schema_Validator->__construct()
    #5 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/includes/class-scf-json-schema-validator.php(300): acf_new_instance()
    #6 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/includes/acf-utility-functio
    ns.php(152): include_once('...')
    #7 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/secure-custom-fields.php(192): acf_include()
    #8 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/secure-custom-fields.php(832): ACF->initialize()
    #9 /srv/www/domain.redacted.com/html/wp-content/plugins/secure-custom-fields/secure-custom-fields.php(838): acf()
Viewing 1 replies (of 1 total)