YahnisElsts / wp-update-server

A custom update API for WordPress plugins and themes. Intended to be used in conjunction with my plugin-update-checker library.
MIT License
824 stars 176 forks source link

unexpected error #98

Open Alireza-Ghavabesh opened 3 years ago

Alireza-Ghavabesh commented 3 years ago

I see this error when i send request to [http://localhost/wp-update-server/?action=get_metadata&slug=my_plugin] :

**Warning: require(C:\xampp\htdocs\wp-update-server/loader.php): failed to open stream: No such file or directory in C:\xampp\htdocs\wp-update-server\index.php on line 2

Warning: require(C:\xampp\htdocs\wp-update-server/loader.php): failed to open stream: No such file or directory in C:\xampp\htdocs\wp-update-server\index.php on line 2

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\wp-update-server/loader.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\wp-update-server\index.php on line 2**

YahnisElsts commented 3 years ago

Just to clarify, have you verified that the file mentioned in the error message (loader.php) actually exists in the server directory?