Warning during activation
-
On plugin activation, WordPress displays the “The plugin generated x characters of unexpected output”.
When dumping it to a file, this produced output is:
“Warning: Missing argument 2 for GoogleAdSense::install() in […]/public_html/wp-content/plugins/adsense-now-lite/wp-google-adsense.php on line 46”.The install() function takes a second argument, $mOptions, which is not even used.
Defaulting it to null solves the problem.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Warning during activation’ is closed to new replies.