Support » Plugin: Block, Suspend, Report for BuddyPress » Fatal Error on Activation

  • Hi,

    I’m getting a following error when activating a plugin.
    “Plugin could not be activated because it triggered a fatal error.”

    However, plugin is installed successfully. I have tried deleting a plugin completely and reinstalled it again, still it didn’t resolved the issue.

    Any solution or help would be appreciated.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Shaun

    (@shaunj)

    Hi Ben, thanks for letting me know about this.

    I have tried plugin version 3.1.3 and 3.1.4 both of them and unfortunately they didn’t worked.

    However, when activating the 3.1.3 version I was able to see the following fatal error:

    Fatal error: Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/bp-toolkit/admin/class-bp-toolkit-admin.php:348 Stack trace: #0 /wp-content/plugins/bp-toolkit/includes/class-bp-toolkit-activator.php(61): BP_Toolkit_Admin->force_add_report_caps() #1 /wp-content/plugins/bp-toolkit/bp-toolkit.php(102): BP_Toolkit_Activator::activate() #2 /wp-includes/class-wp-hook.php(287): activate_bp_toolkit(”) #3 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /wp-admin/plugins.php(193): do_action(‘activate_bp-too…’) #6 {main} thrown in /wp-content/plugins/bp-toolkit/admin/class-bp-toolkit-admin.php on line 348

    And with 3.1.4 version, I got the following Fatal errors:
    Fatal error: Out of memory (allocated 412098560) (tried to allocate 20480 bytes) in /wp-includes/meta.php on line 1078

    Fatal error: Out of memory (allocated 412098560) (tried to allocate 20480 bytes) in /wp-includes/plugin.php on line 472

    I hope they will help you resolve the issue.

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @shaunj,

    It was worth a try! The longer error was solved in 3.1.4, so we are back to your server having memory issues.

    Might be worth a read of this topic I found, as unfortunately I expect your error will continue.

    https://wordpress.org/support/topic/out-of-memory-error-16/.

    Best of luck with it.

    Ben

    Thread Starter Shaun

    (@shaunj)

    Hi Ben,

    Unfortunately increasing the memory limits is still solving the issue. There must be something else which is causing this issue.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Fatal Error on Activation’ is closed to new replies.