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: updated autoloader to fix fatal error from namespace #3

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

DanielHudson2
Copy link
Member

When another plugin is using the Eighteen73 namespace this plugin tries to load its classes and gives a fatal error.

Updated autoloader to use Eighteen73\Thumbor instead

@DanielHudson2 DanielHudson2 added the bug Something isn't working label Jul 30, 2024
@DanielHudson2 DanielHudson2 self-assigned this Jul 30, 2024
@brettsmason
Copy link
Member

@DanielHudson2 Looks good to me. Out of interest, what was the other plugin conflicting with this? We should discourage use of the root Eighteen73 namespace.

@DanielHudson2
Copy link
Member Author

@brettsmason it was the address lookup because it uses Eighteen73\WooCommerceAddressLookup; as its namespace so this would have happened with anything that starts with Eighteen73

@brettsmason brettsmason merged commit 43f1c65 into main Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fatal error when installed with another plugin using Eighteen73 as its namespace
2 participants