I found the problem. I didn’t realize this was a generic message for pretty much all errors. I stripped everything out of the activation routine (similar to above) and ran it… got no errors. Started adding “stuff” back. And it appears a call to flush() at the end of the activation function trying to force the /wp-content/debug.log to be flushed to disk was triggering the error.
Thanks to everyone here that helped! 😉
Related Posts:
- Force plugin to fail activation
- Unable to activate wordpress importer after installing it
- Cannot modify header information – headers already sent during plugin activation
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- How To Activate Plugins via Code?
- Activate a plugin through PHPMyAdmin or FTP?
- How to catch/what to do with a WP Error Object
- An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration
- How to check if a theme is active?
- What are the best practices for updating?
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- Error: call_user_func_array() expects parameter 1 to be a valid callback
- How to eliminate weird 404 errors in wp-admin?
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- Validation error: Extending Gutenberg gallery block
- Pluggable function and activation check?
- How do I fix the “sorry, you are not allowed to access this page” error I get on the “plugins > settings” links?
- Should messages in WP_Error already be html escaped?
- Automatically install wordpress plugin at theme activation
- Show a confirm message before plug-in activation
- How to get Login Error messages on a custom template
- PHP Deprecated: Non-static method should not be called statically
- Function to activate WordPress theme inside a plugin
- Plugins error (Use roles and capabilities instead) on latest version, multisite
- WordPress error – PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()
- Activate Plugin which is in subfolder?
- Error: “Cannot modify header information”
- Plugin.php: PHP Notice: Undefined offset: 0 in
- Why am I sometimes getting a 404 error when I try to update a page with Elementor?
- check for the current screen
- “Are you sure you want to do this?” when deactivating all plugins in WordPress 4.3.1 [closed]
- explanation for activate_plugin function in wordpress core
- Remote plugin activation hook
- How should I handle errors within a plugin?
- An Unexpected HTTP Error occurred during the API request
- WordPress register_activation_hook table creation not working
- Multisite: Activate plugin for subsites only?
- The plugin generated x characters of unexpected output, $wpdb not defined
- Correct way to use register_activation_hook
- Dashboard Disappears after Upgrade
- How do you install the automattic developer plugin under localhost for mamp when there is an error, deprecated?
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- echo do_shortcode is not working on theme’s template
- Seaweed Plugin not working
- Cannot run the code after I activate the plugin
- All plugins deactivated due to error
- How can I see the error generated by plugin activation?
- wordpress in nginx docker container connected to php:8-fpm container and mariadb container isn’t creating any tables on plugin activation
- Weird problems after recovery from security breach
- How to include plugin without activation?
- Auto add content such as pages upon plugin activation?
- Error in the wp-config.php file: PHP Fatal error: Uncaught Error: Unknown named parameter (PHP 8.0)
- How to implement Sentry on WordPress? [closed]
- Detect when any plugin is activated or deactivated
- How to automate wordpress plugin activate and deactivate by php logic?
- Can a plugin still effect a site even after deletion?
- Accessing GET variable named ‘error’
- Error handling a plugin with exceptions
- Default Plugin Settings Not Writing to Database
- Plugin won’t activate – cannot declare class (already in use)
- Unable to install theme recommended plugins on Multisite
- Plugin Deactivate Self on Activation Errors
- How to activate plugins for my WordPress sites from a remote server
- Problem with wordpress version 3.8
- register_activation_hook with include file [closed]
- Prevent a plugin from being automatically activated
- Post-terms-order PHP errors after update
- Is any information available in PHP files in WP about plugin activation history?
- Call to undefined function get_userdata in user.php
- Only Homepage not loading properly
- Accidentally Broke Site (Please Help) [closed]
- One of my plugins broke when I tried to update it, how do I safely uninstall it?
- Images not showing after changing wp-content folder name
- Activated plugin is stored as an object, rather than as a path
- Own plugin corrups plugin-activation
- WooCommerce Checkout Error [closed]
- qTranslate conflicts with SEO-plugins [closed]
- CSV file generation failing
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- How to redirect a URL with parameters?
- Problem using Press-this book marklet
- Python with wordpress plugin
- How to check if tables in WordPress still exists after activations
- How to block plugin activations with no known user or coming from unknown IP address range?
- Nonce failing on form submission
- Run plugins only on certain pages
- Uncaught TypeError: jQuery(…).flipster is not a function in wordpress
- WordPress site periodically goes down
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Deactivating all plugins and reactivating one by one, fixes conflicts. Why?
- Force file download on plugin activation
- Why do plugins deactivate by themselves?
- WordPress shows error related to allow_url_fopen
- AFNetworking incorrectly interpreted WP_Error
- WordPress user account activation
- Updated 4.3 Getting Error: Warning: call_user_func_array() expects parameter 1 to
- Multiple instance of data in plugin custom database table on plugin activation
- Why this function not working for install database on plugin activation
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- Get errors from WP_Error to different variables