Your plugin is causing some errors, but not fatal ones, so plugin works, but as the error messages says, it can cause some problems, i.e. the feed that can output the plugin error so not valid xml content, or when somewhere in the code there is a redirect once “headers already sent” it fail.
If you are asking yourself why the plugin works despite that error, it’s because not all errors are fatal (make script die), just as example see following code
if ( ! $number ) {
$number = 1;
}
echo "My number is " . $number;
If you have a code like this in your plugin it will works, but it causes an error because in first line there is a variable that is not defined anywhere.
This is just an example, but there are a lot of situations like this where code works but causes errors.
When you develop a plugin, activate debug and error log and also I suggest to use some debug tools: some are really useful.
Related Posts:
- wordpress on localhost lamp doesn’t let me install plugins
- Prompted for FTP details even with FS_DIRECT set to true
- What plugins do you commonly install on a fresh WordPress install?
- How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?
- Combine multiple plugins into one?
- How to automatically install default WordPress plugins?
- Does plugin uninstall always put WordPress back into original state?
- What is the purpose of the “Hello Dolly” plugin?
- How to properly secure my WordPress installation?
- WordPress plugin installation error
- Make plugin uninstalable on older versions of WordPress
- Please select a file error
- Install plugin remotely
- What is $tab in `install_plugins_{$tab}` hook?
- Plugin to install a plugin
- Distributing and packaging plugins
- Getting a 404 when trying to load /wp-admin/plugin-install.php
- Can’t use the built-in wordpress install/upgrade plugin feature [closed]
- How to check what plugins used to be on a WordPress installation?
- Error uploading plugin zip file
- What causes an Unexpected HTTP Error within install plugins?
- How does WordPress process plugin installations?
- CMB2 installation – cannot get it to work
- Theme and plugin install or update display error in localhost
- Hook (or other way) to find out when another plugin is activated / installed
- Pushing out updates to multiple installs?
- Installing a plugin on a premium site [closed]
- get 404 when accessing wp-admin/plugin-install.php
- Create a multisite network for an existing installation
- Theme/Plugin installation through url on button click
- Why this function not working for install database on plugin activation
- Import sql data from a large file when installing plugin
- Redirect to another page using contact form 7? [closed]
- Get plugin download URL from slug
- Modify wp_installed_email / wp_new_blog_notification
- Installing wordpress on a subdomain of an already existing static website
- WordPress Plugins Don’t Automatically Update
- Can plugin2 uninstall plugin1 at the very beginning of plugin2’s installation?
- What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- To perform the requested action, WordPress needs to access your web > server
- WooCommerce: after install hook
- WordPress unable to write files in the server
- Programmatically install and activate child-theme
- Installing plug ins on a wordpress hosted site
- Can’t Install/Upgrade Plugins Through WordPress
- Unable to install plugins
- Plugin Add New Installer failing
- Installing a Plugin ( Which is already manually uploaded )
- All new plugins generating 311 chars of unexpected output?
- Upload WordPress Plugin from ZIP Broken – Returns Symbols Squares & question marks
- Restoring a WordPress site
- Can’t install plugins after updating to WordPress 4.9
- WordPress Plugin Install / Update Problem
- WP-admin plugin installation via FTP silently fails on shared hosting
- Plugin install error: Installation failed: The package could not be installed
- database – multiple wordpress installations using same database – can they share plugin settings?
- How to install jquery dotdotdot plugin for WordPress?
- WordPress menu and plugin installation problem
- Hook into install email
- Is there going to an issue running different features of WP site in different subdomains?
- Moving to WordPress Premium versus a hosting provider
- Upacking the package… stalls, but installs plugin
- How to add plugin activity in the menus?
- What possible reasons can cause my plugin not to be listed in the plugin search in the back-end of wordpress installs?
- No feedback when installing plugins or updating
- Why do I get this “peer’s certificate issuer not recognised” error when trying to install a theme?
- Using one-click plugin upgrade feature securely on suexec server
- Can I install plugins manually on WP.com? [closed]
- Google analytics not working on WordPress
- WordPress – connection information
- Plugin installation works only with FTP – how to debug?
- automation of plugin installations
- Passing a parameter to filter and action functions
- Do deactivated plugins slow down a WordPress site?
- Allow all file types for upload
- Difference between a theme and a plugin?
- Change Label for field used in Woo Commerce
- Symlinked plugin directory doesn’t appear in Admin
- Cropping, Re-sizing and Saving images from one folder to another folder in wordpress
- Cron Job not working in plugin
- What plugin should I use for a basic user signup/login system [closed]
- How to avoid redefining requirejs in plugin when another plugin also uses requirejs
- Hook to generate a dynamic sitemap with “All in One SEO Pack” Plugin
- Possible to replicate economist.com’s debate section in wordpress? [closed]
- WordPress Central User Database
- Filtering WooCommerce Orders by Category
- Disable Gravatars in WordPress
- My custom php file keeps 404’ing in WordPress when I call it. What am I missing?
- Plugin temporary files and files to download via FTP
- Search and Filter Plugin – How to disable redirection
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- How to convert a plugin into a function
- Remove List Bullets
- How to set plugin auto-update Enabled by default?
- Can’t find variable is_single in my jQuery plugin
- Showing ads in the specific category and its sub-categories
- Plugins upload to wordpress in wampserver via filezilla
- Problem with permissions in wp-content/plugins
- What would cause edit buttons for plugins to disappear?