• Resolved Austin

    (@austyfrosty)


    Installing this locally on a PHP 8.4 install and when I set the “delete plugins” settings, I got the following Fatal error:

    Fatal error: Uncaught Error: Call to undefined function delete_plugins() in /.../wp-content/plugins/wordpress-beta-tester/src/WPBT/WPBT_Extras.php:223 Stack trace: #0 /.../wp-includes/class-wp-hook.php(324): WPBT_Extras->{closure:WPBT_Extras::remove_auto_installed_plugins():223}('') #1 /.../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /.../wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /.../wp-settings.php(704): do_action('init') #4 /.../wp-config.php(103): require_once('/Users/austinpa...') #5 /.../wp-load.php(50): require_once('/...') #6 /.../wp-admin/admin.php(34): require_once('/Users/austinpa...') #7 /.../wp-admin/tools.php(40): require_once('/...') #8 {main} thrown in /.../wp-content/plugins/wordpress-beta-tester/src/WPBT/WPBT_Extras.php on line 223

    Looks like you are referencing the incorrect file location for delete_plugins() this function is located in the wp-admin/includes/plugin.php file, not “file.php”.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.