• Resolved GrayHunter

    (@grayhunter)


    Hello,

    Nice plugin – thank you!
    But we just discovered that one of our sub-site (in the WP MU) has this warnings in back end:

    Warning: include_once(//wp-load.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/…/wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 49

    Warning: include_once() [function.include]: Failed opening ‘//wp-load.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/…/wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 49

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/…/wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php:49) in /var/www/…/wp-includes/option.php on line 750

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/…/wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php:49) in /var/www/…/wp-includes/option.php on line 751

    How can I fix this?

    Regards, Eugene.

    https://www.ads-software.com/plugins/responsive-contact-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author August Infotech

    (@augustinfotech)

    Hello GrayHunter,

    This problem occurs with you because you have installed WordPress in sub-folder ans linked to main root so you have to do this manually by simply changing below code with replacing new one.

    File in which you have to change code.

    \wp-content\plugins\responsive-contact-form\ai-responsive-contact-form.php

    Line No : 68 : include_once(get_home_path().’/wp-load.php’ );

    Replace this above code with this below code.
    include_once(get_home_path().’/{wordpress foldername}/wp-load.php’ );

    If you have still any query regarding this then please feel free to tell us.

    Thanks & Regards,
    August Infotech

    Thread Starter GrayHunter

    (@grayhunter)

    The line is 49 not 68 (may be because of not the very new version of the plugin) but I did what you said and now it is OK. Thank you! ??

    Thread Starter GrayHunter

    (@grayhunter)

    Oh, no. At THAT sub-site every thing is now OK, but at another one – we get this:

    Warning: include_once(/var/www/…//var/www/…/wp-load.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/…/wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 49

    Warning: include_once() [function.include]: Failed opening ‘/var/www/…//var/www/…/wp-load.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/…/wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 49

    So, it seems to not working… Could you help pls?

    Plugin Author August Infotech

    (@augustinfotech)

    Hello GrayHunter,

    We have checked the plugin in multisite and its working perfectly fine without changing the code. Will you please provide us your site url to detect the issue.

    Thanks & Regards,
    August Infotech

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warnings in wp-admin – pls help’ is closed to new replies.