Title: error_log_php issue due to plugin error
Last modified: April 19, 2025

---

# error_log_php issue due to plugin error

 *  Resolved [katepao](https://wordpress.org/support/users/katepao/)
 * (@katepao)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error_log_php-issue-due-to-plugin-error/)
 * 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](https://wordpress.org/support/users/supportfitri/)
 * (@supportfitri)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error_log_php-issue-due-to-plugin-error/#post-18426901)
 * Hi [@katepao](https://wordpress.org/support/users/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:
 *     ```wp-block-code
       wc-vendors/classes/includes/api/admin/class-wcv-reports-api.php
       ```
   
 * ![](https://i0.wp.com/snipboard.io/HwB0Yy.jpg?ssl=1)
 * 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](https://wordpress.org/support/users/katepao/)
 * (@katepao)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error_log_php-issue-due-to-plugin-error/#post-18429040)
 * 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.

 * ![](https://ps.w.org/wc-vendors/assets/icon.svg?rev=1645455)
 * [WC Vendors - WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors](https://wordpress.org/plugins/wc-vendors/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-vendors/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-vendors/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-vendors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-vendors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-vendors/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [katepao](https://wordpress.org/support/users/katepao/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/error_log_php-issue-due-to-plugin-error/#post-18429040)
 * Status: resolved