Skip to content

Fix fatal error with method_exists() call#8

Open
r-a-y wants to merge 1 commit into
dev-xiligroup:masterfrom
r-a-y:fix/method-exists
Open

Fix fatal error with method_exists() call#8
r-a-y wants to merge 1 commit into
dev-xiligroup:masterfrom
r-a-y:fix/method-exists

Conversation

@r-a-y

@r-a-y r-a-y commented Apr 24, 2025

Copy link
Copy Markdown

Hi,

We are seeing a fatal error with the plugin due to the global $xl_permalinks_rules variable being null when doing a method_exists() check.

This PR does a check to see if the $xl_permalinks_rules global is empty or not before the method_exists() call is made to prevent the fatal.

@r-a-y r-a-y force-pushed the fix/method-exists branch from 0d2d160 to 287a440 Compare April 24, 2025 20:21
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.

1 participant