Classloader errors in debug.log
-
Hi,
While checking the /wp-content/debug.log file, I noticed the following errors (replaced real site path with?<website-path>):
[14-Nov-2024 17:37:48 UTC] PHP Warning: include(//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-cross-selling/src/php/class-wpfactory-cross-selling.php): Failed to open stream: No such file or directory in //wp-content/plugins/perfmatters/vendor/composer/ClassLoader.php on line 576
[14-Nov-2024 17:37:48 UTC] PHP Warning: include(): Failed opening ‘//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-cross-selling/src/php/class-wpfactory-cross-selling.php’ for inclusion (include_path=’.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in //wp-content/plugins/perfmatters/vendor/composer/ClassLoader.php on line 576
[14-Nov-2024 17:37:48 UTC] PHP Warning: include(//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-admin-menu/src/php/class-wpfactory-admin-menu.php): Failed to open stream: No such file or directory in //wp-content/plugins/perfmatters/vendor/composer/ClassLoader.php on line 576
[14-Nov-2024 17:37:48 UTC] PHP Warning: include(): Failed opening ‘//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-admin-menu/src/php/class-wpfactory-admin-menu.php’ for inclusion (include_path=’.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in //wp-content/plugins/perfmatters/vendor/composer/ClassLoader.php on line 576These errors are showing consistently on every load. I tested with the back office dashboard page load and the website home page load. In both cases, the errors were listed in the log file.
At first glance, it looks like the errors are caused by the Perfmatters plugin. I deactivated the Perfmatters plugin, but the errors are still showing in the debug.log file, but this time initiated by the Rank Math plugin:
[14-Nov-2024 17:43:48 UTC] PHP Warning: include(//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-cross-selling/src/php/class-wpfactory-cross-selling.php): Failed to open stream: No such file or directory in //wp-content/plugins/seo-by-rank-math/vendor/composer/ClassLoader.php on line 576
[14-Nov-2024 17:43:48 UTC] PHP Warning: include(): Failed opening ‘//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-cross-selling/src/php/class-wpfactory-cross-selling.php’ for inclusion (include_path=’.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in //wp-content/plugins/seo-by-rank-math/vendor/composer/ClassLoader.php on line 576
[14-Nov-2024 17:43:48 UTC] PHP Warning: include(//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-admin-menu/src/php/class-wpfactory-admin-menu.php): Failed to open stream: No such file or directory in //wp-content/plugins/seo-by-rank-math/vendor/composer/ClassLoader.php on line 576
[14-Nov-2024 17:43:48 UTC] PHP Warning: include(): Failed opening ‘//wp-content/plugins/eu-vat-for-woocommerce/vendor/composer/../wpfactory/wpfactory-admin-menu/src/php/class-wpfactory-admin-menu.php’ for inclusion (include_path=’.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in //wp-content/plugins/seo-by-rank-math/vendor/composer/ClassLoader.php on line 576Since the issue persists regardless of the plugin, I guess, it may be caused by your plugin as the?eu-vat-for-woocommerce string is present all the time in all errors.
Please help me with this. Thank you in advance.
Looking forward to your reply.
My best regards,
- You must be logged in to reply to this topic.