• Hi,

    First of all, thanks for the plugin. It is working very well but I’m getting the following error after activating the plugin.

    “The plugin generated 289 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    I’m sorry, but I can’t reproduce this. I tried to deactivate and activate the plugin manually and I don’t get this message. I also don’t see, where this output should come from, as the activation only registers the cleanup schedule:

        /**
         * Hook for plugin activation
         *
         * @return void
         */
        function onActivate()
        {
            if (!wp_next_scheduled('lbwps_cleanup')) {
                wp_schedule_event(time(), 'hourly', 'lbwps_cleanup');
            }
        }
    Thread Starter egemenerd

    (@egemenerd)

    Hi,

    Thanks for checking it. I uploaded the plugin to another site today and there wasn’t any error this time. So, I think the problem is related to one of my other plugins. Your plugin is great and it saved me a lot of time. I’ll give you 5 star ?? Thank you very much!

    Plugin Author Arno Welzel

    (@awelzel)

    Thanks for the feedback and the nice review :-).

    Hi, I’m getting this message too (in my case 211 characters).

    But the problem is hapening only on one of many sites I have, and this one is quite complicated. It uses a custom theme with built in lightbox based on FancyBox. Could it be the reason? Could there be some kind of conflict between these two?

    The plugin seems to work fine though…

    Plugin Author Arno Welzel

    (@awelzel)

    I don’t think, that FancyBox may cause this effect. It’s more likely, that the theme’s function.php or any other plugin may hook into activation actions and produce output where there should not be any output.

    To find out more about possible conflicts it would help to get a list of all plugins you use on your site, so I can try to check this in my development system. The best way for me to sort this out would be a copy of the affected site (database with blank user passwords and a copy of the webroot), so I can run this in my debug environment.

    You can contact me via e-mail as well – my address is in the imprint of my website: https://arnowelzel.de/en/about-me

    Edit: please don’t send large files via e-mail. If you want to send something, I have a private Nextcloud server to upload stuff. More about this via e-mail.

    • This reply was modified 5 years, 9 months ago by Arno Welzel.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unexpected output’ is closed to new replies.