Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix - Cannot declare class Autoloader, because the name is already in use #284

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sergio-sanchis
Copy link

Summary

When trying to update the module from a version prior to 5.2.0 I got an error that the Autoloader class was already in use because another module was using the same class name.

Tested scenarios

Having an Adyen version prior to 5.2.0 with the Doofinder module, which is the one we have detected the conflict with.

When trying to update Adyen to the latest version, the error occurred.
"Cannot declare class Autoloader, because the name is already in use"

@adyen-integrations-support

Hey @sergio-sanchis ,

Thank you for reaching out!

Our team will check this and get back to you.

Best regards.

@adyen-integrations-support

Hello @sergio-sanchis ,

We attempted to reproduce the issue but were unable to do so. We installed PrestaShop version 1.7.8.11 along with the plugin version 5.2.0 and successfully updated it to the latest version without encountering any problems. Additionally, the Doofinder module was installed and connected during the process, and this did not affect the plugin update in any way.
Screenshot from 2025-01-10 14-28-40

We also tried with PrestaShop 8.2 and Plugin Version 5.2.4: During testing, the system required selecting an update mode: either "Maintenance" (via the Maintenance page) or "Normal" (Upgrade anyway). Both modes were tested, and the plugin was updated successfully in each case.
Screenshot from 2025-01-10 13-56-13
We used this plugin for testing. Could you please confirm if this is the same plugin you are using?https://addons.prestashop.com/en/search-filters/30818-doofinder-search-discovery.html

Could you please provide us with additional information listed below?

  • Description* - Describes in detail what is the problem or error.
  • Steps to reproduce - Information on how to reproduce a reported issue with detailed steps.
  • Screenshots - Screenshots that describe the issue.
  • System version* - System version.
  • Plugin version* - Plugin version installed to the integrated system.

After that, we will check all reported issues immediately and come back to you with feedback as soon as possible.

Kind Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants