Skip to content

Conversation

@jasonbahl
Copy link
Collaborator

  • update constant name to check the min WPGraphQL version. The constant name was the same as the constant defined in WPGraphQL for ACF extension, so the version check was sometimes using that constant, depending on the order of activation

…onstant name conflicted with the WPGraphQL for ACF extension
@jasonbahl jasonbahl self-assigned this Nov 22, 2022
@jasonbahl jasonbahl merged commit efa2e5d into main Nov 28, 2022
@colis
Copy link
Contributor

colis commented Dec 5, 2022

Hi @jasonbahl,

I was just testing the latest version of the plugin on a local install and started getting a PHP Fatal error. It looks like one of the constants wasn't renamed

$text = sprintf( 'WPGraphQL (v%s+) must be active for "wp-graphql-smart-cache" to work', WPGRAPHQL_REQUIRED_MIN_VERSION );

I just thought I'd leave this here 'cause I'm not sure if the plugin is open for contribution yet.

Thanks!

@jasonbahl
Copy link
Collaborator Author

@colis ah shoot. Good catch. Please feel free to contribute a PR 🙏

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.

3 participants