Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    I haven’t come across this error, and with a fresh copy downloaded I’m not seeing it.

    Is this something that still persists on your end?

    Thanks,
    Evan

    Thread Starter Guido Scialfa

    (@wido)

    Hi Evan, sorry for the late respond.

    Yes, I’ve downloaded the plugin again, and tried on single and network installation same error message.

    There is something I can do to give you more infos?

    I get exactly the same error. It also produces a bunch of errors when you try to save settings.

    The error occurs only when there is define('WP_DEBUG', true); in wp-config.php.

    You can add a die(); after line 128 in wp-updates-notifier.php and you’ll see the actual error (which is reported by WordPress as “The plugin generated 261 characters of unexpected output during activation”) :

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method sc_WPUpdatesNotifier::enable_cron() should not be called statically in /var/www/site/wp-includes/plugin.php on line 525

    The error will not occur if you add the static word to the enable_cron function. For more information check PHP: Static Keyword

    Thread Starter Guido Scialfa

    (@wido)

    Hi @diana,

    Thanks for your respond.

    I can fix by my self as you suggested, but the problem will be fixed in the next release of the plugin? I don’t want to perform the same task every time the plugin get an update.

    I don’t know about that. I’m not the plugin’s developer. I’m only a user that stumbled upon the problem and solved it.

    I am looking into the issue this morning.

    If I am able to replicate things, stand by for a patch.

    Evan

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The plugin generated 282 characters of unexpected output during activation. If y’ is closed to new replies.