Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error messages


  • dasigrist
    Participant

    @dasigrist

    Hi,

    I’m having problems with wc-vendors update button. It never goes away. Don’t know if it is related to bp-custom.php messages I’m getting in apache error.log:

    [Wed May 23 14:48:22.652924 2018] [:error] [pid 21609] [client 173.72.20.116:58674] PHP Warning: include(../../../../wp-load.php): failed to open stream: No such file or directory in /var/www/devservmkt.consultingquest.co/public_html/wp-content/plugins/bp-custom.php on line 8, referer: https://devservmkt.consultingquest.co/wp-admin/
    [Wed May 23 14:48:23.614927 2018] [:error] [pid 20840] [client 173.72.20.116:58679] PHP Warning: include(): Failed opening ‘../../../../wp-load.php’ for inclusion (include_path=’.:/usr/share/php’) in /var/www/devservmkt.consultingquest.co/public_html/wp-content/plugins/bp-custom.php on line 8, referer: https://devservmkt.consultingquest.co/wp-admin/admin.php?page=wcv-settings&do_update_wcvendors=true

    these messages appears when I click in the “Run the update” button from wv-vendors.

    thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

  • r-a-y
    Keymaster

    @r-a-y

    You’ll have to debug your bp-custom.php file and check where the wp-load.php call is occurring.

    Then, you’ll need to fix it so it uses the correct absolute filepath.


    dasigrist
    Participant

    @dasigrist

    Hi,

    Thank you for the tip.
    First I tried replacing include(../../../../wp-load.php) for include(../../wp-load.php), but, it didn’t work. I did a little google and found:

    include ($_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-load.php’);

    that did the trick. no more warning messages in my error.log

    Thank you again

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar