WordPress.org

Ready to get started?Download WordPress

Forums

Quick Localization (Quick Localisation)
[resolved] Lots of errors (7 posts)

  1. Abdussamad Abdurrazzaq
    Member
    Posted 1 year ago #

    Hello

    Two problems with this plugin:

    - When activating the plugin I get the following error message:

    The plugin generated 472 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.

    - I have wp_debug set to true for plugin development purposes. When I activate quick localization I see a lot of PHP notice error messages.

    Using PHP 5.3.8 here and quick localization 0.06.

    I like the idea of this plugin and would love to see the above errors fixed.

    Thanks in Advance

    http://wordpress.org/extend/plugins/quick-localization/

  2. Namely
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Abdussamad,

    WP.org didn't notify us about the new ticket, so hence one week late reply.

    To produce the problem have added this line into wp-config.php:

    define('WP_DEBUG', true);

    Had a looked in the code and found no place were the plugin generates any input during the activation.

    Indeed, with WP_DEBUG set to true, on activation, WP shows the message:

    The plugin generated 314 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.

    Though the plugin is properly activated. And it is working good. Pay attention, QL menu is accessible and the plugin is set to active. You can deactivate it and activate it.

    The issue you actually run into is that with WP_DEBUG on you ask WP to tell you about all PHP warnings etc...

    One of those can be:

    Notice: Undefined index: footer_textarea in /srv/www/clients/client1/web1/web/wp-content/plugins/quick-localization/index.php on line 61
    Notice: Undefined index: only_unknown in /srv/www/clients/client1/web1/web/wp-content/plugins/quick-localization/index.php on line 65
    ...

    These are not errors just warnings. All works well though.

    With WP_DEBUG set to on you probably also get tonnes of other debug messages.

    Once you set WP_DEBUG to false, the warning on activation disappears.

    Let us know if you have any other issue with the plugin.

    It now works on thousand of sites with no issue.

  3. Namely
    Member
    Plugin Author

    Posted 1 year ago #

    P.S. please also set on WP.org that the plugin works, else it will mislead other users. Thank you.

  4. Side note:

    WP.org didn't notify us about the new ticket, so hence one week late reply.

    I'm reasonably sure that you need to (if you haven't already done so) subscribe to your own support forum via the link at the bottom of the page.

    See "Subscribe to Emails for this Plugin" at the bottom of this page. It's not an automatic subscription for plugin authors, you have to do it manually.

    http://wordpress.org/support/plugin/quick-localization

  5. Namely
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you Jan for the clarification.

    WP.org needs to improve. Not every one is using RSS. Emails are so much better (for some people).

  6. Abdussamad Abdurrazzaq
    Member
    Posted 1 year ago #

    Those PHP notices are errors and it would be nice if you fixed them. I don't know what the requirement is for plugin authors because I have never submitted a plugin to this site, but for themes you are required to check for errors with WP_DEBUG set to true:

    Fix PHP and WordPress errors. Add the following debug setting to your wp-config.php file to see deprecated function calls and other WordPress-related errors: define('WP_DEBUG', true);. See Deprecated Functions Hook for more information.

    http://codex.wordpress.org/Theme_Development

  7. Name.ly
    Member
    Plugin Author

    Posted 11 months ago #

    Good news, this has been resolved as of version 0.0.9.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.