Skip to content

Crash on on case-sensitive file systems #26

Description

@dbeja

As described by @jrgong420 on PR #25:

Hey there!

I ran into an issue when trying to activate the plugin on a Linux server (WordPress 6.7) - it was throwing a "Class 'QUICKAL\QuickAL' not found" error.

The problem is that the class is named QuickAL (uppercase "AL") but the file is class-quickal.php (lowercase "al"), which works fine on Windows/Mac but breaks on case-sensitive file systems like Linux.

This PR fixes it by:

Making the autoloader case-insensitive
Adding some fallback mechanisms to ensure the class loads
Creating a properly cased file version
I've tested it on my Linux server and it works perfectly now!

Let me know if you need any clarification or have questions!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions