Title: Plugin generates a PHP error for itself
Last modified: March 8, 2022

---

# Plugin generates a PHP error for itself

 *  Resolved [David](https://wordpress.org/support/users/loano1/)
 * (@loano1)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-generates-a-php-error-for-itself/)
 * Hi, when I activate the plugin I see the following warning under the PHP ERROR
   tab:
 *     ```
       Warning	include_once(): Failed opening '/var/www/vhosts/example.com/httpdocs/wp-content/plugins/p3-profiler/start-profile.php' for inclusion (include_path='.:/opt/plesk/php/7.4/share/pear')	1	
   
           wp-content/mu-plugins/p3-profiler.php:2
   
       	Plugin: query-monitor
       ```
   
 * I have already reinstalled the plugin and also via FTP, so no files are missing.
 * Any idea how I can fix this?
 * Thank you

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

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-generates-a-php-error-for-itself/#post-15437454)
 * Please look at the path in the error message, that error is from the p3-profiler
   plugin.
 * Occasionally QM will be unable to deduce the correct plugin responsible for an
   error and ends up blaming itself.
 *  Thread Starter [David](https://wordpress.org/support/users/loano1/)
 * (@loano1)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-generates-a-php-error-for-itself/#post-15437766)
 * I had overlooked that this P3 plugin had created a file outside of the plugin
   directory which was not deleted when I removed it. Thanks for your help!

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

The topic ‘Plugin generates a PHP error for itself’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/loano1/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-generates-a-php-error-for-itself/#post-15437766)
 * Status: resolved