Skip to content

Plugin doesn´t activate after installation #2597

@paulonova

Description

@paulonova

Description

I'm having trouble installing the WP GraphQl plugin.
I'm using Wordpress 6.1 and I've disabled all other plugins to make sure they're not conflicting, but the plugin still refuses to activate and shows this error message:


Plugin could not be activated because it triggered a fatal error.

Fatal error: Uncaught Error: Call to undefined method Appsero\Insights::add_plugin_data() in /home/st01apptechlovese/st01.app.techlove.se/wp-content/plugins/wp-graphql/wp-graphql.php:78 Stack trace: #0 /home/st01apptechlovese/st01.app.techlove.se/wp-content/plugins/wp-graphql/wp-graphql.php(81): graphql_init_appsero_telemetry() #1 /home/st01apptechlovese/st01.app.techlove.se/wp-admin/includes/plugin.php(2314): include_once('...') #2 /home/st01apptechlovese/st01.app.techlove.se/wp-admin/plugins.php(192): plugin_sandbox_scrape() #3 {main} thrown in /home/st01apptechlovese/st01.app.techlove.se/wp-content/plugins/wp-graphql/wp-graphql.php on line 78


Steps to reproduce

  1. Select the plugin from admin page i Wordpress
  2. In Plugins i found the plugin by name WP GraphQl and installed it.
  3. After installation I tried to ACTIVATE the plugin
  4. And then the error message above apears..

Additional context

Plugins Installed:
Advanced Custom Field Pro
All-In_one WP Migration
Custom Post Type UI
Duplicate Page
Oh My SVG
Rest API Feature Image
WP Maximum Upload File Size
WP-Rest-API V2 Menus
Yoast

WPGraphQL Version

1.12.0

WordPress Version

6.1

PHP Version

8

Additional enviornment details

Skärmavbild 2022-11-01 kl  16 54 22

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

Labels

scope: dependenciesManaging, updating, or removing dependenciesstatus: in progressCurrently being worked ontype: bugIssue that causes incorrect or unexpected behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions