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

Critical error when installing plugin #237

Open
jaredcbaum opened this issue Apr 19, 2024 · 4 comments
Open

Critical error when installing plugin #237

jaredcbaum opened this issue Apr 19, 2024 · 4 comments

Comments

@jaredcbaum
Copy link

jaredcbaum commented Apr 19, 2024

I am having trouble when installing this plugin on a fresh Wordpress deployment from Kinsta. I am running PHP 8.2 and Wordpress Version 6.5.2. This is broken on both multisite and regular deployments.

Other plugins I have installed:
WPGraphQL Version 1.23.0
WPGraphQL for ACF Version 2.2.0
Advanced Custom Fields Version 6.2.9

I have been able to get around this error by:

  1. downloading the wp-graphql-content-blocks repo from GitHub
  2. manually installing dependencies with composer
  3. zipping the file
  4. uploading the zipped file to the plugins and installing

Here is a error log:

Fatal error: Uncaught Error: Class "EnforceSemVer\EnforceSemVer" not found in /www/ionicmultisite_382/public/wp-content/plugins/wp-graphql-content-blocks-no-manual-install/includes/WPGraphQLContentBlocks.php:154 Stack trace: #0 /www/ionicmultisite_382/public/wp-content/plugins/wp-graphql-content-blocks-no-manual-install/includes/WPGraphQLContentBlocks.php(32): WPGraphQLContentBlocks->includes() #1 /www/ionicmultisite_382/public/wp-content/plugins/wp-graphql-content-blocks-no-manual-install/wp-graphql-content-blocks.php(41): WPGraphQLContentBlocks::instance() #2 /www/ionicmultisite_382/public/wp-includes/class-wp-hook.php(324): wpgraphql_content_blocks_init('') #3 /www/ionicmultisite_382/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /www/ionicmultisite_382/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /www/ionicmultisite_382/public/wp-settings.php(550): do_action('plugins_loaded') #6 /www/ionicmultisite_382/public/wp-config.php(102): require_once('/www/ionicmulti...') #7 /www/ionicmultisite_382/public/wp-load.php(50): require_once('/www/ionicmulti...') #8 /www/ionicmultisite_382/public/wp-admin/admin.php(34): require_once('/www/ionicmulti...') #9 /www/ionicmultisite_382/public/wp-admin/plugins.php(10): require_once('/www/ionicmulti...') #10 {main} thrown in /www/ionicmultisite_382/public/wp-content/plugins/wp-graphql-content-blocks-no-manual-install/includes/WPGraphQLContentBlocks.php on line 154

Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/ionicmultisite_382/public/wp-includes/functions.php on line 6078

Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/ionicmultisite_382/public/wp-includes/functions.php on line 6078

@ilyaAshurok
Copy link

Hi, I have the save issue on Wordpress 6.5.2 with the newest release. At the same time release v3.1.2 works properly

@theodesp
Copy link
Member

Hey @jaredcbaum. Does installing the plugin using the releases tab work?

@jaredcbaum
Copy link
Author

jaredcbaum commented Apr 22, 2024

Hey @jaredcbaum. Does installing the plugin using the releases tab work?

I get the same error installing version 4.0.0 and version 3.1.2 from the releases tab.

@theodesp
Copy link
Member

theodesp commented Apr 23, 2024

Hey @jaredcbaum thank you. I wasn't able to reproduce this issue with Local or Hosting with WP Engine, though. I wonder if something else is going on here.

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

No branches or pull requests

3 participants