• Resolved jscmal

    (@jscmal)


    Hi,
    I installed the plugin just now in a website I use for tests before to upgrade it on my public website.

    I have got this warning message. I report it here. I don’t know if it is dangerous or not.

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

    Maybe, it deserves investigation.

    Now I uninstalled the plugin.

    Kind regards

    G. ALoe

    • This topic was modified 6 years, 5 months ago by jscmal.
    • This topic was modified 6 years, 5 months ago by jscmal.
    • This topic was modified 6 years, 5 months ago by jscmal.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author John Godley

    (@johnny5)

    What data was output? Do you have access to the error logs?

    Thread Starter jscmal

    (@jscmal)

    I don’t know, I just reported the test.

    What details do you want that I search in the error_log of the server web app?

    Plugin Author John Godley

    (@johnny5)

    > What details do you want that I search in the error_log of the server web app

    I don’t know, whatever looks like it could be part of the above message.

    Thread Starter jscmal

    (@jscmal)

    Hi, The error logs, even error logs for php, reported nothing at the moment. There is no error since yesterday.

    This is the only log where the redirection plugin is mentioned.

    Access Log – here there is 1 error:

    – [24/Jun/2018:14:19:52 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 9403 “xxx/wp-admin/plugin-install.php?s=redirection&tab=search&type=term” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:20:00 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 200 “xxx/wp-admin/plugin-install.php?s=redirection&tab=search&type=term” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:20:07 +0000] “GET /wp-admin/plugins.php?_wpnonce=db19d8cf57&action=activate&plugin=redirection/redirection.php HTTP/1.1” 302 5 “xxxx/wp-admin/plugin-install.php?s=redirection&tab=search&type=term” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:20:09 +0000] “GET /wp-admin/plugins.php?error=true&charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s&_error_nonce=0215777734 HTTP/1.1” 200 29472 “xxxx/wp-admin/plugin-install.php?s=redirection&tab=search&type=term” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:20:09 +0000] “GET /wp-content/plugins/autoptimize/classes/static/toolbar.css?ver=1529850008 HTTP/1.1” 200 1333 “xxxx/wp-admin/plugins.php?error=true&charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s&_error_nonce=0215777734” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:20:09 +0000] “GET /wp-content/plugins/autoptimize/classes/static/toolbar.js?ver=1529850008 HTTP/1.1” 200 1292 “xxxx/wp-admin/plugins.php?error=true&charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s&_error_nonce=0215777734” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:20:12 +0000] “GET /wp-json/jetpack/v4/jitm?message_path=wp%3Aplugins%3Aadmin_notices&query=error%253Dtrue%252Ccharsout%253D2625%252Cplugin%253Dredirection%25252Fredirection.php%252Cplugin_status%253Dall%252Cpaged%253D1%252Cs%253D%252C_error_nonce%253D0215777734&_wpnonce=749890378d HTTP/1.1” 200 44 “xxxx/wp-admin/plugins.php?charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:21:12 +0000] “POST /wp-cron.php?doing_wp_cron=1529850072.1556398868560791015625 HTTP/1.1” 200 40 “xxxx/wp-cron.php?doing_wp_cron=1529850072.1556398868560791015625” “WordPress/4.9.6; xxxx”

    – [24/Jun/2018:14:21:13 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 89 “xxxx/wp-admin/plugins.php?charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:23:12 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 89 “xxxx/wp-admin/plugins.php?charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:24:12 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 89 “xxxx/wp-admin/plugins.php?charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:24:47 +0000] “POST /wp-cron.php?doing_wp_cron=1529850286.8198029994964599609375 HTTP/1.1” 499 0 “xxxx/wp-cron.php?doing_wp_cron=1529850286.8198029994964599609375” “WordPress/4.9.6; xxxx”

    – [24/Jun/2018:14:24:49 +0000] “GET /wp-admin/plugins.php?action=deactivate&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s&_wpnonce=38f098da80 HTTP/1.1” 302 5 “xxx/wp-admin/plugins.php?charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    – [24/Jun/2018:14:24:52 +0000] “GET /wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1&s= HTTP/1.1” 200 29181 “xxxx/wp-admin/plugins.php?charsout=2625&plugin=redirection%2Fredirection.php&plugin_status=all&paged=1&s” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0”

    Plugin Author John Godley

    (@johnny5)

    I’m not really sure why the message is being output for you, and it doesnt occur anywhere that I’ve tested it. It could be a local setup issue. You can probably ignore it and continue using the plugin without any problem

    Thread Starter jscmal

    (@jscmal)

    Yes, it is what I was going to it.

    It is also in line with what the message said.

    Plugin Author John Godley

    (@johnny5)

    After you activate the plugin I would go to the ‘support’ page in Redirection and see if any warnings are shown. It’s possible that the plugin had problems accessing your database, and this will be shown on the support page.

    Thread Starter jscmal

    (@jscmal)

    Unfortunately, it is too late.

    As many times happen with simple warnings, with the second installation and activation, there were no more warnings.

    The support page reports everything in Green: good.

    WordPress REST API Good WordPress REST API is working at https://xxxx/wp-json/
    Redirection routes Good Redirection routes are working
    Database tables Good All tables present
    Valid groups Good Valid groups detected
    Valid redirect group Good All redirects have a valid group
    Post monitor group Good Post monitor group is valid
    Site and home protocol Good Site and home are consistent

    Well, everything it was, it didn’t make damages.

    That’s good.

    Now, I upgraded my public website and I didn’t get warnings.

    But the Support Page show REST API rows in Orange:

    WordPress REST API Problem REST API returns an error code (40x – xxxx/index.php?rest_route=/)
    Redirection routes Problem REST API is not working so routes not checked
    Database tables Good All tables present
    Valid groups Good Valid groups detected
    Valid redirect group Good All redirects have a valid group
    Post monitor group Good Post monitor group is valid
    Site and home protocol Good Site and home are consistent

    Maybe this could be caused by the Security Plugin that blocks almost everything.

    What do you suggest to do?

    • This reply was modified 6 years, 5 months ago by jscmal.
    Plugin Author John Godley

    (@johnny5)

    If the plugin is otherwise working fine on your production site then the message is probably a false positive – it tries to check itself, and sometimes it can be confused by certain setups.

    Thread Starter jscmal

    (@jscmal)

    Nothing false alarm.

    Maybe I opened the support page too soon.

    Now I refreshed and the rows are in Green.

    I refresh again now… and those rows are in Orange again ??

    Ok. it is a false alarm.

    • This reply was modified 6 years, 5 months ago by jscmal.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘2625 characters of unexpected output during activation’ is closed to new replies.