Support » Plugin: All push notification for WP » Unable to Install

  • Hi,
    I installed your plugin, i get this error:

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

    I’m using the latest version of wordpress. Please help. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gtlwpdev


    Hello ,

    Thank you for your feedback. We have fixed that plugin dynamic path issue. You can download the new version of our plugin and check.

    – Please make sure that you will add android gcm/fcm key and ios certificate properly from add setting page.

    The os_type and device_token parameters need to be passed as Request headers in your login API, as well as in your register and update use API.

    You can check the below link for how to pass the parameters in request headers from android app.–net-8039

    When android developer call for login API, register API and update user API for your Application, He/She must pass the os_type and device_token parameters in API request headers always. As because the user’s device token may vary as per his mobile devices .

    Once you passed those request headers in your API you can then check in your database that in ‘all_pushnotification_token’ Table the device token and os type has automatically inserted.


    -If you are using the plugin and found it to be useful in your projects, We would urge you to give us rating and review, it will help us making plugin more effective with future releases.

    Login to your server and change the file under your plugin directory
    change lines 2 and 3 from:

    require_once '/class-pushnotification-android.php';
     require_once '/class-pushnotification-ios.php';


    require_once plugin_dir_path(__FILE__) . 'class-pushnotification-android.php';
     require_once plugin_dir_path(__FILE__) . 'class-pushnotification-ios.php';
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to Install’ is closed to new replies.