Solution for “The plugin generated x characters of unexpected output during activation” |
X

Congrats, You are Subscribed to Receive Updates.

Solution for “The plugin generated x characters of unexpected output during activation”


Solution for “The plugin generated x characters of unexpected output during activation” is very simple. Most of the time, we face such unavoidable errors and warnings to disturb you while coding.  The most Irritating error for me is ” If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”.

Lets move to our topic. In certain situations, we need to install a plugin, which is necessary at the moment. But while installing the plugin or theme, it shows an error ” The plugin generated XXX characters of unexpected output during activation.

 Problem behind the error is  nothing.

Open the plugin main file and and after the closing php tag . I mean after the end  tag ” ?>” you are unecessarily added some blank space. Which is generating the error there.

Also one another reason for the error. On your  plugin main file, you have plugins info in comments. If  that lines have any white space after every sentence, which generates these type of errors.  so just remove the blank spaces and save it.

Than deactivate the plugin and activate again.  That’s it.

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, PHP and Data Analyst. Database Management Advance Level

2 comments

  1. commenter

    can you please give me source code

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar