• Resolved katepao

    (@katepao)


    Hi!

    While checking the error logs, I found this warning related to the WC Vendors plugin:

    PHP Warning: include_once(admin/class-wcv-reports-api.php): Failed to open stream: No such file or directory in /wp-content/plugins/wc-vendors/classes/includes/api/class-wcv-rest-api.php on line 19

    I checked the plugin files and noticed that the admin folder doesn’t exist at all, yet the file class-wcv-rest-api.php is trying to include a file from that path.

    Could you please check if this is a leftover or outdated reference?
    Should we remove or comment out that line, or is something missing in the plugin installation?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fitri Sinta

    (@supportfitri)

    Hi @katepao,

    Thanks for pointing this out.

    The file you’re referencing (class-wcv-reports-api.php) should be present in the plugin under the following path, as seen below:

    wc-vendors/classes/includes/api/admin/class-wcv-reports-api.php

    If the entire admin folder is missing from your installation, it’s possible that the plugin wasn’t installed completely or something went wrong during the update process.

    We recommend deleting the plugin and reinstalling it directly from the WordPress plugin directory to ensure all files are in place.

    Let us know if the issue persists after reinstalling, we’re happy to help further if needed.

    Best regards,

    Thread Starter katepao

    (@katepao)

    Hi!

    I checked and the file exist under wc-vendors/classes/includes/api/admin/class-wcv-reports-api.php

    but the error:

    PHP Warning: include_once(admin/class-wcv-reports-api.php): Failed to open stream: No such file or directory in /wp-content/plugins/wc-vendors/classes/includes/api/class-wcv-rest-api.php on line 19

    tries to retrieve the file under wc-vendors/classes/includes/api/class-wcv-rest-api.php, missing admin folder, how is possible? I alto tried to re-install the plugin..

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

The topic ‘error_log_php issue due to plugin error’ is closed to new replies.