Skip to content

Fatal error message when activating plugin other than Otter #147

@rodica-andronache

Description

@rodica-andronache

Description

When you have Neve FSE, and try to activate another plugin other than Otter, you get this message "Plugin could not be activated because it triggered a fatal error."

Annotation on 2024-09-04 at 13-01-00

Step-by-step reproduction instructions

  1. Install Neve FSE
  2. Try to install and activate a plugin, other than Otter -> the message "Plugin could not be activated because it triggered a fatal error." appears even though the plugin gets activated.

Screenshots, screen recording, code snippet or Help Scout ticket

https://wordpress.org/support/topic/error-when-activating-plugin-49/

The user suggested to change this:

add_action( 'activated_plugin', 'after_otter_activation' );

to:
add_action( 'activated_plugin', array( $this, 'after_otter_activation' ) );

https://vertis.d.pr/v/CLJKaO

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Assignees

Labels

Priority-HighExpected resolution time - up to 2 business days.bugThis label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions