• Resolved carlituxman

    (@carlituxman)


    Just installed in a multisite and appear this warning in admin desktop of every site:

    Warning: Cannot modify header information – headers already sent by (output started at /Users/carlituxman/dvp/www/wp_multisite/wp-content/plugins/lordlinus-class-booking/lordlinus-class-booking.php:30) in /Users/carlituxman/dvp/www/wp_multisite/wp-includes/option.php on line 563

    Warning: Cannot modify header information – headers already sent by (output started at /Users/carlituxman/dvp/www/wp_multisite/wp-content/plugins/lordlinus-class-booking/lordlinus-class-booking.php:30) in /Users/carlituxman/dvp/www/wp_multisite/wp-includes/option.php on line 564

    https://www.ads-software.com/plugins/lordlinus-class-booking/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Rohitashv Singhal

    (@lordlinus)

    Hello carlituman

    Thank you for using the plugin. Can you please tell me that what wordpress version you are using because we are not getting any such error on our end.

    Amyris

    (@avrada)

    I am having the same issue. I am using WordPress 4.0.1.

    Thanks in advance for your help.

    Plugin Author Rohitashv Singhal

    (@lordlinus)

    Sorry for the inconvenience,

    Could you please mail your wp-admin credentials at ucerturohit[at]gmail[dot]com

    So we can figure out the problem

    Moderator Marius L. J.

    (@clorith)

    Hi there,

    I recommend attempting to reproduce the problem on your own first. Asking a user for complete control over their blog just to troubleshoot a fully detailed problem is dangerous for everyone involved. If you feel you don’t have enough information to troubleshoot this on your own, please just ask for exactly what you need.

    Plugin Author Rohitashv Singhal

    (@lordlinus)

    Hi Marius,

    I have to reproduce the error but I am not able to reproduce with the wordpress version.

    If you are an user then you have to trust the developer,

    I am not saying that he should provide the complete details of blog, he could create a new user with the limited permissions,

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Totally side tracked the topic but here goes.

    If you are an user then you have to trust the developer

    It’s not about trust and no one is suggesting you have bad intentions. But requesting access that way in discouraged and inappropriate. As in please do not do that again. This is what I usually reply with when I find those requests.

    Again please note that I’m not accusing anyone of ill will or bad intentions But asking for credentials to get access like that is really discouraged.

    Could you please mail your wp-admin credentials

    Please don’t do that: when you offer to get admin access and/or FTP access then you’re really going to far and that’s not cool.

    https://codex.www.ads-software.com/Forum_Welcome#The_Bad_Stuff

    If you are given admin credentials, you are potentially liable for any potential damage that maybe caused, not only by yourself but anyone accessing the system. Even if you do not provide warranty with your own product.

    Unless you willing to take responsibility for that user’s installation for now one (and they should NOT let you do that) then please do not ask or suggest that someone provide you those admin or FTP details.

    You can provide assistance here, ask for log data, you can make recommendations and even suggest changes. But do not seek admin or FTP access. That’s just going too far.

    Amyris

    (@avrada)

    Thanks, I agree. Let me know what additional data you need. But I cannot provide you my credentials. Also, by email… really?
    Even if I trust you, I dont trust the big internet.

    Here is the exact message I get:
    Warning: Cannot modify header information – headers already sent by (output started at /home/young736/public_html/wp-content/plugins/lordlinus-class-booking/lordlinus-class-booking.php:30) in /home/young736/public_html/wp-includes/pluggable.php on line 1179

    If it is a warning message, why does it stop running? not my definition of warning message.

    Plugin Author Rohitashv Singhal

    (@lordlinus)

    Sorry avrada,

    I am not able to regenerate the error ith wordpress version 4.1 and twenty twelve and twenty thrteen themes.

    Better to go for another plugin.

    Moderator Marius L. J.

    (@clorith)

    I believe this error is generated because there’s an echo function being called at the start of your class_boking_menu function.

    JS and CSS files should be enqueued using the wp_enqueue_script and wp_enqueue_style functions respectively in the right hooks

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Yeah, there are definite problems in this plugin.

    Here, you’re outputting the stylesheet in a function hooked to admin_menu. That is incorrect, you should be using wp_enqueue_style in a function hooked to the admin_enqueue_scripts action:

    https://plugins.trac.www.ads-software.com/browser/lordlinus-class-booking/trunk/lordlinus-class-booking.php?rev=1035402#L30

    Additionally, this line doesn’t make any sense at all:
    https://plugins.trac.www.ads-software.com/browser/lordlinus-class-booking/trunk/lordlinus-class-booking.php?rev=1035402#L60

    echo wp_enqueue_script('jquery');

    The echo here is not necessary. Also, an enqueue should happen in admin_enqueue_scripts, not in a function called by your add_menu_page callback.

    I’m getting this error too:

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/dev/wp-content/plugins/lordlinus-class-booking/lordlinus-class-booking.php:30) in /public_html/dev/wp-admin/post.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/dev/wp-content/plugins/lordlinus-class-booking/lordlinus-class-booking.php:30) in /public_html/dev/wp-includes/pluggable.php on line 1179

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘warning error’ is closed to new replies.