Open MxFxM opened 5 months ago
Hi, thank you for submitting this issue.
This issue seems related to installing the plugin in a Wordpress environment. I haven't tested that, but I can post an updated version in a couple of days to resolve that issue.
A quick fix would be to just remove the autoload feature, it is only used to upload backups to AWS S3 Buckets.
Thank you for the quick reply!
How would I remove the autoload feature?
I added a condition that checks if the file exists, I assume that your hosting doesn't like absolute paths. Which is probably why you get that error. If you try install it again, could you let me know if it works?
DataExport 1.1.5 Matomo 5.1.0 Wordpress 6.5.5
I install the Matomo Plugin via the Matomo Marketplace Plugin (not via downloaded zip, because I cannot upload that but that's a separate issue on my side). Then I activate the plugin. When I go to the Matomo site settings and then DataExport I get this:
Error message: Failed opening required '/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/plugins/DataExport/vendor/autoload.php' (include_path='/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/archive_tar:/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/console_getopt:/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/pear-core-minimal/src:/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/pear_exception:.:/opt/plesk/php/8.2/share/pear') in /var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/DataExport/Controller.php line 11
Complete Error site:
`
A fatal error occurred
in /var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/DataExport/Controller.php line 11
fix this issue by disabling one or more of the Third-Party plugins. If you don't know which plugin is causing this error, we recommend to first disable any plugin not created by "Matomo" and not created by "InnoCraft". You can enable plugin again afterwards in the Plugins or Themes page under settings at any time.
The following error just broke Matomo (v5.1.0):
Failed opening required '/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/plugins/DataExport/vendor/autoload.php' (include_path='/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/archive_tar:/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/console_getopt:/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/pear-core-minimal/src:/var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/matomo/app/vendor/pear/pear_exception:.:/opt/plesk/php/8.2/share/pear') in /var/www/vhosts/inventife.com/httpdocs/wp-content/plugins/DataExport/Controller.php line 11
Troubleshooting Follow these steps to solve the issue or report it to the team:
Further troubleshooting
If this error continues to happen, you may be able to fix this issue by disabling one or more of the Third-Party plugins. If you don't know which plugin is causing this error, we recommend to first disable any plugin not created by "Matomo" and not created by "InnoCraft". You can enable plugin again afterwards in the Plugins or Themes page under settings at any time. DataExport 1.1.5 deactivate WordPress 0.1.0 deactivate
If this error still occurs after disabling all plugins, you might want to consider uninstalling some plugins. Keep in mind: The plugin will be completely removed from your platform. all-in-one-wp-migration uninstall duplicator uninstall elementor uninstall elementor-pro uninstall litespeed-cache uninstall matomo uninstall matomo-marketplace-for-wordpress uninstall`