Title: PHP warning with every update
Last modified: January 6, 2025

---

# PHP warning with every update

 *  Resolved [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-with-every-update/)
 * Hi there,
 * every time I update the plugin, I see the PHP warnings below on the first page
   visited after the update in the backend. I am using Query Monitor to see them.
 * fopen(/wp-content/uploads/matomo/config/config.ini.php/index.php): Failed to 
   open stream: No such file or directory in wp-admin/includes/class-wp-filesystem-
   direct.php:66
 * opendir(/wp-content/cache/matomo/templates_c): Failed to open directory: No such
   file or directory in wp-content/plugins/matomo/app/core/Filesystem.php:194
 * They are gone with the next page load, but I still thought you might want to 
   take a look.
 * Thanks,
   Thomas

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

 *  Plugin Support [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-with-every-update/#post-18228641)
 * Both of those errors come from code that silences errors:
    - [https://github.com/WordPress/wordpress-develop/blob/6.7/src/wp-admin/includes/class-wp-filesystem-direct.php#L66](https://github.com/WordPress/wordpress-develop/blob/6.7/src/wp-admin/includes/class-wp-filesystem-direct.php#L66)
    - [https://github.com/matomo-org/matomo-for-wordpress/blob/develop/app/core/Filesystem.php#L194](https://github.com/matomo-org/matomo-for-wordpress/blob/develop/app/core/Filesystem.php#L194)
 * So they shouldn’t be reported as errors. Either Query Monitor or your PHP configuration
   is not respecting the code’s request to silence these errors.
 *  Thread Starter [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-with-every-update/#post-18229207)
 * Thanks for your quick reply!
 * As a dev, I have learned that error silencing isn’t the ideal solution and try
   to prevent using it. But it is good to know that this isn’t critical in your 
   case.
 * Best,
   Thomas

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

The topic ‘PHP warning with every update’ is closed to new replies.

 * ![](https://ps.w.org/matomo/assets/icon-256x256.png?rev=3531741)
 * [Matomo Analytics - Powerful, Privacy-First Insights for WordPress](https://wordpress.org/plugins/matomo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/matomo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/matomo/)
 * [Active Topics](https://wordpress.org/support/plugin/matomo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/matomo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/matomo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-with-every-update/#post-18229207)
 * Status: resolved