Fatal Error
-
Hello,
Upon visiting the Settings -> ACF Cleaner page. No header no footer. WP 5.7. I wonder if ACF has to be enabled for this to work? I know the db has tons of ‘stuff’ data in the post_meta from left over fields.
So this turns out if ACF is DISBABLED this Error appears. Maybe a better error handling of ACF is NOT present (anymore)?
Fatal error: Uncaught Error: Call to undefined function whatwedo\AcfCleaner\get_field_objects() in […]/wp-content/plugins/whatwedo-acf-cleaner/class/class-discovery.php on line 73
Call Stack # Time Memory Function Location 1 0.0001 369432 {main}( ) .../tools.php:0 2 0.0001 370680 require_once( '[...]/public/wp-admin/admin.php' ) .../tools.php:40 3 0.2743 14607608 require_once( '[...]/public/wp-admin/admin-header.php' ) .../admin.php:239 4 0.2758 14612016 do_action( ) .../admin-header.php:102 5 0.2758 14612392 WP_Hook->do_action( ) .../plugin.php:484 6 0.2758 14612392 WP_Hook->apply_filters( ) .../class-wp-hook.php:316 7 0.2765 14616120 whatwedo\AcfCleaner\WP->enqueueAdminAssets( ) .../class-wp-hook.php:292 8 0.2784 14621968 whatwedo\AcfCleaner\Data->batchDiscovery( ) .../class-wp.php:68 9 0.2797 14628056 whatwedo\AcfCleaner\Discovery->__construct( ) .../class-data.php:32 10 0.2803 14634456 whatwedo\AcfCleaner\Discovery->cleanAcfUnusedData( ) .../class-discovery.php:31 11 0.2803 14634456 whatwedo\AcfCleaner\Discovery->getUnusedData( ) .../class-discovery.php:52 12 0.2803 14634456 whatwedo\AcfCleaner\Discovery->checkMetadataUsage( ) .../class-discovery.php:44 13 0.2803 14634456 whatwedo\AcfCleaner\Discovery->getUsedFieldKeys( ) .../class-discovery.php:80
- The topic ‘Fatal Error’ is closed to new replies.