• Greetings people of Earth.

    I cannot install your plugin – message as follows:

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

    ( ! ) Fatal error: Uncaught Error: Call to a member function add_cap() on null in xxx/wp-content/plugins/post-smtp/Postman/PostmanInstaller.php on line 92
    ( ! ) Error: Call to a member function add_cap() on null in xxx/wp-content/plugins/post-smtp/Postman/PostmanInstaller.php on line 92
    Call Stack
    # Time Memory Function Location
    1 0.0000 366184 {main}( ) …/plugins.php:0
    2 0.3843 20613664 do_action( ) …/plugins.php:174
    3 0.3843 20614040 WP_Hook->do_action( ) …/plugin.php:453
    4 0.3843 20614040 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    5 0.3843 20615168 Postman->on_activation( ) …/class-wp-hook.php:286
    6 0.3843 20681512 PostmanInstaller->activatePostman( ) …/Postman.php:227
    7 0.4252 24008736 PostmanInstaller->addCapability( ) …/PostmanInstaller.php:36

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Sorry for the inconvenience.

    It seems you have very limited role access to the site. Please make sure and upgrade your role so you can manage the plugin’s settings.

    Thread Starter johnk12

    (@johnk12)

    I was Super Admin. Administrator on that site. Maybe multisite issue.

    Thread Starter johnk12

    (@johnk12)

    Just FYI, I tried latest version. Same issue.

    ( ! ) Fatal error: Uncaught Error: Call to a member function add_cap() on null in xxx/html/wp-content/plugins/post-smtp/Postman/PostmanInstaller.php on line 92
    ( ! ) Error: Call to a member function add_cap() on null in xxx/html/wp-content/plugins/post-smtp/Postman/PostmanInstaller.php on line 92
    Call Stack
    # Time Memory Function Location
    1 0.0012 504088 {main}( ) …/plugins.php:0
    2 0.7525 22295872 do_action( ) …/plugins.php:180
    3 0.7525 22296248 WP_Hook->do_action( ) …/plugin.php:453
    4 0.7525 22296248 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    5 0.7525 22297376 Postman->on_activation( ) …/class-wp-hook.php:286
    6 0.7528 22338976 PostmanInstaller->activatePostman( ) …/Postman.php:227
    7 0.7896 25653712 PostmanInstaller->addCapability( ) …/PostmanInstaller.php:36

    Hi

    It’s a multisite installation?

    Thread Starter johnk12

    (@johnk12)

    Yes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.